OSDN Git Service

Merge pull request #201 from Bytom/v0.1
[bytom/vapor.git] / claim / rpc / main_tx.go
diff --git a/claim/rpc/main_tx.go b/claim/rpc/main_tx.go
deleted file mode 100644 (file)
index 245ed4d..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-package rpc
-
-import (
-       chainjson "github.com/vapor/encoding/json"
-)
-
-type MainTxSignParam struct {
-       Xprv        string             `json:"xprv"`
-       XPub        string             `json:"xpub"`
-       Txs         chainjson.HexBytes `json:"transaction"`
-       ClaimScript chainjson.HexBytes `json:"claim_script"`
-}
-
-type MainTxParam struct {
-       Utxo           []byte             `json:"utxo"`
-       Tx             string             `json:"raw_transaction"`
-       Pubs           []string           `json:"pubs"`
-       ControlProgram string             `json:"control_program"`
-       ClaimScript    chainjson.HexBytes `json:"claim_script"`
-}