Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConsensusComponentsFactory ¶
func NewConsensusComponentsFactory(args ConsensusComponentsFactoryArgs) (*consensusComponentsFactory, error)
NewConsensusComponentsFactory creates an instance of consensusComponentsFactory
func NewManagedConsensusComponents ¶
func NewManagedConsensusComponents(ccf *consensusComponentsFactory) (*managedConsensusComponents, error)
NewManagedConsensusComponents creates a managed consensus components handler
Types ¶
type ConsensusComponentsFactoryArgs ¶
type ConsensusComponentsFactoryArgs struct { Config config.Config FlagsConfig config.ContextFlagsConfig BootstrapRoundIndex uint64 CoreComponents factory.CoreComponentsHolder NetworkComponents factory.NetworkComponentsHolder CryptoComponents factory.CryptoComponentsHolder DataComponents factory.DataComponentsHolder ProcessComponents factory.ProcessComponentsHolder StateComponents factory.StateComponentsHolder StatusComponents factory.StatusComponentsHolder StatusCoreComponents factory.StatusCoreComponentsHolder ScheduledProcessor consensus.ScheduledProcessor IsInImportMode bool ShouldDisableWatchdog bool }
ConsensusComponentsFactoryArgs holds the arguments needed to create a consensus components factory
Click to show internal directories.
Click to hide internal directories.