bootstrap

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2018 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node interface {
	GracefulShutdown(timeout time.Duration)
	WaitUntilShutdown()
}

func NewNode

func NewNode(nodeConfig config.NodeConfig, logger log.BasicLogger, httpAddress string) Node

type NodeLogic

type NodeLogic interface {
	PublicApi() services.PublicApi
}

func NewNodeLogic

func NewNodeLogic(
	ctx context.Context,
	gossipTransport gossipAdapter.Transport,
	blockPersistence blockStorageAdapter.BlockPersistence,
	statePersistence stateStorageAdapter.StatePersistence,
	stateBlockHeightReporter stateStorageAdapter.BlockHeightReporter,
	transactionPoolBlockHeightReporter transactionpool.BlockHeightReporter,
	nativeCompiler nativeProcessorAdapter.Compiler,
	logger log.BasicLogger,
	metricRegistry metric.Registry,
	nodeConfig config.NodeConfig,
	ethereumConnection ethereumAdapter.EthereumConnection,
) NodeLogic

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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