node

package
v0.13.2 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 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) LastBlockHeightAndHash added in v0.13.2

func (n *Forwarder) LastBlockHeightAndHash(ctx context.Context) (*api.LastBlockHeightResponse, int, error)

LastBlockHeightAndHash returns information about the last block from vega and the node it used to fetch it.

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