solo

package
v0.0.0-...-83a01c7 Latest Latest
Warning

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

Go to latest
Published: May 2, 2021 License: LGPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Communicator

type Communicator struct {
}

Communicator in solo is a fake one just for api handler

func (Communicator) PeersStats

func (commu Communicator) PeersStats() []*commu.PeerStats

PeersStats returns nil solo doesn't join p2p network

type Solo

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

Solo mode is the standalone client without p2p server

func New

func New(
	repo *chain.Repository,
	stater *state.Stater,
	logDB *logdb.LogDB,
	txPool *txpool.TxPool,
	gasLimit uint64,
	onDemand bool,
	skipLogs bool,
	forkConfig luckyshare.ForkConfig,
) *Solo

New returns Solo instance

func (*Solo) Run

func (s *Solo) Run(ctx context.Context) error

Run runs the packer for solo

Jump to

Keyboard shortcuts

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