Versions in this module Expand all Collapse all v1 v1.0.0 Jul 21, 2022 Changes in this version + type APIAuthConfig struct + APIAuthPassword string + APIRequireAuthToken bool + type APIConfig struct + AdminAPIEnabled bool + HealthAPIEnabled bool + InfoAPIEnabled bool + KeystoreAPIEnabled bool + MetricsAPIEnabled bool + type APIIndexerConfig struct + IndexAPIEnabled bool + IndexAllowIncomplete bool + type BootstrapConfig struct + BootstrapAncestorsMaxContainersReceived int + BootstrapAncestorsMaxContainersSent int + BootstrapBeaconConnectionTimeout time.Duration + BootstrapIDs []ids.NodeID + BootstrapIPs []ips.IPPort + BootstrapMaxTimeGetAncestors time.Duration + RetryBootstrap bool + RetryBootstrapWarnFrequency int + type Config struct + AdaptiveTimeoutConfig timer.AdaptiveTimeoutConfig + BenchlistConfig benchlist.Config + CPUTargeterConfig tracker.TargeterConfig + CfltAssetID ids.ID + ChainConfigs map[string]chains.ChainConfig + ConsensusGossipFrequency time.Duration + ConsensusParams coinflect.Parameters + ConsensusRouter router.Router + ConsensusShutdownTimeout time.Duration + DiskTargeterConfig tracker.TargeterConfig + EnableAssertions bool + EnableCrypto bool + FdLimit uint64 + GenesisBytes []byte + GossipConfig sender.GossipConfig + HealthCheckFreq time.Duration + LoggingConfig logging.Config + MeterVMEnabled bool + NetworkConfig network.Config + NetworkID uint32 + PluginDir string + ProfilerConfig profiler.Config + RequiredAvailableDiskSpace uint64 + RouterHealthConfig router.HealthConfig + SubnetConfigs map[ids.ID]chains.SubnetConfig + SystemTrackerCPUHalflife time.Duration + SystemTrackerDiskHalflife time.Duration + SystemTrackerFrequency time.Duration + SystemTrackerProcessingHalflife time.Duration + VMManager vms.Manager + WarningThresholdAvailableDiskSpace uint64 + WhitelistedSubnets ids.Set + type DatabaseConfig struct + Config []byte + Name string + Path string + type HTTPConfig struct + APIAllowedOrigins []string + HTTPHost string + HTTPPort uint16 + HTTPSCert []byte + HTTPSEnabled bool + HTTPSKey []byte + ShutdownTimeout time.Duration + ShutdownWait time.Duration + type IPCConfig struct + IPCAPIEnabled bool + IPCDefaultChainIDs []string + IPCPath string + type IPConfig struct + AttemptedNATTraversal bool + IPPort ips.DynamicIPPort + IPResolutionFreq time.Duration + IPUpdater dynamicip.Updater + Nat nat.Router + type Node struct + APIServer server.Server + Config *Config + ConsensusAcceptorGroup snow.AcceptorGroup + DB database.Database + DBManager manager.Manager + DecisionAcceptorGroup snow.AcceptorGroup + DoneShuttingDown sync.WaitGroup + ID ids.NodeID + IPCs *ipcs.ChainIPCs + Log logging.Logger + LogFactory logging.Factory + MetricsGatherer metrics.MultiGatherer + MetricsRegisterer *prometheus.Registry + Net network.Network + VMRegistry registry.VMRegistry + func (n *Node) Dispatch() error + func (n *Node) ExitCode() int + func (n *Node) Initialize(config *Config, logger logging.Logger, logFactory logging.Factory) error + func (n *Node) Shutdown(exitCode int) + type StakingConfig struct + DisabledStakingWeight uint64 + EnableStaking bool + StakingCertPath string + StakingKeyPath string + StakingTLSCert tls.Certificate + type StateSyncConfig struct + StateSyncIDs []ids.NodeID + StateSyncIPs []ips.IPPort v1.0.0-alpha Nov 22, 2022