node

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoHostSpecified = errors.New("no host specified")

Functions

This section is empty.

Types

type Forwarder

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

func NewForwarder

func NewForwarder(log *zap.Logger, nodeConfigs network.GRPCConfig) (*Forwarder, error)

func (*Forwarder) HealthCheck

func (n *Forwarder) HealthCheck(ctx context.Context) error

func (*Forwarder) LastBlockHeight

func (n *Forwarder) LastBlockHeight(ctx context.Context) (uint64, error)

func (*Forwarder) SendTx

func (*Forwarder) Stop

func (n *Forwarder) Stop() error

Jump to

Keyboard shortcuts

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