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 + const TCP + type Config struct + APIAllowedOrigins []string + APIAuthPassword string + APIRequireAuthToken bool + AdminAPIEnabled bool + AttemptedNATTraversal bool + BenchlistConfig benchlist.Config + BootstrapBeaconConnectionTimeout time.Duration + BootstrapIDs []ids.ShortID + BootstrapIPs []utils.IPDesc + BootstrapMaxTimeGetAncestors time.Duration + BootstrapMultiputMaxContainersReceived int + BootstrapMultiputMaxContainersSent int + ChainConfigs map[string]chains.ChainConfig + CompressionEnabled bool + ConsensusGossipAcceptedFrontierSize uint + ConsensusGossipFrequency time.Duration + ConsensusGossipOnAcceptSize uint + ConsensusParams avalanche.Parameters + ConsensusRouter router.Router + ConsensusShutdownTimeout time.Duration + DBName string + DBPath string + DisabledStakingWeight uint64 + DjtxAssetID ids.ID + DynamicPublicIPResolver dynamicip.Resolver + DynamicUpdateDuration time.Duration + EnableAssertions bool + EnableCrypto bool + EnableStaking bool + FetchOnly bool + GenesisBytes []byte + HTTPHost string + HTTPPort uint16 + HTTPSCertFile string + HTTPSEnabled bool + HTTPSKeyFile string + HealthAPIEnabled bool + HealthCheckFreq time.Duration + IPCAPIEnabled bool + IPCDefaultChainIDs []string + IPCPath string + IndexAPIEnabled bool + IndexAllowIncomplete bool + InfoAPIEnabled bool + KeystoreAPIEnabled bool + LoggingConfig logging.Config + MeterVMEnabled bool + MetricsAPIEnabled bool + Nat nat.Router + NetworkConfig network.Config + NetworkID uint32 + PeerAliasTimeout time.Duration + PeerListGossipFreq time.Duration + PeerListGossipSize uint32 + PeerListSize uint32 + PluginDir string + ProfilerConfig profiler.Config + RetryBootstrap bool + RetryBootstrapMaxAttempts int + RouterHealthConfig router.HealthConfig + StakingIP utils.DynamicIPDesc + StakingTLSCert tls.Certificate + VMAliases map[ids.ID][]string + WhitelistedSubnets ids.Set + type Node struct + APIServer server.Server + Config *Config + ConsensusDispatcher *triggers.EventDispatcher + DB database.Database + DBManager manager.Manager + DecisionDispatcher *triggers.EventDispatcher + DoneShuttingDown sync.WaitGroup + HTTPLog logging.Logger + ID ids.ShortID + IPCs *ipcs.ChainIPCs + Log logging.Logger + LogFactory logging.Factory + Net network.Network + func (n *Node) Dispatch() error + func (n *Node) ExitCode() int + func (n *Node) Initialize(config *Config, dbManager manager.Manager, logger logging.Logger, ...) error + func (n *Node) Shutdown(exitCode int)