chainimpl

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: Apache-2.0, BSD-2-Clause Imports: 38 Imported by: 0

Documentation

Overview

Provides implementations for chain.ChainCore methods except the Enqueue*, which are provided in eventproc.go

Provides implementations for chain.ChainEntry methods

Provides implementations for chain.ChainMetrics methods

Provides implementations for chain.ChainRequests methods

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewChain

func NewChain(
	chainID *isc.ChainID,
	log *logger.Logger,
	nc chain.NodeConnection,
	db kvstore.KVStore,
	netProvider peering.NetworkProvider,
	dksProvider registry.DKShareRegistryProvider,
	nidProvider registry.NodeIdentityProvider,
	processorConfig *processors.Config,
	offledgerBroadcastUpToNPeers int,
	offledgerBroadcastInterval time.Duration,
	pullMissingRequestsFromCommittee bool,
	chainMetrics metrics.ChainMetrics,
	consensusJournalRegistry journal.Registry,
	wal chain.WAL,
	rawBlocksEnabled bool,
	rawBlocksDir string,
) chain.Chain

Types

type DismissChainMsg added in v0.2.3

type DismissChainMsg struct {
	Reason string
}

DismissChainMsg sent by component to the chain core in case of major setback

Jump to

Keyboard shortcuts

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