Versions in this module Expand all Collapse all v0 v0.1.3 Jun 25, 2022 v0.1.0 Jun 25, 2022 Changes in this version + var BootstrappedKey = []byte + 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) + Alias func(ids.ID, string) error + Aliases func(ids.ID) []string + 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 + AtomicMemory *atomic.Memory + BootstrapMaxTimeGetAncestors time.Duration + BootstrapMultiputMaxContainersReceived int + BootstrapMultiputMaxContainersSent int + ChainConfigs map[string]ChainConfig + ConsensusEvents *triggers.EventDispatcher + ConsensusParams avcon.Parameters + CriticalChains ids.Set + DBManager dbManager.Manager + DJTXAssetID ids.ID + DecisionEvents *triggers.EventDispatcher + EpochDuration time.Duration + EpochFirstTransition time.Time + FetchOnly bool + FetchOnlyFrom validators.Set + HealthService health.Service + Keystore keystore.Keystore + Log logging.Logger + LogFactory logging.Factory + MeterVMEnabled bool + Net network.Network + NetworkID uint32 + NodeID ids.ShortID + RetryBootstrap bool + RetryBootstrapMaxAttempts int + Router router.Router + Server *server.Server + ShutdownNodeFunc func(exitCode int) + StakingEnabled bool + 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 + 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) Router() router.Router + func (mm MockManager) Shutdown() + func (mm MockManager) SubnetID(ids.ID) (ids.ID, error) + type Registrant interface + RegisterChain func(name string, ctx *snow.Context, engine common.Engine) + type Subnet interface