4 NormalUTXOType uint32 = iota
10 // NewUtxoEntry will create a new utxo entry
11 func NewUtxoEntry(utxoType uint32, blockHeight uint64, spent bool) *UtxoEntry {
14 BlockHeight: blockHeight,
19 // SpendOutput marks the output at the provided index as spent
20 func (entry *UtxoEntry) SpendOutput() {
24 // UnspendOutput marks the output at the provided index as unspent
25 func (entry *UtxoEntry) UnspendOutput() {