bnb

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bnb

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

func NewBnb

func NewBnb(log *xlog.XLog, v *config.BlockConfig) *Bnb

func (*Bnb) CreateNodeTask

func (e *Bnb) CreateNodeTask(nodeId string, blockChain int64, number string) (*task.NodeTask, error)

func (*Bnb) GetLatestBlockNumber

func (e *Bnb) GetLatestBlockNumber() (int64, error)

Jump to

Keyboard shortcuts

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