rpc

package
v0.0.0-...-0abe6a2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2019 License: BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(name string, s types.RPCServer)

Init relay rpc register

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

func (c *Jrpc) CreateRawRelaySaveBTCHeadTx(in *ty.BtcHeader, result *interface{}) error

CreateRawRelaySaveBTCHeadTx jrpc save btc header

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL