node

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: MIT, Apache-2.0, MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EmptyNodeClient = &NodeClient{}

Functions

func NewEventBus added in v1.2.1

func NewEventBus() EventBus.Bus

Types

type NodeClient

type NodeClient struct {
	// NOTE:
	Full   v1.FullNode
	Cancel func()
}

NodeClient connect Lotus or Venus node and call json RPC API

func NewNodeClient

func NewNodeClient(cnf *config.StrategyConfig) (*NodeClient, error)

Jump to

Keyboard shortcuts

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