OSDN Git Service

Merge pull request #201 from Bytom/v0.1
[bytom/vapor.git] / claim / rpc / claim_tx.go
diff --git a/claim/rpc/claim_tx.go b/claim/rpc/claim_tx.go
deleted file mode 100644 (file)
index e89113c..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-package rpc
-
-import (
-       "context"
-
-       chainjson "github.com/vapor/encoding/json"
-)
-
-type ClaimTxParam struct {
-       Password     string               `json:"password"`
-       RawTx        string               `json:"raw_transaction"`
-       BlockHeader  string               `json:"block_header"`
-       TxHashes     []chainjson.HexBytes `json:"tx_hashes"`
-       StatusHashes []chainjson.HexBytes `json:"status_hashes"`
-       Flags        []uint32             `json:"flags"`
-       MatchedTxIDs []chainjson.HexBytes `json:"matched_tx_ids"`
-       ClaimScript  chainjson.HexBytes   `json:"claim_script"`
-}
-
-type ClaimTx interface {
-       ClaimPeginTx(ctx context.Context) (interface{}, error)
-       ClaimContractPeginTx(ctx context.Context) (interface{}, error)
-}