Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrepareAxiomLedger ¶
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
Click to show internal directories.
Click to hide internal directories.