Exemple #1
0
        public bool RemoveCache(BoundPeer peer)
        {
            KBucket bucket = BucketOf(peer);

            return(bucket.ReplacementCache.TryRemove(peer, out var dateTimeOffset));
        }
        internal bool RemoveCache(BoundPeer peer)
        {
            KBucket bucket = BucketOf(peer);

            return(bucket.ReplacementCache.TryRemove(peer, out var _));
        }