OSDN Git Service

feature: add cross-chain input (#61)
[bytom/vapor.git] / protocol / bc / types / spend.go
index 01d00f3..15b2b69 100644 (file)
@@ -4,19 +4,9 @@ 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
+       SpendCommitmentSuffix []byte   // The unconsumed suffix of the spend commitment
        Arguments             [][]byte // Witness
        SpendCommitment
 }