Struct UTXO

The structure of spendable transaction output

struct UTXO ;

Fields

NameTypeDescription
output OutputUnspend transaction output
unlock_height ulongHeight of the block to be unlock

Methods

NameDescription
getHash (hash, index) Get the combined hash of the previous hash and index. This makes sure the index is always of the same type, as mixing different-sized uint/ulong would create different hashes.