OSDN Git Service

Thanos did someting
[bytom/vapor.git] / protocol / bc / retirement.go
diff --git a/protocol/bc/retirement.go b/protocol/bc/retirement.go
deleted file mode 100644 (file)
index de1e827..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-package bc
-
-import "io"
-
-// Retirement is for the permanent removal of some value from a
-// blockchain. The value it contains can never be obtained by later
-// entries. Retirement satisfies the Entry interface.
-
-func (Retirement) typ() string { return "retirement1" }
-func (r *Retirement) writeForHash(w io.Writer) {
-       mustWriteForHash(w, r.Source)
-}
-
-// NewRetirement creates a new Retirement.
-func NewRetirement(source *ValueSource, ordinal uint64) *Retirement {
-       return &Retirement{
-               Source:  source,
-               Ordinal: ordinal,
-       }
-}