OSDN Git Service

add dpos consensus
[bytom/vapor.git] / protocol / bc / types / spend.go
index 8642d35..01d00f3 100644 (file)
@@ -4,6 +4,16 @@ import (
        "github.com/vapor/protocol/bc"
 )
 
+type TxType uint8
+
+const (
+       Binary TxType = iota
+       LoginCandidate
+       LogoutCandidate
+       Delegate
+       UnDelegate
+)
+
 // SpendInput satisfies the TypedInput interface and represents a spend transaction.
 type SpendInput struct {
        SpendCommitmentSuffix []byte   // The unconsumed suffix of the output commitment