app

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: GPL-3.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrepareAxiomLedger

func PrepareAxiomLedger(rep *repo.Repo) error

Types

type AxiomLedger

type AxiomLedger struct {
	Ctx    context.Context
	Cancel context.CancelFunc
	Repo   *repo.Repo

	ViewLedger    *ledger.Ledger
	BlockExecutor executor.Executor
	Consensus     consensus.Consensus
	TxPool        txpool.TxPool[types.Transaction, *types.Transaction]
	Network       network.Network
	Sync          block_sync.Sync
	Monitor       *profile.Monitor
	Pprof         *profile.Pprof
	LoggerWrapper *loggers.LoggerWrapper
	Jsonrpc       *jsonrpc.ChainBrokerService
	// contains filtered or unexported fields
}

func NewAxiomLedger

func NewAxiomLedger(rep *repo.Repo, ctx context.Context, cancel context.CancelFunc) (*AxiomLedger, error)

func NewAxiomLedgerWithoutConsensus

func NewAxiomLedgerWithoutConsensus(rep *repo.Repo, ctx context.Context, cancel context.CancelFunc) (*AxiomLedger, error)

func (*AxiomLedger) Start

func (axm *AxiomLedger) Start() error

func (*AxiomLedger) Stop

func (axm *AxiomLedger) Stop() error

Jump to

Keyboard shortcuts

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