Versions in this module Expand all Collapse all v1 v1.1.0 Jun 19, 2022 Changes in this version + type ChainConfig struct + Config []byte + Upgrade []byte + type ChainParameters struct + CustomBeacons validators.Set + FxAliases []string + GenesisData []byte + ID ids.ID + SubnetID ids.ID + VMAlias string + type Manager interface + AddRegistrant func(Registrant) + CreateChain func(ChainParameters) + ForceCreateChain func(ChainParameters) + IsBootstrapped func(ids.ID) bool + Lookup func(string) (ids.ID, error) + LookupVM func(string) (ids.ID, error) + Router func() router.Router + Shutdown func() + SubnetID func(chainID ids.ID) (ids.ID, error) + func New(config *ManagerConfig) Manager + type ManagerConfig struct + ApricotPhase4MinPChainHeight uint64 + ApricotPhase4Time time.Time + AtomicMemory *atomic.Memory + BootstrapAncestorsMaxContainersReceived int + BootstrapAncestorsMaxContainersSent int + BootstrapMaxTimeGetAncestors time.Duration + ChainConfigs map[string]ChainConfig + ConsensusEvents *triggers.EventDispatcher + ConsensusGossipFrequency time.Duration + ConsensusParams avcon.Parameters + CriticalChains ids.Set + DBManager dbManager.Manager + DJTXAssetID ids.ID + DecisionEvents *triggers.EventDispatcher + GossipConfig sender.GossipConfig + Health health.Registerer + Keystore keystore.Keystore + Log logging.Logger + LogFactory logging.Factory + MeterVMEnabled bool + Metrics metrics.MultiGatherer + MsgCreator message.Creator + Net network.Network + NetworkID uint32 + NodeID ids.ShortID + ResetProposerVMHeightIndex bool + RetryBootstrap bool + RetryBootstrapWarnFrequency int + Router router.Router + Server *server.Server + ShutdownNodeFunc func(exitCode int) + StakingCert tls.Certificate + StakingEnabled bool + SubnetConfigs map[ids.ID]SubnetConfig + TimeoutManager *timeout.Manager + VMManager vms.Manager + Validators validators.Manager + WhitelistedSubnets ids.Set + XChainID ids.ID + type MockManager struct + func (mm MockManager) AddRegistrant(Registrant) + func (mm MockManager) Alias(ids.ID, string) error + func (mm MockManager) Aliases(ids.ID) ([]string, error) + func (mm MockManager) CreateChain(ChainParameters) + func (mm MockManager) ForceCreateChain(ChainParameters) + func (mm MockManager) IsBootstrapped(ids.ID) bool + func (mm MockManager) Lookup(s string) (ids.ID, error) + func (mm MockManager) LookupVM(s string) (ids.ID, error) + func (mm MockManager) PrimaryAlias(ids.ID) (string, error) + func (mm MockManager) RemoveAliases(ids.ID) + func (mm MockManager) Router() router.Router + func (mm MockManager) Shutdown() + func (mm MockManager) SubnetID(ids.ID) (ids.ID, error) + type Registrant interface + RegisterChain func(name string, engine common.Engine) + type Subnet interface + type SubnetConfig struct + ConsensusParameters avalanche.Parameters + ValidatorOnly bool