tron

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 Tron

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

func NewTron

func NewTron(log *xlog.XLog, v *config.BlockConfig) *Tron

func (*Tron) CreateNodeTask

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

func (*Tron) GetLatestBlockNumber

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

Jump to

Keyboard shortcuts

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