OSDN Git Service

Thanos did someting
[bytom/vapor.git] / database / storage / utxo_entry.go
diff --git a/database/storage/utxo_entry.go b/database/storage/utxo_entry.go
deleted file mode 100644 (file)
index 33637d4..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-package storage
-
-// NewUtxoEntry will create a new utxo entry
-func NewUtxoEntry(isCoinBase bool, blockHeight uint64, spent bool) *UtxoEntry {
-       return &UtxoEntry{
-               IsCoinBase:  isCoinBase,
-               BlockHeight: blockHeight,
-               Spent:       spent,
-       }
-}
-
-// SpendOutput marks the output at the provided index as spent
-func (entry *UtxoEntry) SpendOutput() {
-       entry.Spent = true
-}
-
-// UnspendOutput marks the output at the provided index as unspent
-func (entry *UtxoEntry) UnspendOutput() {
-       entry.Spent = false
-}