Documentation
¶
Index ¶
- Variables
- func RegisterSwapLibServer(s *grpc.Server, srv SwapLibServer)
- type AuditRequest
- func (*AuditRequest) Descriptor() ([]byte, []int)
- func (m *AuditRequest) GetCoin() COIN
- func (m *AuditRequest) GetContract() string
- func (m *AuditRequest) GetContractTx() string
- func (m *AuditRequest) GetTestnet() bool
- func (*AuditRequest) ProtoMessage()
- func (m *AuditRequest) Reset()
- func (m *AuditRequest) String() string
- func (m *AuditRequest) XXX_DiscardUnknown()
- func (m *AuditRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuditRequest) XXX_Merge(src proto.Message)
- func (m *AuditRequest) XXX_Size() int
- func (m *AuditRequest) XXX_Unmarshal(b []byte) error
- type AuditResponse
- func (*AuditResponse) Descriptor() ([]byte, []int)
- func (m *AuditResponse) GetContractAddress() string
- func (m *AuditResponse) GetContractAmount() int64
- func (m *AuditResponse) GetContractSecrethash() string
- func (m *AuditResponse) GetErrorno() ERRNO
- func (m *AuditResponse) GetErrstr() string
- func (m *AuditResponse) GetRecipientAddress() string
- func (m *AuditResponse) GetRefundAddress() string
- func (m *AuditResponse) GetRefundLocktime() int64
- func (*AuditResponse) ProtoMessage()
- func (m *AuditResponse) Reset()
- func (m *AuditResponse) String() string
- func (m *AuditResponse) XXX_DiscardUnknown()
- func (m *AuditResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuditResponse) XXX_Merge(src proto.Message)
- func (m *AuditResponse) XXX_Size() int
- func (m *AuditResponse) XXX_Unmarshal(b []byte) error
- type COIN
- type ERRNO
- type ExtractSecretRequest
- func (*ExtractSecretRequest) Descriptor() ([]byte, []int)
- func (m *ExtractSecretRequest) GetCoin() COIN
- func (m *ExtractSecretRequest) GetCpRedemptionTx() string
- func (m *ExtractSecretRequest) GetSecrethash() string
- func (m *ExtractSecretRequest) GetTestnet() bool
- func (*ExtractSecretRequest) ProtoMessage()
- func (m *ExtractSecretRequest) Reset()
- func (m *ExtractSecretRequest) String() string
- func (m *ExtractSecretRequest) XXX_DiscardUnknown()
- func (m *ExtractSecretRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExtractSecretRequest) XXX_Merge(src proto.Message)
- func (m *ExtractSecretRequest) XXX_Size() int
- func (m *ExtractSecretRequest) XXX_Unmarshal(b []byte) error
- type ExtractSecretResponse
- func (*ExtractSecretResponse) Descriptor() ([]byte, []int)
- func (m *ExtractSecretResponse) GetErrorno() ERRNO
- func (m *ExtractSecretResponse) GetErrstr() string
- func (m *ExtractSecretResponse) GetSecret() string
- func (*ExtractSecretResponse) ProtoMessage()
- func (m *ExtractSecretResponse) Reset()
- func (m *ExtractSecretResponse) String() string
- func (m *ExtractSecretResponse) XXX_DiscardUnknown()
- func (m *ExtractSecretResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExtractSecretResponse) XXX_Merge(src proto.Message)
- func (m *ExtractSecretResponse) XXX_Size() int
- func (m *ExtractSecretResponse) XXX_Unmarshal(b []byte) error
- type GetTxRequest
- func (*GetTxRequest) Descriptor() ([]byte, []int)
- func (m *GetTxRequest) GetCerts() string
- func (m *GetTxRequest) GetCoin() COIN
- func (m *GetTxRequest) GetHostport() string
- func (m *GetTxRequest) GetRpcpass() string
- func (m *GetTxRequest) GetRpcuser() string
- func (m *GetTxRequest) GetTestnet() bool
- func (m *GetTxRequest) GetTxid() string
- func (m *GetTxRequest) GetWpass() string
- func (*GetTxRequest) ProtoMessage()
- func (m *GetTxRequest) Reset()
- func (m *GetTxRequest) String() string
- func (m *GetTxRequest) XXX_DiscardUnknown()
- func (m *GetTxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetTxRequest) XXX_Merge(src proto.Message)
- func (m *GetTxRequest) XXX_Size() int
- func (m *GetTxRequest) XXX_Unmarshal(b []byte) error
- type GetTxResponse
- func (*GetTxResponse) Descriptor() ([]byte, []int)
- func (m *GetTxResponse) GetBlockhash() string
- func (m *GetTxResponse) GetBlockindex() int32
- func (m *GetTxResponse) GetBlocktime() uint64
- func (m *GetTxResponse) GetConfirmations() uint64
- func (m *GetTxResponse) GetErrorno() ERRNO
- func (m *GetTxResponse) GetErrstr() string
- func (m *GetTxResponse) GetHex() string
- func (m *GetTxResponse) GetTime() uint64
- func (m *GetTxResponse) GetTimeReceived() uint64
- func (*GetTxResponse) ProtoMessage()
- func (m *GetTxResponse) Reset()
- func (m *GetTxResponse) String() string
- func (m *GetTxResponse) XXX_DiscardUnknown()
- func (m *GetTxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetTxResponse) XXX_Merge(src proto.Message)
- func (m *GetTxResponse) XXX_Size() int
- func (m *GetTxResponse) XXX_Unmarshal(b []byte) error
- type InitiateRequest
- func (*InitiateRequest) Descriptor() ([]byte, []int)
- func (m *InitiateRequest) GetAmount() int64
- func (m *InitiateRequest) GetCerts() string
- func (m *InitiateRequest) GetCoin() COIN
- func (m *InitiateRequest) GetHostport() string
- func (m *InitiateRequest) GetPartAddress() string
- func (m *InitiateRequest) GetRpcpass() string
- func (m *InitiateRequest) GetRpcuser() string
- func (m *InitiateRequest) GetSecrethash() string
- func (m *InitiateRequest) GetTestnet() bool
- func (m *InitiateRequest) GetWpass() string
- func (*InitiateRequest) ProtoMessage()
- func (m *InitiateRequest) Reset()
- func (m *InitiateRequest) String() string
- func (m *InitiateRequest) XXX_DiscardUnknown()
- func (m *InitiateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InitiateRequest) XXX_Merge(src proto.Message)
- func (m *InitiateRequest) XXX_Size() int
- func (m *InitiateRequest) XXX_Unmarshal(b []byte) error
- type InitiateResponse
- func (*InitiateResponse) Descriptor() ([]byte, []int)
- func (m *InitiateResponse) GetContract() string
- func (m *InitiateResponse) GetContractP2Sh() string
- func (m *InitiateResponse) GetContractTx() string
- func (m *InitiateResponse) GetContractTxHash() string
- func (m *InitiateResponse) GetErrorno() ERRNO
- func (m *InitiateResponse) GetErrstr() string
- func (m *InitiateResponse) GetFee() int64
- func (m *InitiateResponse) GetFeerate() float32
- func (m *InitiateResponse) GetLocktime() int64
- func (*InitiateResponse) ProtoMessage()
- func (m *InitiateResponse) Reset()
- func (m *InitiateResponse) String() string
- func (m *InitiateResponse) XXX_DiscardUnknown()
- func (m *InitiateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InitiateResponse) XXX_Merge(src proto.Message)
- func (m *InitiateResponse) XXX_Size() int
- func (m *InitiateResponse) XXX_Unmarshal(b []byte) error
- type NewAddressRequest
- func (*NewAddressRequest) Descriptor() ([]byte, []int)
- func (m *NewAddressRequest) GetCerts() string
- func (m *NewAddressRequest) GetCoin() COIN
- func (m *NewAddressRequest) GetHostport() string
- func (m *NewAddressRequest) GetRpcpass() string
- func (m *NewAddressRequest) GetRpcuser() string
- func (m *NewAddressRequest) GetTestnet() bool
- func (m *NewAddressRequest) GetWpass() string
- func (*NewAddressRequest) ProtoMessage()
- func (m *NewAddressRequest) Reset()
- func (m *NewAddressRequest) String() string
- func (m *NewAddressRequest) XXX_DiscardUnknown()
- func (m *NewAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NewAddressRequest) XXX_Merge(src proto.Message)
- func (m *NewAddressRequest) XXX_Size() int
- func (m *NewAddressRequest) XXX_Unmarshal(b []byte) error
- type NewAddressResponse
- func (*NewAddressResponse) Descriptor() ([]byte, []int)
- func (m *NewAddressResponse) GetAddress() string
- func (m *NewAddressResponse) GetErrorno() ERRNO
- func (m *NewAddressResponse) GetErrstr() string
- func (*NewAddressResponse) ProtoMessage()
- func (m *NewAddressResponse) Reset()
- func (m *NewAddressResponse) String() string
- func (m *NewAddressResponse) XXX_DiscardUnknown()
- func (m *NewAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NewAddressResponse) XXX_Merge(src proto.Message)
- func (m *NewAddressResponse) XXX_Size() int
- func (m *NewAddressResponse) XXX_Unmarshal(b []byte) error
- type ParticipateRequest
- func (*ParticipateRequest) Descriptor() ([]byte, []int)
- func (m *ParticipateRequest) GetAmount() int64
- func (m *ParticipateRequest) GetCerts() string
- func (m *ParticipateRequest) GetCoin() COIN
- func (m *ParticipateRequest) GetHostport() string
- func (m *ParticipateRequest) GetInitAddress() string
- func (m *ParticipateRequest) GetRpcpass() string
- func (m *ParticipateRequest) GetRpcuser() string
- func (m *ParticipateRequest) GetSecrethash() string
- func (m *ParticipateRequest) GetTestnet() bool
- func (m *ParticipateRequest) GetWpass() string
- func (*ParticipateRequest) ProtoMessage()
- func (m *ParticipateRequest) Reset()
- func (m *ParticipateRequest) String() string
- func (m *ParticipateRequest) XXX_DiscardUnknown()
- func (m *ParticipateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ParticipateRequest) XXX_Merge(src proto.Message)
- func (m *ParticipateRequest) XXX_Size() int
- func (m *ParticipateRequest) XXX_Unmarshal(b []byte) error
- type ParticipateResponse
- func (*ParticipateResponse) Descriptor() ([]byte, []int)
- func (m *ParticipateResponse) GetContract() string
- func (m *ParticipateResponse) GetContractP2Sh() string
- func (m *ParticipateResponse) GetContractTx() string
- func (m *ParticipateResponse) GetContractTxHash() string
- func (m *ParticipateResponse) GetErrorno() ERRNO
- func (m *ParticipateResponse) GetErrstr() string
- func (m *ParticipateResponse) GetFee() int64
- func (m *ParticipateResponse) GetFeerate() float32
- func (m *ParticipateResponse) GetLocktime() int64
- func (*ParticipateResponse) ProtoMessage()
- func (m *ParticipateResponse) Reset()
- func (m *ParticipateResponse) String() string
- func (m *ParticipateResponse) XXX_DiscardUnknown()
- func (m *ParticipateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ParticipateResponse) XXX_Merge(src proto.Message)
- func (m *ParticipateResponse) XXX_Size() int
- func (m *ParticipateResponse) XXX_Unmarshal(b []byte) error
- type PingWalletRPCRequest
- func (*PingWalletRPCRequest) Descriptor() ([]byte, []int)
- func (m *PingWalletRPCRequest) GetCerts() string
- func (m *PingWalletRPCRequest) GetCoin() COIN
- func (m *PingWalletRPCRequest) GetHostport() string
- func (m *PingWalletRPCRequest) GetRpcpass() string
- func (m *PingWalletRPCRequest) GetRpcuser() string
- func (m *PingWalletRPCRequest) GetTestnet() bool
- func (m *PingWalletRPCRequest) GetWpass() string
- func (*PingWalletRPCRequest) ProtoMessage()
- func (m *PingWalletRPCRequest) Reset()
- func (m *PingWalletRPCRequest) String() string
- func (m *PingWalletRPCRequest) XXX_DiscardUnknown()
- func (m *PingWalletRPCRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PingWalletRPCRequest) XXX_Merge(src proto.Message)
- func (m *PingWalletRPCRequest) XXX_Size() int
- func (m *PingWalletRPCRequest) XXX_Unmarshal(b []byte) error
- type PingWalletRPCResponse
- func (*PingWalletRPCResponse) Descriptor() ([]byte, []int)
- func (m *PingWalletRPCResponse) GetErrorno() ERRNO
- func (m *PingWalletRPCResponse) GetErrstr() string
- func (*PingWalletRPCResponse) ProtoMessage()
- func (m *PingWalletRPCResponse) Reset()
- func (m *PingWalletRPCResponse) String() string
- func (m *PingWalletRPCResponse) XXX_DiscardUnknown()
- func (m *PingWalletRPCResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PingWalletRPCResponse) XXX_Merge(src proto.Message)
- func (m *PingWalletRPCResponse) XXX_Size() int
- func (m *PingWalletRPCResponse) XXX_Unmarshal(b []byte) error
- type PublishRequest
- func (*PublishRequest) Descriptor() ([]byte, []int)
- func (m *PublishRequest) GetCerts() string
- func (m *PublishRequest) GetCoin() COIN
- func (m *PublishRequest) GetHostport() string
- func (m *PublishRequest) GetRpcpass() string
- func (m *PublishRequest) GetRpcuser() string
- func (m *PublishRequest) GetTestnet() bool
- func (m *PublishRequest) GetTx() string
- func (m *PublishRequest) GetWpass() string
- func (*PublishRequest) ProtoMessage()
- func (m *PublishRequest) Reset()
- func (m *PublishRequest) String() string
- func (m *PublishRequest) XXX_DiscardUnknown()
- func (m *PublishRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PublishRequest) XXX_Merge(src proto.Message)
- func (m *PublishRequest) XXX_Size() int
- func (m *PublishRequest) XXX_Unmarshal(b []byte) error
- type PublishResponse
- func (*PublishResponse) Descriptor() ([]byte, []int)
- func (m *PublishResponse) GetErrorno() ERRNO
- func (m *PublishResponse) GetErrstr() string
- func (m *PublishResponse) GetTxHash() string
- func (*PublishResponse) ProtoMessage()
- func (m *PublishResponse) Reset()
- func (m *PublishResponse) String() string
- func (m *PublishResponse) XXX_DiscardUnknown()
- func (m *PublishResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PublishResponse) XXX_Merge(src proto.Message)
- func (m *PublishResponse) XXX_Size() int
- func (m *PublishResponse) XXX_Unmarshal(b []byte) error
- type RedeemRequest
- func (*RedeemRequest) Descriptor() ([]byte, []int)
- func (m *RedeemRequest) GetCerts() string
- func (m *RedeemRequest) GetCoin() COIN
- func (m *RedeemRequest) GetContract() string
- func (m *RedeemRequest) GetContractTx() string
- func (m *RedeemRequest) GetHostport() string
- func (m *RedeemRequest) GetRpcpass() string
- func (m *RedeemRequest) GetRpcuser() string
- func (m *RedeemRequest) GetSecret() string
- func (m *RedeemRequest) GetTestnet() bool
- func (m *RedeemRequest) GetWpass() string
- func (*RedeemRequest) ProtoMessage()
- func (m *RedeemRequest) Reset()
- func (m *RedeemRequest) String() string
- func (m *RedeemRequest) XXX_DiscardUnknown()
- func (m *RedeemRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RedeemRequest) XXX_Merge(src proto.Message)
- func (m *RedeemRequest) XXX_Size() int
- func (m *RedeemRequest) XXX_Unmarshal(b []byte) error
- type RedeemResponse
- func (*RedeemResponse) Descriptor() ([]byte, []int)
- func (m *RedeemResponse) GetErrorno() ERRNO
- func (m *RedeemResponse) GetErrstr() string
- func (m *RedeemResponse) GetFee() int64
- func (m *RedeemResponse) GetFeerate() float32
- func (m *RedeemResponse) GetRedeemTx() string
- func (m *RedeemResponse) GetRedeemTxHash() string
- func (*RedeemResponse) ProtoMessage()
- func (m *RedeemResponse) Reset()
- func (m *RedeemResponse) String() string
- func (m *RedeemResponse) XXX_DiscardUnknown()
- func (m *RedeemResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RedeemResponse) XXX_Merge(src proto.Message)
- func (m *RedeemResponse) XXX_Size() int
- func (m *RedeemResponse) XXX_Unmarshal(b []byte) error
- type RefundRequest
- func (*RefundRequest) Descriptor() ([]byte, []int)
- func (m *RefundRequest) GetCerts() string
- func (m *RefundRequest) GetCoin() COIN
- func (m *RefundRequest) GetContract() string
- func (m *RefundRequest) GetContractTx() string
- func (m *RefundRequest) GetHostport() string
- func (m *RefundRequest) GetRpcpass() string
- func (m *RefundRequest) GetRpcuser() string
- func (m *RefundRequest) GetTestnet() bool
- func (m *RefundRequest) GetWpass() string
- func (*RefundRequest) ProtoMessage()
- func (m *RefundRequest) Reset()
- func (m *RefundRequest) String() string
- func (m *RefundRequest) XXX_DiscardUnknown()
- func (m *RefundRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RefundRequest) XXX_Merge(src proto.Message)
- func (m *RefundRequest) XXX_Size() int
- func (m *RefundRequest) XXX_Unmarshal(b []byte) error
- type RefundResponse
- func (*RefundResponse) Descriptor() ([]byte, []int)
- func (m *RefundResponse) GetErrorno() ERRNO
- func (m *RefundResponse) GetErrstr() string
- func (m *RefundResponse) GetFee() int64
- func (m *RefundResponse) GetFeerate() float32
- func (m *RefundResponse) GetRefundTx() string
- func (m *RefundResponse) GetRefundTxHash() string
- func (*RefundResponse) ProtoMessage()
- func (m *RefundResponse) Reset()
- func (m *RefundResponse) String() string
- func (m *RefundResponse) XXX_DiscardUnknown()
- func (m *RefundResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RefundResponse) XXX_Merge(src proto.Message)
- func (m *RefundResponse) XXX_Size() int
- func (m *RefundResponse) XXX_Unmarshal(b []byte) error
- type SwapLibClient
- type SwapLibServer
Constants ¶
This section is empty.
Variables ¶
View Source
var COIN_name = map[int32]string{
0: "BTC",
1: "LTC",
2: "XZC",
3: "DCR",
}
View Source
var COIN_value = map[string]int32{
"BTC": 0,
"LTC": 1,
"XZC": 2,
"DCR": 3,
}
View Source
var ERRNO_name = map[int32]string{
0: "OK",
1: "LIBS",
2: "UNSUPPORTED",
}
View Source
var ERRNO_value = map[string]int32{
"OK": 0,
"LIBS": 1,
"UNSUPPORTED": 2,
}
Functions ¶
func RegisterSwapLibServer ¶
func RegisterSwapLibServer(s *grpc.Server, srv SwapLibServer)
Types ¶
type AuditRequest ¶
type AuditRequest struct { Coin COIN `protobuf:"varint,1,opt,name=coin,proto3,enum=protobind.COIN" json:"coin,omitempty"` Testnet bool `protobuf:"varint,2,opt,name=testnet,proto3" json:"testnet,omitempty"` Contract string `protobuf:"bytes,5,opt,name=contract,proto3" json:"contract,omitempty"` ContractTx string `protobuf:"bytes,6,opt,name=contract_tx,json=contractTx,proto3" json:"contract_tx,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AuditRequest) Descriptor ¶
func (*AuditRequest) Descriptor() ([]byte, []int)
func (*AuditRequest) GetCoin ¶
func (m *AuditRequest) GetCoin() COIN
func (*AuditRequest) GetContract ¶
func (m *AuditRequest) GetContract() string
func (*AuditRequest) GetContractTx ¶
func (m *AuditRequest) GetContractTx() string
func (*AuditRequest) GetTestnet ¶
func (m *AuditRequest) GetTestnet() bool
func (*AuditRequest) ProtoMessage ¶
func (*AuditRequest) ProtoMessage()
func (*AuditRequest) Reset ¶
func (m *AuditRequest) Reset()
func (*AuditRequest) String ¶
func (m *AuditRequest) String() string
func (*AuditRequest) XXX_DiscardUnknown ¶
func (m *AuditRequest) XXX_DiscardUnknown()
func (*AuditRequest) XXX_Marshal ¶
func (m *AuditRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuditRequest) XXX_Merge ¶
func (m *AuditRequest) XXX_Merge(src proto.Message)
func (*AuditRequest) XXX_Size ¶
func (m *AuditRequest) XXX_Size() int
func (*AuditRequest) XXX_Unmarshal ¶
func (m *AuditRequest) XXX_Unmarshal(b []byte) error
type AuditResponse ¶
type AuditResponse struct { ContractAmount int64 `protobuf:"varint,5,opt,name=contract_amount,json=contractAmount,proto3" json:"contract_amount,omitempty"` ContractAddress string `protobuf:"bytes,6,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` ContractSecrethash string `protobuf:"bytes,7,opt,name=contract_secrethash,json=contractSecrethash,proto3" json:"contract_secrethash,omitempty"` RecipientAddress string `protobuf:"bytes,8,opt,name=recipient_address,json=recipientAddress,proto3" json:"recipient_address,omitempty"` RefundAddress string `protobuf:"bytes,9,opt,name=refund_address,json=refundAddress,proto3" json:"refund_address,omitempty"` RefundLocktime int64 `protobuf:"varint,10,opt,name=refund_locktime,json=refundLocktime,proto3" json:"refund_locktime,omitempty"` Errorno ERRNO `protobuf:"varint,14,opt,name=errorno,proto3,enum=protobind.ERRNO" json:"errorno,omitempty"` Errstr string `protobuf:"bytes,15,opt,name=errstr,proto3" json:"errstr,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AuditResponse) Descriptor ¶
func (*AuditResponse) Descriptor() ([]byte, []int)
func (*AuditResponse) GetContractAddress ¶
func (m *AuditResponse) GetContractAddress() string
func (*AuditResponse) GetContractAmount ¶
func (m *AuditResponse) GetContractAmount() int64
func (*AuditResponse) GetContractSecrethash ¶
func (m *AuditResponse) GetContractSecrethash() string
func (*AuditResponse) GetErrorno ¶
func (m *AuditResponse) GetErrorno() ERRNO
func (*AuditResponse) GetErrstr ¶
func (m *AuditResponse) GetErrstr() string
func (*AuditResponse) GetRecipientAddress ¶
func (m *AuditResponse) GetRecipientAddress() string
func (*AuditResponse) GetRefundAddress ¶
func (m *AuditResponse) GetRefundAddress() string
func (*AuditResponse) GetRefundLocktime ¶
func (m *AuditResponse) GetRefundLocktime() int64
func (*AuditResponse) ProtoMessage ¶
func (*AuditResponse) ProtoMessage()
func (*AuditResponse) Reset ¶
func (m *AuditResponse) Reset()
func (*AuditResponse) String ¶
func (m *AuditResponse) String() string
func (*AuditResponse) XXX_DiscardUnknown ¶
func (m *AuditResponse) XXX_DiscardUnknown()
func (*AuditResponse) XXX_Marshal ¶
func (m *AuditResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuditResponse) XXX_Merge ¶
func (m *AuditResponse) XXX_Merge(src proto.Message)
func (*AuditResponse) XXX_Size ¶
func (m *AuditResponse) XXX_Size() int
func (*AuditResponse) XXX_Unmarshal ¶
func (m *AuditResponse) XXX_Unmarshal(b []byte) error
type ExtractSecretRequest ¶
type ExtractSecretRequest struct { Coin COIN `protobuf:"varint,1,opt,name=coin,proto3,enum=protobind.COIN" json:"coin,omitempty"` Testnet bool `protobuf:"varint,2,opt,name=testnet,proto3" json:"testnet,omitempty"` CpRedemptionTx string `protobuf:"bytes,5,opt,name=cp_redemption_tx,json=cpRedemptionTx,proto3" json:"cp_redemption_tx,omitempty"` Secrethash string `protobuf:"bytes,6,opt,name=secrethash,proto3" json:"secrethash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExtractSecretRequest) Descriptor ¶
func (*ExtractSecretRequest) Descriptor() ([]byte, []int)
func (*ExtractSecretRequest) GetCoin ¶
func (m *ExtractSecretRequest) GetCoin() COIN
func (*ExtractSecretRequest) GetCpRedemptionTx ¶
func (m *ExtractSecretRequest) GetCpRedemptionTx() string
func (*ExtractSecretRequest) GetSecrethash ¶
func (m *ExtractSecretRequest) GetSecrethash() string
func (*ExtractSecretRequest) GetTestnet ¶
func (m *ExtractSecretRequest) GetTestnet() bool
func (*ExtractSecretRequest) ProtoMessage ¶
func (*ExtractSecretRequest) ProtoMessage()
func (*ExtractSecretRequest) Reset ¶
func (m *ExtractSecretRequest) Reset()
func (*ExtractSecretRequest) String ¶
func (m *ExtractSecretRequest) String() string
func (*ExtractSecretRequest) XXX_DiscardUnknown ¶
func (m *ExtractSecretRequest) XXX_DiscardUnknown()
func (*ExtractSecretRequest) XXX_Marshal ¶
func (m *ExtractSecretRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExtractSecretRequest) XXX_Merge ¶
func (m *ExtractSecretRequest) XXX_Merge(src proto.Message)
func (*ExtractSecretRequest) XXX_Size ¶
func (m *ExtractSecretRequest) XXX_Size() int
func (*ExtractSecretRequest) XXX_Unmarshal ¶
func (m *ExtractSecretRequest) XXX_Unmarshal(b []byte) error
type ExtractSecretResponse ¶
type ExtractSecretResponse struct { Secret string `protobuf:"bytes,5,opt,name=secret,proto3" json:"secret,omitempty"` Errorno ERRNO `protobuf:"varint,14,opt,name=errorno,proto3,enum=protobind.ERRNO" json:"errorno,omitempty"` Errstr string `protobuf:"bytes,15,opt,name=errstr,proto3" json:"errstr,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExtractSecretResponse) Descriptor ¶
func (*ExtractSecretResponse) Descriptor() ([]byte, []int)
func (*ExtractSecretResponse) GetErrorno ¶
func (m *ExtractSecretResponse) GetErrorno() ERRNO
func (*ExtractSecretResponse) GetErrstr ¶
func (m *ExtractSecretResponse) GetErrstr() string
func (*ExtractSecretResponse) GetSecret ¶
func (m *ExtractSecretResponse) GetSecret() string
func (*ExtractSecretResponse) ProtoMessage ¶
func (*ExtractSecretResponse) ProtoMessage()
func (*ExtractSecretResponse) Reset ¶
func (m *ExtractSecretResponse) Reset()
func (*ExtractSecretResponse) String ¶
func (m *ExtractSecretResponse) String() string
func (*ExtractSecretResponse) XXX_DiscardUnknown ¶
func (m *ExtractSecretResponse) XXX_DiscardUnknown()
func (*ExtractSecretResponse) XXX_Marshal ¶
func (m *ExtractSecretResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExtractSecretResponse) XXX_Merge ¶
func (m *ExtractSecretResponse) XXX_Merge(src proto.Message)
func (*ExtractSecretResponse) XXX_Size ¶
func (m *ExtractSecretResponse) XXX_Size() int
func (*ExtractSecretResponse) XXX_Unmarshal ¶
func (m *ExtractSecretResponse) XXX_Unmarshal(b []byte) error
type GetTxRequest ¶
type GetTxRequest struct { Coin COIN `protobuf:"varint,1,opt,name=coin,proto3,enum=protobind.COIN" json:"coin,omitempty"` Testnet bool `protobuf:"varint,2,opt,name=testnet,proto3" json:"testnet,omitempty"` Hostport string `protobuf:"bytes,5,opt,name=hostport,proto3" json:"hostport,omitempty"` Rpcuser string `protobuf:"bytes,6,opt,name=rpcuser,proto3" json:"rpcuser,omitempty"` Rpcpass string `protobuf:"bytes,7,opt,name=rpcpass,proto3" json:"rpcpass,omitempty"` Wpass string `protobuf:"bytes,8,opt,name=wpass,proto3" json:"wpass,omitempty"` Certs string `protobuf:"bytes,9,opt,name=certs,proto3" json:"certs,omitempty"` Txid string `protobuf:"bytes,10,opt,name=txid,proto3" json:"txid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetTxRequest) Descriptor ¶
func (*GetTxRequest) Descriptor() ([]byte, []int)
func (*GetTxRequest) GetCerts ¶
func (m *GetTxRequest) GetCerts() string
func (*GetTxRequest) GetCoin ¶
func (m *GetTxRequest) GetCoin() COIN
func (*GetTxRequest) GetHostport ¶
func (m *GetTxRequest) GetHostport() string
func (*GetTxRequest) GetRpcpass ¶
func (m *GetTxRequest) GetRpcpass() string
func (*GetTxRequest) GetRpcuser ¶
func (m *GetTxRequest) GetRpcuser() string
func (*GetTxRequest) GetTestnet ¶
func (m *GetTxRequest) GetTestnet() bool
func (*GetTxRequest) GetTxid ¶
func (m *GetTxRequest) GetTxid() string
func (*GetTxRequest) GetWpass ¶
func (m *GetTxRequest) GetWpass() string
func (*GetTxRequest) ProtoMessage ¶
func (*GetTxRequest) ProtoMessage()
func (*GetTxRequest) Reset ¶
func (m *GetTxRequest) Reset()
func (*GetTxRequest) String ¶
func (m *GetTxRequest) String() string
func (*GetTxRequest) XXX_DiscardUnknown ¶
func (m *GetTxRequest) XXX_DiscardUnknown()
func (*GetTxRequest) XXX_Marshal ¶
func (m *GetTxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetTxRequest) XXX_Merge ¶
func (m *GetTxRequest) XXX_Merge(src proto.Message)
func (*GetTxRequest) XXX_Size ¶
func (m *GetTxRequest) XXX_Size() int
func (*GetTxRequest) XXX_Unmarshal ¶
func (m *GetTxRequest) XXX_Unmarshal(b []byte) error
type GetTxResponse ¶
type GetTxResponse struct { Confirmations uint64 `protobuf:"varint,5,opt,name=confirmations,proto3" json:"confirmations,omitempty"` Blockhash string `protobuf:"bytes,6,opt,name=blockhash,proto3" json:"blockhash,omitempty"` Blockindex int32 `protobuf:"varint,7,opt,name=blockindex,proto3" json:"blockindex,omitempty"` Blocktime uint64 `protobuf:"varint,8,opt,name=blocktime,proto3" json:"blocktime,omitempty"` Time uint64 `protobuf:"varint,9,opt,name=time,proto3" json:"time,omitempty"` TimeReceived uint64 `protobuf:"varint,10,opt,name=time_received,json=timeReceived,proto3" json:"time_received,omitempty"` Hex string `protobuf:"bytes,11,opt,name=hex,proto3" json:"hex,omitempty"` Errorno ERRNO `protobuf:"varint,14,opt,name=errorno,proto3,enum=protobind.ERRNO" json:"errorno,omitempty"` Errstr string `protobuf:"bytes,15,opt,name=errstr,proto3" json:"errstr,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetTxResponse) Descriptor ¶
func (*GetTxResponse) Descriptor() ([]byte, []int)
func (*GetTxResponse) GetBlockhash ¶
func (m *GetTxResponse) GetBlockhash() string
func (*GetTxResponse) GetBlockindex ¶
func (m *GetTxResponse) GetBlockindex() int32
func (*GetTxResponse) GetBlocktime ¶
func (m *GetTxResponse) GetBlocktime() uint64
func (*GetTxResponse) GetConfirmations ¶
func (m *GetTxResponse) GetConfirmations() uint64
func (*GetTxResponse) GetErrorno ¶
func (m *GetTxResponse) GetErrorno() ERRNO
func (*GetTxResponse) GetErrstr ¶
func (m *GetTxResponse) GetErrstr() string
func (*GetTxResponse) GetHex ¶
func (m *GetTxResponse) GetHex() string
func (*GetTxResponse) GetTime ¶
func (m *GetTxResponse) GetTime() uint64
func (*GetTxResponse) GetTimeReceived ¶
func (m *GetTxResponse) GetTimeReceived() uint64
func (*GetTxResponse) ProtoMessage ¶
func (*GetTxResponse) ProtoMessage()
func (*GetTxResponse) Reset ¶
func (m *GetTxResponse) Reset()
func (*GetTxResponse) String ¶
func (m *GetTxResponse) String() string
func (*GetTxResponse) XXX_DiscardUnknown ¶
func (m *GetTxResponse) XXX_DiscardUnknown()
func (*GetTxResponse) XXX_Marshal ¶
func (m *GetTxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetTxResponse) XXX_Merge ¶
func (m *GetTxResponse) XXX_Merge(src proto.Message)
func (*GetTxResponse) XXX_Size ¶
func (m *GetTxResponse) XXX_Size() int
func (*GetTxResponse) XXX_Unmarshal ¶
func (m *GetTxResponse) XXX_Unmarshal(b []byte) error
type InitiateRequest ¶
type InitiateRequest struct { Coin COIN `protobuf:"varint,1,opt,name=coin,proto3,enum=protobind.COIN" json:"coin,omitempty"` Testnet bool `protobuf:"varint,2,opt,name=testnet,proto3" json:"testnet,omitempty"` Hostport string `protobuf:"bytes,5,opt,name=hostport,proto3" json:"hostport,omitempty"` Rpcuser string `protobuf:"bytes,6,opt,name=rpcuser,proto3" json:"rpcuser,omitempty"` Rpcpass string `protobuf:"bytes,7,opt,name=rpcpass,proto3" json:"rpcpass,omitempty"` Wpass string `protobuf:"bytes,8,opt,name=wpass,proto3" json:"wpass,omitempty"` Certs string `protobuf:"bytes,9,opt,name=certs,proto3" json:"certs,omitempty"` Secrethash string `protobuf:"bytes,10,opt,name=secrethash,proto3" json:"secrethash,omitempty"` PartAddress string `protobuf:"bytes,11,opt,name=part_address,json=partAddress,proto3" json:"part_address,omitempty"` Amount int64 `protobuf:"varint,12,opt,name=amount,proto3" json:"amount,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InitiateRequest) Descriptor ¶
func (*InitiateRequest) Descriptor() ([]byte, []int)
func (*InitiateRequest) GetAmount ¶
func (m *InitiateRequest) GetAmount() int64
func (*InitiateRequest) GetCerts ¶
func (m *InitiateRequest) GetCerts() string
func (*InitiateRequest) GetCoin ¶
func (m *InitiateRequest) GetCoin() COIN
func (*InitiateRequest) GetHostport ¶
func (m *InitiateRequest) GetHostport() string
func (*InitiateRequest) GetPartAddress ¶
func (m *InitiateRequest) GetPartAddress() string
func (*InitiateRequest) GetRpcpass ¶
func (m *InitiateRequest) GetRpcpass() string
func (*InitiateRequest) GetRpcuser ¶
func (m *InitiateRequest) GetRpcuser() string
func (*InitiateRequest) GetSecrethash ¶
func (m *InitiateRequest) GetSecrethash() string
func (*InitiateRequest) GetTestnet ¶
func (m *InitiateRequest) GetTestnet() bool
func (*InitiateRequest) GetWpass ¶
func (m *InitiateRequest) GetWpass() string
func (*InitiateRequest) ProtoMessage ¶
func (*InitiateRequest) ProtoMessage()
func (*InitiateRequest) Reset ¶
func (m *InitiateRequest) Reset()
func (*InitiateRequest) String ¶
func (m *InitiateRequest) String() string
func (*InitiateRequest) XXX_DiscardUnknown ¶
func (m *InitiateRequest) XXX_DiscardUnknown()
func (*InitiateRequest) XXX_Marshal ¶
func (m *InitiateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InitiateRequest) XXX_Merge ¶
func (m *InitiateRequest) XXX_Merge(src proto.Message)
func (*InitiateRequest) XXX_Size ¶
func (m *InitiateRequest) XXX_Size() int
func (*InitiateRequest) XXX_Unmarshal ¶
func (m *InitiateRequest) XXX_Unmarshal(b []byte) error
type InitiateResponse ¶
type InitiateResponse struct { Contract string `protobuf:"bytes,5,opt,name=contract,proto3" json:"contract,omitempty"` ContractP2Sh string `protobuf:"bytes,6,opt,name=contract_p2sh,json=contractP2sh,proto3" json:"contract_p2sh,omitempty"` ContractTx string `protobuf:"bytes,7,opt,name=contract_tx,json=contractTx,proto3" json:"contract_tx,omitempty"` ContractTxHash string `protobuf:"bytes,8,opt,name=contract_tx_hash,json=contractTxHash,proto3" json:"contract_tx_hash,omitempty"` Fee int64 `protobuf:"varint,9,opt,name=fee,proto3" json:"fee,omitempty"` Feerate float32 `protobuf:"fixed32,10,opt,name=feerate,proto3" json:"feerate,omitempty"` Locktime int64 `protobuf:"varint,11,opt,name=locktime,proto3" json:"locktime,omitempty"` Errorno ERRNO `protobuf:"varint,14,opt,name=errorno,proto3,enum=protobind.ERRNO" json:"errorno,omitempty"` Errstr string `protobuf:"bytes,15,opt,name=errstr,proto3" json:"errstr,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InitiateResponse) Descriptor ¶
func (*InitiateResponse) Descriptor() ([]byte, []int)
func (*InitiateResponse) GetContract ¶
func (m *InitiateResponse) GetContract() string
func (*InitiateResponse) GetContractP2Sh ¶
func (m *InitiateResponse) GetContractP2Sh() string
func (*InitiateResponse) GetContractTx ¶
func (m *InitiateResponse) GetContractTx() string
func (*InitiateResponse) GetContractTxHash ¶
func (m *InitiateResponse) GetContractTxHash() string
func (*InitiateResponse) GetErrorno ¶
func (m *InitiateResponse) GetErrorno() ERRNO
func (*InitiateResponse) GetErrstr ¶
func (m *InitiateResponse) GetErrstr() string
func (*InitiateResponse) GetFee ¶
func (m *InitiateResponse) GetFee() int64
func (*InitiateResponse) GetFeerate ¶
func (m *InitiateResponse) GetFeerate() float32
func (*InitiateResponse) GetLocktime ¶
func (m *InitiateResponse) GetLocktime() int64
func (*InitiateResponse) ProtoMessage ¶
func (*InitiateResponse) ProtoMessage()
func (*InitiateResponse) Reset ¶
func (m *InitiateResponse) Reset()
func (*InitiateResponse) String ¶
func (m *InitiateResponse) String() string
func (*InitiateResponse) XXX_DiscardUnknown ¶
func (m *InitiateResponse) XXX_DiscardUnknown()
func (*InitiateResponse) XXX_Marshal ¶
func (m *InitiateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InitiateResponse) XXX_Merge ¶
func (m *InitiateResponse) XXX_Merge(src proto.Message)
func (*InitiateResponse) XXX_Size ¶
func (m *InitiateResponse) XXX_Size() int
func (*InitiateResponse) XXX_Unmarshal ¶
func (m *InitiateResponse) XXX_Unmarshal(b []byte) error
type NewAddressRequest ¶
type NewAddressRequest struct { Coin COIN `protobuf:"varint,1,opt,name=coin,proto3,enum=protobind.COIN" json:"coin,omitempty"` Testnet bool `protobuf:"varint,2,opt,name=testnet,proto3" json:"testnet,omitempty"` Hostport string `protobuf:"bytes,5,opt,name=hostport,proto3" json:"hostport,omitempty"` Rpcuser string `protobuf:"bytes,6,opt,name=rpcuser,proto3" json:"rpcuser,omitempty"` Rpcpass string `protobuf:"bytes,7,opt,name=rpcpass,proto3" json:"rpcpass,omitempty"` Wpass string `protobuf:"bytes,8,opt,name=wpass,proto3" json:"wpass,omitempty"` Certs string `protobuf:"bytes,9,opt,name=certs,proto3" json:"certs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NewAddressRequest) Descriptor ¶
func (*NewAddressRequest) Descriptor() ([]byte, []int)
func (*NewAddressRequest) GetCerts ¶
func (m *NewAddressRequest) GetCerts() string
func (*NewAddressRequest) GetCoin ¶
func (m *NewAddressRequest) GetCoin() COIN
func (*NewAddressRequest) GetHostport ¶
func (m *NewAddressRequest) GetHostport() string
func (*NewAddressRequest) GetRpcpass ¶
func (m *NewAddressRequest) GetRpcpass() string
func (*NewAddressRequest) GetRpcuser ¶
func (m *NewAddressRequest) GetRpcuser() string
func (*NewAddressRequest) GetTestnet ¶
func (m *NewAddressRequest) GetTestnet() bool
func (*NewAddressRequest) GetWpass ¶
func (m *NewAddressRequest) GetWpass() string
func (*NewAddressRequest) ProtoMessage ¶
func (*NewAddressRequest) ProtoMessage()
func (*NewAddressRequest) Reset ¶
func (m *NewAddressRequest) Reset()
func (*NewAddressRequest) String ¶
func (m *NewAddressRequest) String() string
func (*NewAddressRequest) XXX_DiscardUnknown ¶
func (m *NewAddressRequest) XXX_DiscardUnknown()
func (*NewAddressRequest) XXX_Marshal ¶
func (m *NewAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NewAddressRequest) XXX_Merge ¶
func (m *NewAddressRequest) XXX_Merge(src proto.Message)
func (*NewAddressRequest) XXX_Size ¶
func (m *NewAddressRequest) XXX_Size() int
func (*NewAddressRequest) XXX_Unmarshal ¶
func (m *NewAddressRequest) XXX_Unmarshal(b []byte) error
type NewAddressResponse ¶
type NewAddressResponse struct { Address string `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"` Errorno ERRNO `protobuf:"varint,14,opt,name=errorno,proto3,enum=protobind.ERRNO" json:"errorno,omitempty"` Errstr string `protobuf:"bytes,15,opt,name=errstr,proto3" json:"errstr,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NewAddressResponse) Descriptor ¶
func (*NewAddressResponse) Descriptor() ([]byte, []int)
func (*NewAddressResponse) GetAddress ¶
func (m *NewAddressResponse) GetAddress() string
func (*NewAddressResponse) GetErrorno ¶
func (m *NewAddressResponse) GetErrorno() ERRNO
func (*NewAddressResponse) GetErrstr ¶
func (m *NewAddressResponse) GetErrstr() string
func (*NewAddressResponse) ProtoMessage ¶
func (*NewAddressResponse) ProtoMessage()
func (*NewAddressResponse) Reset ¶
func (m *NewAddressResponse) Reset()
func (*NewAddressResponse) String ¶
func (m *NewAddressResponse) String() string
func (*NewAddressResponse) XXX_DiscardUnknown ¶
func (m *NewAddressResponse) XXX_DiscardUnknown()
func (*NewAddressResponse) XXX_Marshal ¶
func (m *NewAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NewAddressResponse) XXX_Merge ¶
func (m *NewAddressResponse) XXX_Merge(src proto.Message)
func (*NewAddressResponse) XXX_Size ¶
func (m *NewAddressResponse) XXX_Size() int
func (*NewAddressResponse) XXX_Unmarshal ¶
func (m *NewAddressResponse) XXX_Unmarshal(b []byte) error
type ParticipateRequest ¶
type ParticipateRequest struct { Coin COIN `protobuf:"varint,1,opt,name=coin,proto3,enum=protobind.COIN" json:"coin,omitempty"` Testnet bool `protobuf:"varint,2,opt,name=testnet,proto3" json:"testnet,omitempty"` Hostport string `protobuf:"bytes,5,opt,name=hostport,proto3" json:"hostport,omitempty"` Rpcuser string `protobuf:"bytes,6,opt,name=rpcuser,proto3" json:"rpcuser,omitempty"` Rpcpass string `protobuf:"bytes,7,opt,name=rpcpass,proto3" json:"rpcpass,omitempty"` Wpass string `protobuf:"bytes,8,opt,name=wpass,proto3" json:"wpass,omitempty"` Certs string `protobuf:"bytes,9,opt,name=certs,proto3" json:"certs,omitempty"` Secrethash string `protobuf:"bytes,10,opt,name=secrethash,proto3" json:"secrethash,omitempty"` InitAddress string `protobuf:"bytes,11,opt,name=init_address,json=initAddress,proto3" json:"init_address,omitempty"` Amount int64 `protobuf:"varint,12,opt,name=amount,proto3" json:"amount,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ParticipateRequest) Descriptor ¶
func (*ParticipateRequest) Descriptor() ([]byte, []int)
func (*ParticipateRequest) GetAmount ¶
func (m *ParticipateRequest) GetAmount() int64
func (*ParticipateRequest) GetCerts ¶
func (m *ParticipateRequest) GetCerts() string
func (*ParticipateRequest) GetCoin ¶
func (m *ParticipateRequest) GetCoin() COIN
func (*ParticipateRequest) GetHostport ¶
func (m *ParticipateRequest) GetHostport() string
func (*ParticipateRequest) GetInitAddress ¶
func (m *ParticipateRequest) GetInitAddress() string
func (*ParticipateRequest) GetRpcpass ¶
func (m *ParticipateRequest) GetRpcpass() string
func (*ParticipateRequest) GetRpcuser ¶
func (m *ParticipateRequest) GetRpcuser() string
func (*ParticipateRequest) GetSecrethash ¶
func (m *ParticipateRequest) GetSecrethash() string
func (*ParticipateRequest) GetTestnet ¶
func (m *ParticipateRequest) GetTestnet() bool
func (*ParticipateRequest) GetWpass ¶
func (m *ParticipateRequest) GetWpass() string
func (*ParticipateRequest) ProtoMessage ¶
func (*ParticipateRequest) ProtoMessage()
func (*ParticipateRequest) Reset ¶
func (m *ParticipateRequest) Reset()
func (*ParticipateRequest) String ¶
func (m *ParticipateRequest) String() string
func (*ParticipateRequest) XXX_DiscardUnknown ¶
func (m *ParticipateRequest) XXX_DiscardUnknown()
func (*ParticipateRequest) XXX_Marshal ¶
func (m *ParticipateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ParticipateRequest) XXX_Merge ¶
func (m *ParticipateRequest) XXX_Merge(src proto.Message)
func (*ParticipateRequest) XXX_Size ¶
func (m *ParticipateRequest) XXX_Size() int
func (*ParticipateRequest) XXX_Unmarshal ¶
func (m *ParticipateRequest) XXX_Unmarshal(b []byte) error
type ParticipateResponse ¶
type ParticipateResponse struct { Contract string `protobuf:"bytes,5,opt,name=contract,proto3" json:"contract,omitempty"` ContractP2Sh string `protobuf:"bytes,6,opt,name=contract_p2sh,json=contractP2sh,proto3" json:"contract_p2sh,omitempty"` ContractTx string `protobuf:"bytes,7,opt,name=contract_tx,json=contractTx,proto3" json:"contract_tx,omitempty"` ContractTxHash string `protobuf:"bytes,8,opt,name=contract_tx_hash,json=contractTxHash,proto3" json:"contract_tx_hash,omitempty"` Fee int64 `protobuf:"varint,9,opt,name=fee,proto3" json:"fee,omitempty"` Feerate float32 `protobuf:"fixed32,10,opt,name=feerate,proto3" json:"feerate,omitempty"` Locktime int64 `protobuf:"varint,11,opt,name=locktime,proto3" json:"locktime,omitempty"` Errorno ERRNO `protobuf:"varint,14,opt,name=errorno,proto3,enum=protobind.ERRNO" json:"errorno,omitempty"` Errstr string `protobuf:"bytes,15,opt,name=errstr,proto3" json:"errstr,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ParticipateResponse) Descriptor ¶
func (*ParticipateResponse) Descriptor() ([]byte, []int)
func (*ParticipateResponse) GetContract ¶
func (m *ParticipateResponse) GetContract() string
func (*ParticipateResponse) GetContractP2Sh ¶
func (m *ParticipateResponse) GetContractP2Sh() string
func (*ParticipateResponse) GetContractTx ¶
func (m *ParticipateResponse) GetContractTx() string
func (*ParticipateResponse) GetContractTxHash ¶
func (m *ParticipateResponse) GetContractTxHash() string
func (*ParticipateResponse) GetErrorno ¶
func (m *ParticipateResponse) GetErrorno() ERRNO
func (*ParticipateResponse) GetErrstr ¶
func (m *ParticipateResponse) GetErrstr() string
func (*ParticipateResponse) GetFee ¶
func (m *ParticipateResponse) GetFee() int64
func (*ParticipateResponse) GetFeerate ¶
func (m *ParticipateResponse) GetFeerate() float32
func (*ParticipateResponse) GetLocktime ¶
func (m *ParticipateResponse) GetLocktime() int64
func (*ParticipateResponse) ProtoMessage ¶
func (*ParticipateResponse) ProtoMessage()
func (*ParticipateResponse) Reset ¶
func (m *ParticipateResponse) Reset()
func (*ParticipateResponse) String ¶
func (m *ParticipateResponse) String() string
func (*ParticipateResponse) XXX_DiscardUnknown ¶
func (m *ParticipateResponse) XXX_DiscardUnknown()
func (*ParticipateResponse) XXX_Marshal ¶
func (m *ParticipateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ParticipateResponse) XXX_Merge ¶
func (m *ParticipateResponse) XXX_Merge(src proto.Message)
func (*ParticipateResponse) XXX_Size ¶
func (m *ParticipateResponse) XXX_Size() int
func (*ParticipateResponse) XXX_Unmarshal ¶
func (m *ParticipateResponse) XXX_Unmarshal(b []byte) error
type PingWalletRPCRequest ¶
type PingWalletRPCRequest struct { Coin COIN `protobuf:"varint,1,opt,name=coin,proto3,enum=protobind.COIN" json:"coin,omitempty"` Testnet bool `protobuf:"varint,2,opt,name=testnet,proto3" json:"testnet,omitempty"` Hostport string `protobuf:"bytes,5,opt,name=hostport,proto3" json:"hostport,omitempty"` Rpcuser string `protobuf:"bytes,6,opt,name=rpcuser,proto3" json:"rpcuser,omitempty"` Rpcpass string `protobuf:"bytes,7,opt,name=rpcpass,proto3" json:"rpcpass,omitempty"` Wpass string `protobuf:"bytes,8,opt,name=wpass,proto3" json:"wpass,omitempty"` Certs string `protobuf:"bytes,9,opt,name=certs,proto3" json:"certs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PingWalletRPCRequest) Descriptor ¶
func (*PingWalletRPCRequest) Descriptor() ([]byte, []int)
func (*PingWalletRPCRequest) GetCerts ¶
func (m *PingWalletRPCRequest) GetCerts() string
func (*PingWalletRPCRequest) GetCoin ¶
func (m *PingWalletRPCRequest) GetCoin() COIN
func (*PingWalletRPCRequest) GetHostport ¶
func (m *PingWalletRPCRequest) GetHostport() string
func (*PingWalletRPCRequest) GetRpcpass ¶
func (m *PingWalletRPCRequest) GetRpcpass() string
func (*PingWalletRPCRequest) GetRpcuser ¶
func (m *PingWalletRPCRequest) GetRpcuser() string
func (*PingWalletRPCRequest) GetTestnet ¶
func (m *PingWalletRPCRequest) GetTestnet() bool
func (*PingWalletRPCRequest) GetWpass ¶
func (m *PingWalletRPCRequest) GetWpass() string
func (*PingWalletRPCRequest) ProtoMessage ¶
func (*PingWalletRPCRequest) ProtoMessage()
func (*PingWalletRPCRequest) Reset ¶
func (m *PingWalletRPCRequest) Reset()
func (*PingWalletRPCRequest) String ¶
func (m *PingWalletRPCRequest) String() string
func (*PingWalletRPCRequest) XXX_DiscardUnknown ¶
func (m *PingWalletRPCRequest) XXX_DiscardUnknown()
func (*PingWalletRPCRequest) XXX_Marshal ¶
func (m *PingWalletRPCRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PingWalletRPCRequest) XXX_Merge ¶
func (m *PingWalletRPCRequest) XXX_Merge(src proto.Message)
func (*PingWalletRPCRequest) XXX_Size ¶
func (m *PingWalletRPCRequest) XXX_Size() int
func (*PingWalletRPCRequest) XXX_Unmarshal ¶
func (m *PingWalletRPCRequest) XXX_Unmarshal(b []byte) error
type PingWalletRPCResponse ¶
type PingWalletRPCResponse struct { Errorno ERRNO `protobuf:"varint,14,opt,name=errorno,proto3,enum=protobind.ERRNO" json:"errorno,omitempty"` Errstr string `protobuf:"bytes,15,opt,name=errstr,proto3" json:"errstr,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PingWalletRPCResponse) Descriptor ¶
func (*PingWalletRPCResponse) Descriptor() ([]byte, []int)
func (*PingWalletRPCResponse) GetErrorno ¶
func (m *PingWalletRPCResponse) GetErrorno() ERRNO
func (*PingWalletRPCResponse) GetErrstr ¶
func (m *PingWalletRPCResponse) GetErrstr() string
func (*PingWalletRPCResponse) ProtoMessage ¶
func (*PingWalletRPCResponse) ProtoMessage()
func (*PingWalletRPCResponse) Reset ¶
func (m *PingWalletRPCResponse) Reset()
func (*PingWalletRPCResponse) String ¶
func (m *PingWalletRPCResponse) String() string
func (*PingWalletRPCResponse) XXX_DiscardUnknown ¶
func (m *PingWalletRPCResponse) XXX_DiscardUnknown()
func (*PingWalletRPCResponse) XXX_Marshal ¶
func (m *PingWalletRPCResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PingWalletRPCResponse) XXX_Merge ¶
func (m *PingWalletRPCResponse) XXX_Merge(src proto.Message)
func (*PingWalletRPCResponse) XXX_Size ¶
func (m *PingWalletRPCResponse) XXX_Size() int
func (*PingWalletRPCResponse) XXX_Unmarshal ¶
func (m *PingWalletRPCResponse) XXX_Unmarshal(b []byte) error
type PublishRequest ¶
type PublishRequest struct { Coin COIN `protobuf:"varint,1,opt,name=coin,proto3,enum=protobind.COIN" json:"coin,omitempty"` Testnet bool `protobuf:"varint,2,opt,name=testnet,proto3" json:"testnet,omitempty"` Hostport string `protobuf:"bytes,5,opt,name=hostport,proto3" json:"hostport,omitempty"` Rpcuser string `protobuf:"bytes,6,opt,name=rpcuser,proto3" json:"rpcuser,omitempty"` Rpcpass string `protobuf:"bytes,7,opt,name=rpcpass,proto3" json:"rpcpass,omitempty"` Wpass string `protobuf:"bytes,8,opt,name=wpass,proto3" json:"wpass,omitempty"` Certs string `protobuf:"bytes,9,opt,name=certs,proto3" json:"certs,omitempty"` Tx string `protobuf:"bytes,10,opt,name=tx,proto3" json:"tx,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PublishRequest) Descriptor ¶
func (*PublishRequest) Descriptor() ([]byte, []int)
func (*PublishRequest) GetCerts ¶
func (m *PublishRequest) GetCerts() string
func (*PublishRequest) GetCoin ¶
func (m *PublishRequest) GetCoin() COIN
func (*PublishRequest) GetHostport ¶
func (m *PublishRequest) GetHostport() string
func (*PublishRequest) GetRpcpass ¶
func (m *PublishRequest) GetRpcpass() string
func (*PublishRequest) GetRpcuser ¶
func (m *PublishRequest) GetRpcuser() string
func (*PublishRequest) GetTestnet ¶
func (m *PublishRequest) GetTestnet() bool
func (*PublishRequest) GetTx ¶
func (m *PublishRequest) GetTx() string
func (*PublishRequest) GetWpass ¶
func (m *PublishRequest) GetWpass() string
func (*PublishRequest) ProtoMessage ¶
func (*PublishRequest) ProtoMessage()
func (*PublishRequest) Reset ¶
func (m *PublishRequest) Reset()
func (*PublishRequest) String ¶
func (m *PublishRequest) String() string
func (*PublishRequest) XXX_DiscardUnknown ¶
func (m *PublishRequest) XXX_DiscardUnknown()
func (*PublishRequest) XXX_Marshal ¶
func (m *PublishRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PublishRequest) XXX_Merge ¶
func (m *PublishRequest) XXX_Merge(src proto.Message)
func (*PublishRequest) XXX_Size ¶
func (m *PublishRequest) XXX_Size() int
func (*PublishRequest) XXX_Unmarshal ¶
func (m *PublishRequest) XXX_Unmarshal(b []byte) error
type PublishResponse ¶
type PublishResponse struct { TxHash string `protobuf:"bytes,5,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` Errorno ERRNO `protobuf:"varint,14,opt,name=errorno,proto3,enum=protobind.ERRNO" json:"errorno,omitempty"` Errstr string `protobuf:"bytes,15,opt,name=errstr,proto3" json:"errstr,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PublishResponse) Descriptor ¶
func (*PublishResponse) Descriptor() ([]byte, []int)
func (*PublishResponse) GetErrorno ¶
func (m *PublishResponse) GetErrorno() ERRNO
func (*PublishResponse) GetErrstr ¶
func (m *PublishResponse) GetErrstr() string
func (*PublishResponse) GetTxHash ¶
func (m *PublishResponse) GetTxHash() string
func (*PublishResponse) ProtoMessage ¶
func (*PublishResponse) ProtoMessage()
func (*PublishResponse) Reset ¶
func (m *PublishResponse) Reset()
func (*PublishResponse) String ¶
func (m *PublishResponse) String() string
func (*PublishResponse) XXX_DiscardUnknown ¶
func (m *PublishResponse) XXX_DiscardUnknown()
func (*PublishResponse) XXX_Marshal ¶
func (m *PublishResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PublishResponse) XXX_Merge ¶
func (m *PublishResponse) XXX_Merge(src proto.Message)
func (*PublishResponse) XXX_Size ¶
func (m *PublishResponse) XXX_Size() int
func (*PublishResponse) XXX_Unmarshal ¶
func (m *PublishResponse) XXX_Unmarshal(b []byte) error
type RedeemRequest ¶
type RedeemRequest struct { Coin COIN `protobuf:"varint,1,opt,name=coin,proto3,enum=protobind.COIN" json:"coin,omitempty"` Testnet bool `protobuf:"varint,2,opt,name=testnet,proto3" json:"testnet,omitempty"` Hostport string `protobuf:"bytes,5,opt,name=hostport,proto3" json:"hostport,omitempty"` Rpcuser string `protobuf:"bytes,6,opt,name=rpcuser,proto3" json:"rpcuser,omitempty"` Rpcpass string `protobuf:"bytes,7,opt,name=rpcpass,proto3" json:"rpcpass,omitempty"` Wpass string `protobuf:"bytes,8,opt,name=wpass,proto3" json:"wpass,omitempty"` Certs string `protobuf:"bytes,9,opt,name=certs,proto3" json:"certs,omitempty"` Secret string `protobuf:"bytes,10,opt,name=secret,proto3" json:"secret,omitempty"` Contract string `protobuf:"bytes,11,opt,name=contract,proto3" json:"contract,omitempty"` ContractTx string `protobuf:"bytes,12,opt,name=contract_tx,json=contractTx,proto3" json:"contract_tx,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RedeemRequest) Descriptor ¶
func (*RedeemRequest) Descriptor() ([]byte, []int)
func (*RedeemRequest) GetCerts ¶
func (m *RedeemRequest) GetCerts() string
func (*RedeemRequest) GetCoin ¶
func (m *RedeemRequest) GetCoin() COIN
func (*RedeemRequest) GetContract ¶
func (m *RedeemRequest) GetContract() string
func (*RedeemRequest) GetContractTx ¶
func (m *RedeemRequest) GetContractTx() string
func (*RedeemRequest) GetHostport ¶
func (m *RedeemRequest) GetHostport() string
func (*RedeemRequest) GetRpcpass ¶
func (m *RedeemRequest) GetRpcpass() string
func (*RedeemRequest) GetRpcuser ¶
func (m *RedeemRequest) GetRpcuser() string
func (*RedeemRequest) GetSecret ¶
func (m *RedeemRequest) GetSecret() string
func (*RedeemRequest) GetTestnet ¶
func (m *RedeemRequest) GetTestnet() bool
func (*RedeemRequest) GetWpass ¶
func (m *RedeemRequest) GetWpass() string
func (*RedeemRequest) ProtoMessage ¶
func (*RedeemRequest) ProtoMessage()
func (*RedeemRequest) Reset ¶
func (m *RedeemRequest) Reset()
func (*RedeemRequest) String ¶
func (m *RedeemRequest) String() string
func (*RedeemRequest) XXX_DiscardUnknown ¶
func (m *RedeemRequest) XXX_DiscardUnknown()
func (*RedeemRequest) XXX_Marshal ¶
func (m *RedeemRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RedeemRequest) XXX_Merge ¶
func (m *RedeemRequest) XXX_Merge(src proto.Message)
func (*RedeemRequest) XXX_Size ¶
func (m *RedeemRequest) XXX_Size() int
func (*RedeemRequest) XXX_Unmarshal ¶
func (m *RedeemRequest) XXX_Unmarshal(b []byte) error
type RedeemResponse ¶
type RedeemResponse struct { RedeemTx string `protobuf:"bytes,5,opt,name=redeem_tx,json=redeemTx,proto3" json:"redeem_tx,omitempty"` RedeemTxHash string `protobuf:"bytes,6,opt,name=redeem_tx_hash,json=redeemTxHash,proto3" json:"redeem_tx_hash,omitempty"` Fee int64 `protobuf:"varint,7,opt,name=fee,proto3" json:"fee,omitempty"` Feerate float32 `protobuf:"fixed32,8,opt,name=feerate,proto3" json:"feerate,omitempty"` Errorno ERRNO `protobuf:"varint,14,opt,name=errorno,proto3,enum=protobind.ERRNO" json:"errorno,omitempty"` Errstr string `protobuf:"bytes,15,opt,name=errstr,proto3" json:"errstr,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RedeemResponse) Descriptor ¶
func (*RedeemResponse) Descriptor() ([]byte, []int)
func (*RedeemResponse) GetErrorno ¶
func (m *RedeemResponse) GetErrorno() ERRNO
func (*RedeemResponse) GetErrstr ¶
func (m *RedeemResponse) GetErrstr() string
func (*RedeemResponse) GetFee ¶
func (m *RedeemResponse) GetFee() int64
func (*RedeemResponse) GetFeerate ¶
func (m *RedeemResponse) GetFeerate() float32
func (*RedeemResponse) GetRedeemTx ¶
func (m *RedeemResponse) GetRedeemTx() string
func (*RedeemResponse) GetRedeemTxHash ¶
func (m *RedeemResponse) GetRedeemTxHash() string
func (*RedeemResponse) ProtoMessage ¶
func (*RedeemResponse) ProtoMessage()
func (*RedeemResponse) Reset ¶
func (m *RedeemResponse) Reset()
func (*RedeemResponse) String ¶
func (m *RedeemResponse) String() string
func (*RedeemResponse) XXX_DiscardUnknown ¶
func (m *RedeemResponse) XXX_DiscardUnknown()
func (*RedeemResponse) XXX_Marshal ¶
func (m *RedeemResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RedeemResponse) XXX_Merge ¶
func (m *RedeemResponse) XXX_Merge(src proto.Message)
func (*RedeemResponse) XXX_Size ¶
func (m *RedeemResponse) XXX_Size() int
func (*RedeemResponse) XXX_Unmarshal ¶
func (m *RedeemResponse) XXX_Unmarshal(b []byte) error
type RefundRequest ¶
type RefundRequest struct { Coin COIN `protobuf:"varint,1,opt,name=coin,proto3,enum=protobind.COIN" json:"coin,omitempty"` Testnet bool `protobuf:"varint,2,opt,name=testnet,proto3" json:"testnet,omitempty"` Hostport string `protobuf:"bytes,5,opt,name=hostport,proto3" json:"hostport,omitempty"` Rpcuser string `protobuf:"bytes,6,opt,name=rpcuser,proto3" json:"rpcuser,omitempty"` Rpcpass string `protobuf:"bytes,7,opt,name=rpcpass,proto3" json:"rpcpass,omitempty"` Wpass string `protobuf:"bytes,8,opt,name=wpass,proto3" json:"wpass,omitempty"` Certs string `protobuf:"bytes,9,opt,name=certs,proto3" json:"certs,omitempty"` Contract string `protobuf:"bytes,10,opt,name=contract,proto3" json:"contract,omitempty"` ContractTx string `protobuf:"bytes,11,opt,name=contract_tx,json=contractTx,proto3" json:"contract_tx,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RefundRequest) Descriptor ¶
func (*RefundRequest) Descriptor() ([]byte, []int)
func (*RefundRequest) GetCerts ¶
func (m *RefundRequest) GetCerts() string
func (*RefundRequest) GetCoin ¶
func (m *RefundRequest) GetCoin() COIN
func (*RefundRequest) GetContract ¶
func (m *RefundRequest) GetContract() string
func (*RefundRequest) GetContractTx ¶
func (m *RefundRequest) GetContractTx() string
func (*RefundRequest) GetHostport ¶
func (m *RefundRequest) GetHostport() string
func (*RefundRequest) GetRpcpass ¶
func (m *RefundRequest) GetRpcpass() string
func (*RefundRequest) GetRpcuser ¶
func (m *RefundRequest) GetRpcuser() string
func (*RefundRequest) GetTestnet ¶
func (m *RefundRequest) GetTestnet() bool
func (*RefundRequest) GetWpass ¶
func (m *RefundRequest) GetWpass() string
func (*RefundRequest) ProtoMessage ¶
func (*RefundRequest) ProtoMessage()
func (*RefundRequest) Reset ¶
func (m *RefundRequest) Reset()
func (*RefundRequest) String ¶
func (m *RefundRequest) String() string
func (*RefundRequest) XXX_DiscardUnknown ¶
func (m *RefundRequest) XXX_DiscardUnknown()
func (*RefundRequest) XXX_Marshal ¶
func (m *RefundRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RefundRequest) XXX_Merge ¶
func (m *RefundRequest) XXX_Merge(src proto.Message)
func (*RefundRequest) XXX_Size ¶
func (m *RefundRequest) XXX_Size() int
func (*RefundRequest) XXX_Unmarshal ¶
func (m *RefundRequest) XXX_Unmarshal(b []byte) error
type RefundResponse ¶
type RefundResponse struct { RefundTx string `protobuf:"bytes,5,opt,name=refund_tx,json=refundTx,proto3" json:"refund_tx,omitempty"` RefundTxHash string `protobuf:"bytes,6,opt,name=refund_tx_hash,json=refundTxHash,proto3" json:"refund_tx_hash,omitempty"` Fee int64 `protobuf:"varint,7,opt,name=fee,proto3" json:"fee,omitempty"` Feerate float32 `protobuf:"fixed32,8,opt,name=feerate,proto3" json:"feerate,omitempty"` Errorno ERRNO `protobuf:"varint,14,opt,name=errorno,proto3,enum=protobind.ERRNO" json:"errorno,omitempty"` Errstr string `protobuf:"bytes,15,opt,name=errstr,proto3" json:"errstr,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RefundResponse) Descriptor ¶
func (*RefundResponse) Descriptor() ([]byte, []int)
func (*RefundResponse) GetErrorno ¶
func (m *RefundResponse) GetErrorno() ERRNO
func (*RefundResponse) GetErrstr ¶
func (m *RefundResponse) GetErrstr() string
func (*RefundResponse) GetFee ¶
func (m *RefundResponse) GetFee() int64
func (*RefundResponse) GetFeerate ¶
func (m *RefundResponse) GetFeerate() float32
func (*RefundResponse) GetRefundTx ¶
func (m *RefundResponse) GetRefundTx() string
func (*RefundResponse) GetRefundTxHash ¶
func (m *RefundResponse) GetRefundTxHash() string
func (*RefundResponse) ProtoMessage ¶
func (*RefundResponse) ProtoMessage()
func (*RefundResponse) Reset ¶
func (m *RefundResponse) Reset()
func (*RefundResponse) String ¶
func (m *RefundResponse) String() string
func (*RefundResponse) XXX_DiscardUnknown ¶
func (m *RefundResponse) XXX_DiscardUnknown()
func (*RefundResponse) XXX_Marshal ¶
func (m *RefundResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RefundResponse) XXX_Merge ¶
func (m *RefundResponse) XXX_Merge(src proto.Message)
func (*RefundResponse) XXX_Size ¶
func (m *RefundResponse) XXX_Size() int
func (*RefundResponse) XXX_Unmarshal ¶
func (m *RefundResponse) XXX_Unmarshal(b []byte) error
type SwapLibClient ¶
type SwapLibClient interface { PingWalletRPC(ctx context.Context, in *PingWalletRPCRequest, opts ...grpc.CallOption) (*PingWalletRPCResponse, error) NewAddress(ctx context.Context, in *NewAddressRequest, opts ...grpc.CallOption) (*NewAddressResponse, error) Initiate(ctx context.Context, in *InitiateRequest, opts ...grpc.CallOption) (*InitiateResponse, error) Participate(ctx context.Context, in *ParticipateRequest, opts ...grpc.CallOption) (*ParticipateResponse, error) Redeem(ctx context.Context, in *RedeemRequest, opts ...grpc.CallOption) (*RedeemResponse, error) Refund(ctx context.Context, in *RefundRequest, opts ...grpc.CallOption) (*RefundResponse, error) Publish(ctx context.Context, in *PublishRequest, opts ...grpc.CallOption) (*PublishResponse, error) ExtractSecret(ctx context.Context, in *ExtractSecretRequest, opts ...grpc.CallOption) (*ExtractSecretResponse, error) Audit(ctx context.Context, in *AuditRequest, opts ...grpc.CallOption) (*AuditResponse, error) GetTx(ctx context.Context, in *GetTxRequest, opts ...grpc.CallOption) (*GetTxResponse, error) }
SwapLibClient is the client API for SwapLib service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewSwapLibClient ¶
func NewSwapLibClient(cc *grpc.ClientConn) SwapLibClient
type SwapLibServer ¶
type SwapLibServer interface { PingWalletRPC(context.Context, *PingWalletRPCRequest) (*PingWalletRPCResponse, error) NewAddress(context.Context, *NewAddressRequest) (*NewAddressResponse, error) Initiate(context.Context, *InitiateRequest) (*InitiateResponse, error) Participate(context.Context, *ParticipateRequest) (*ParticipateResponse, error) Redeem(context.Context, *RedeemRequest) (*RedeemResponse, error) Refund(context.Context, *RefundRequest) (*RefundResponse, error) Publish(context.Context, *PublishRequest) (*PublishResponse, error) ExtractSecret(context.Context, *ExtractSecretRequest) (*ExtractSecretResponse, error) Audit(context.Context, *AuditRequest) (*AuditResponse, error) GetTx(context.Context, *GetTxRequest) (*GetTxResponse, error) }
SwapLibServer is the server API for SwapLib service.
Click to show internal directories.
Click to hide internal directories.