Function UTXOCache.findUTXO

Get an UTXO, does not return double spend.

bool findUTXO (
  in ref const(geod24.bitblob.BitBlob!(64L)) utxo,
  out UTXO value
) nothrow @safe;

Parameters

NameDescription
hash the hash of the UTXO (hashMulti(tx_hash, index))
output will contain the UTXO if found

Return

Return true if the UTXO was found