Versions in this module Expand all Collapse all v0 v0.1.0 Dec 24, 2020 Changes in this version + const TCP + var Version = version.NewDefaultVersion(constants.PlatformName, 1, 1, 1) + type Config struct + APIAuthPassword string + APIRequireAuthToken bool + AdminAPIEnabled bool + AttemptedNATTraversal bool + BenchlistConfig benchlist.Config + BootstrapPeers []*Peer + ConnMeterMaxConns int + ConnMeterResetDuration time.Duration + ConsensusGossipFrequency time.Duration + ConsensusParams avalanche.Parameters + ConsensusRouter router.Router + ConsensusShutdownTimeout time.Duration + CorethConfig string + DB database.Database + DisabledStakingWeight uint64 + DisconnectedCheckFreq time.Duration + DisconnectedRestartTimeout time.Duration + DynamicPublicIPResolver dynamicip.Resolver + DynamicUpdateDuration time.Duration + EnableAssertions bool + EnableCrypto bool + EnableP2PTLS bool + EnableStaking bool + HTTPHost string + HTTPPort uint16 + HTTPSCertFile string + HTTPSEnabled bool + HTTPSKeyFile string + HealthAPIEnabled bool + IPCAPIEnabled bool + IPCDefaultChainIDs []string + IPCPath string + InfoAPIEnabled bool + KeystoreAPIEnabled bool + LoggingConfig logging.Config + MaxNonStakerPendingMsgs uint32 + MaxPendingMsgs uint32 + MetricsAPIEnabled bool + Nat nat.Router + NetworkConfig timer.AdaptiveTimeoutConfig + NetworkID uint32 + PluginDir string + RestartOnDisconnected bool + SendQueueSize uint32 + StakerCPUPortion float64 + StakerMSGPortion float64 + StakingCertFile string + StakingIP utils.DynamicIPDesc + StakingKeyFile string + ThroughputPort uint16 + ThroughputServerEnabled bool + WhitelistedSubnets ids.Set + type Node struct + APIServer api.Server + Config *Config + ConsensusDispatcher *triggers.EventDispatcher + DB database.Database + DecisionDispatcher *triggers.EventDispatcher + 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) Initialize(config *Config, logger logging.Logger, logFactory logging.Factory, ...) error + func (n *Node) Shutdown() + type Peer struct + ID ids.ShortID + IP utils.IPDesc