Versions in this module Expand all Collapse all v0 v0.1.0 Dec 24, 2020 Changes in this version + 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 + AVAXAssetID ids.ID + AtomicMemory *atomic.Memory + ConsensusEvents *triggers.EventDispatcher + ConsensusParams avcon.Parameters + CriticalChains ids.Set + DB database.Database + DecisionEvents *triggers.EventDispatcher + EpochDuration time.Duration + EpochFirstTransition time.Time + HealthService health.CheckRegisterer + Keystore *keystore.Keystore + Log logging.Logger + LogFactory logging.Factory + MaxNonStakerPendingMsgs uint32 + MaxPendingMsgs uint32 + Net network.Network + NetworkID uint32 + NodeID ids.ShortID + Router router.Router + Server *api.Server + StakerCPUPortion float64 + StakerMSGPortion float64 + 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, vm interface{})