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; } }