Documentation ¶
Index ¶
- func Init(name string, s types.RPCServer)
- type Grpc
- type Jrpc
- func (c *Jrpc) CreateRawRelayAcceptTx(in *ty.RelayAccept, result *interface{}) error
- func (c *Jrpc) CreateRawRelayConfirmTx(in *ty.RelayConfirmTx, result *interface{}) error
- func (c *Jrpc) CreateRawRelayOrderTx(in *ty.RelayCreate, result *interface{}) error
- func (c *Jrpc) CreateRawRelayRevokeTx(in *ty.RelayRevoke, result *interface{}) error
- func (c *Jrpc) CreateRawRelaySaveBTCHeadTx(in *ty.BtcHeader, result *interface{}) error
- func (c *Jrpc) CreateRawRelayVerifyBTCTx(in *ty.RelayVerifyCli, result *interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Grpc ¶
type Grpc struct {
// contains filtered or unexported fields
}
Grpc relay Grpc interface
type Jrpc ¶
type Jrpc struct {
// contains filtered or unexported fields
}
Jrpc relay Jrpc interface
func (*Jrpc) CreateRawRelayAcceptTx ¶
func (c *Jrpc) CreateRawRelayAcceptTx(in *ty.RelayAccept, result *interface{}) error
CreateRawRelayAcceptTx jrpc creat relay accept tx
func (*Jrpc) CreateRawRelayConfirmTx ¶
func (c *Jrpc) CreateRawRelayConfirmTx(in *ty.RelayConfirmTx, result *interface{}) error
CreateRawRelayConfirmTx jrpc create confirm tx
func (*Jrpc) CreateRawRelayOrderTx ¶
func (c *Jrpc) CreateRawRelayOrderTx(in *ty.RelayCreate, result *interface{}) error
CreateRawRelayOrderTx jrpc create raw relay order
func (*Jrpc) CreateRawRelayRevokeTx ¶
func (c *Jrpc) CreateRawRelayRevokeTx(in *ty.RelayRevoke, result *interface{}) error
CreateRawRelayRevokeTx jrpc create revoke tx
func (*Jrpc) CreateRawRelaySaveBTCHeadTx ¶
CreateRawRelaySaveBTCHeadTx jrpc save btc header
func (*Jrpc) CreateRawRelayVerifyBTCTx ¶
func (c *Jrpc) CreateRawRelayVerifyBTCTx(in *ty.RelayVerifyCli, result *interface{}) error
CreateRawRelayVerifyBTCTx jrpc create veirfy btc tx
Click to show internal directories.
Click to hide internal directories.