예제 #1
0
        /// <inheritdoc cref="IStore"/>
        public bool ContainsBlock(HashDigest <SHA256> blockHash)
        {
            if (_blockCache.ContainsKey(blockHash))
            {
                return(true);
            }

            return(_store.ContainsBlock(blockHash));
        }