broadcaster

package
v0.0.0-...-e391bab Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrBroadcastTx is used when a broadcast fails due to tendermint errors
	ErrBroadcastTx = errors.New("broadcast tx error")
)
View Source
var (
	ErrNotRunning = errors.New("not running")
)

Functions

This section is empty.

Types

type Client

type Client interface {
	Broadcast(ctx context.Context, msgs ...sdk.Msg) error
}

func NewClient

func NewClient(cctx sdkclient.Context, txf tx.Factory, info keyring.Info) Client

type SerialClient

type SerialClient interface {
	Client
	Close()
}

func NewSerialClient

func NewSerialClient(log log.Logger, cctx sdkclient.Context, txf tx.Factory, info keyring.Info) (SerialClient, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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