Struct UTXO
The structure of spendable transaction output
struct UTXO
;
Fields
Name | Type | Description |
---|---|---|
output
|
Output | Unspend transaction output |
unlock_height
|
ulong | Height of the block to be unlock |
Methods
Name | Description |
---|---|
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. |