public ContainsUnspentTx ( UInt256 txHash ) : bool | ||
txHash | UInt256 | |
return | 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;
}
}