blockvalidator

package
v2.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: ISC Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(powMax *big.Int,
	skipPoW bool,
	genesisHash *externalapi.DomainHash,
	enableNonNativeSubnetworks bool,
	maxBlockMass uint64,
	mergeSetSizeLimit uint64,
	maxBlockParents externalapi.KType,
	timestampDeviationTolerance int,
	targetTimePerBlock time.Duration,
	hfDAAScore uint64,
	maxBlockLevel int,

	databaseContext model.DBReader,

	difficultyManager model.DifficultyManager,
	pastMedianTimeManager model.PastMedianTimeManager,
	transactionValidator model.TransactionValidator,
	ghostdagManagers []model.GHOSTDAGManager,
	dagTopologyManagers []model.DAGTopologyManager,
	dagTraversalManager model.DAGTraversalManager,
	coinbaseManager model.CoinbaseManager,
	mergeDepthManager model.MergeDepthManager,
	reachabilityManager model.ReachabilityManager,
	finalityManager model.FinalityManager,
	blockParentBuilder model.BlockParentBuilder,
	pruningManager model.PruningManager,
	parentsManager model.ParentsManager,

	pruningStore model.PruningStore,
	blockStore model.BlockStore,
	ghostdagDataStores []model.GHOSTDAGDataStore,
	blockHeaderStore model.BlockHeaderStore,
	blockStatusStore model.BlockStatusStore,
	reachabilityStore model.ReachabilityDataStore,
	consensusStateStore model.ConsensusStateStore,
	daaBlocksStore model.DAABlocksStore,

	txMassCalculator *txmass.Calculator,
) model.BlockValidator

New instantiates a new BlockValidator

Types

This section is empty.

Jump to

Keyboard shortcuts

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