3 // NewUtxoEntry will create a new utxo entry
4 func NewUtxoEntry(isCoinBase bool, blockHeight uint64, spent bool) *UtxoEntry {
6 IsCoinBase: isCoinBase,
7 BlockHeight: blockHeight,
12 // SpendOutput marks the output at the provided index as spent
13 func (entry *UtxoEntry) SpendOutput() {
17 // UnspendOutput marks the output at the provided index as unspent
18 func (entry *UtxoEntry) UnspendOutput() {