Versions in this module Expand all Collapse all v1 v1.4.5 Jul 11, 2021 Changes in this version + const TCP + type Config struct + APIAllowedOrigins []string + APIAuthPassword string + APIRequireAuthToken bool + AdminAPIEnabled bool + AttemptedNATTraversal bool + AvaxAssetID ids.ID + BenchlistConfig benchlist.Config + BootstrapBeaconConnectionTimeout time.Duration + BootstrapIDs []ids.ShortID + BootstrapIPs []utils.IPDesc + ChainConfigs map[ids.ID]chains.ChainConfig + ConnMeterMaxConns int + ConnMeterResetDuration time.Duration + ConsensusGossipFrequency time.Duration + ConsensusParams avalanche.Parameters + ConsensusRouter router.Router + ConsensusShutdownTimeout time.Duration + CorethConfig string + DBEnabled bool + DBPath string + DisabledStakingWeight uint64 + 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 + MaxNonStakerPendingMsgs uint32 + MaxPendingMsgs uint32 + MetricsAPIEnabled bool + Nat nat.Router + NetworkConfig timer.AdaptiveTimeoutConfig + NetworkHealthConfig network.HealthConfig + NetworkID uint32 + PeerAliasTimeout time.Duration + PeerListGossipFreq time.Duration + PeerListGossipSize uint32 + PeerListSize uint32 + PluginDir string + RetryBootstrap bool + RetryBootstrapMaxAttempts int + RouterHealthConfig router.HealthConfig + SendQueueSize uint32 + StakerCPUPortion float64 + StakerMSGPortion float64 + StakingIP utils.DynamicIPDesc + StakingTLSCert tls.Certificate + 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)