Versions in this module Expand all Collapse all v1 v1.0.0 Oct 24, 2024 Changes in this version + type Config struct + EnableSanityCheckPruningUTXOSet bool + IsArchival bool + SkipAddingGenesis bool + type DifficultyManagerConstructor func(model.DBReader, model.GHOSTDAGManager, model.GHOSTDAGDataStore, ...) model.DifficultyManager + type Factory interface + NewConsensus func(config *Config, db infrastructuredatabase.Database, dbPrefix *prefix.Prefix, ...) (externalapi.Consensus, bool, error) + NewTestConsensus func(config *Config, testName string) (tc testapi.TestConsensus, teardown func(keepDataDir bool), err error) + SetTestDataDir func(dataDir string) + SetTestDifficultyManager func(difficultyConstructor DifficultyManagerConstructor) + SetTestGHOSTDAGManager func(ghostdagConstructor GHOSTDAGManagerConstructor) + SetTestLevelDBCacheSize func(cacheSizeMiB int) + SetTestPastMedianTimeManager func(medianTimeConstructor PastMedianTimeManagerConstructor) + SetTestPreAllocateCache func(preallocateCaches bool) + func NewFactory() Factory + type GHOSTDAGManagerConstructor func(databaseContext model.DBReader, dagTopologyManager model.DAGTopologyManager, ...) model.GHOSTDAGManager + type PastMedianTimeManagerConstructor func(int, model.DBReader, model.DAGTraversalManager, model.BlockHeaderStore, ...) model.PastMedianTimeManager