fullnode

package
v0.0.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	DefaultL2EndPoint = "http://localhost:8888"
	SyncInterval      = 100 * time.Millisecond
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	core.ChainConfig
	L2EndPoint      string
	SyncBlockStatus int64
	LogConf         logx.LogConf
}

type Fullnode

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

func NewFullnode

func NewFullnode(config *Config) (*Fullnode, error)

func (*Fullnode) Run

func (c *Fullnode) Run()

func (*Fullnode) Shutdown

func (c *Fullnode) Shutdown()

Jump to

Keyboard shortcuts

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