relayer

package
v0.0.0-...-51e8661 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2019 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node struct {
	ctx.CLIContext
	auth.TxBuilder
	Passphrase           string
	ClientId             string
	ChannelId            string
	CounterpartyClientId string
	// contains filtered or unexported fields
}

func NewNode

func NewNode(chainId, node, name, passphrase, home string) (*Node, error)

func (Node) GetHeader

func (n Node) GetHeader(h int64) (header tendermint.Header, err error)

func (Node) GetProof

func (n Node) GetProof(packet bankmock.Packet, h int64) (merkle.Proof, error)

func (Node) SendTx

func (n Node) SendTx(msgs []sdk.Msg) error

func (*Node) WithChannelId

func (n *Node) WithChannelId(channelId string) *Node

func (*Node) WithClientId

func (n *Node) WithClientId(clientId string) *Node

func (*Node) WithCounterpartyClientId

func (n *Node) WithCounterpartyClientId(clientId string) *Node

func (*Node) WithLogger

func (n *Node) WithLogger(logger log.Logger) *Node

func (*Node) WithPrefix

func (n *Node) WithPrefix(prefix config.Bech32Prefix) *Node

type Relayer

type Relayer struct {
	// contains filtered or unexported fields
}

func NewRelayerFromCfgFile

func NewRelayerFromCfgFile(cfg *config.RelayConfig) Relayer

func (Relayer) GetNode

func (r Relayer) GetNode(clientId string) *Node

func (Relayer) Start

func (r Relayer) Start()

Jump to

Keyboard shortcuts

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