BitSharp.Core.Domain.ChainState.ContainsUnspentTx C# (CSharp) Méthode

ContainsUnspentTx() public méthode

public ContainsUnspentTx ( UInt256 txHash ) : bool
txHash UInt256
Résultat bool
        public bool ContainsUnspentTx(UInt256 txHash)
        {
            using (var handle = this.cursorCache.TakeItem())
            {
                var cursor = handle.Item.Item;

                UnspentTx unspentTx;
                return cursor.TryGetUnspentTx(txHash, out unspentTx)
                    && !unspentTx.IsFullySpent;
            }
        }