Versions in this module Expand all Collapse all v1 v1.1.1 Dec 18, 2024 Changes in this version + type APIAuthConfig struct + APIAuthPassword string + APIRequireAuthToken bool + type APIConfig struct + AdminAPIEnabledSecret string + 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 + AvaxAssetID ids.ID + BenchlistConfig benchlist.Config + CPUTargeterConfig tracker.TargeterConfig + ChainAliases map[ids.ID][]string + ChainConfigs map[string]chains.ChainConfig + ChainDataDir string + ConsensusAppConcurrency int + ConsensusGossipFrequency time.Duration + ConsensusRouter router.Router + ConsensusShutdownTimeout time.Duration + DiskTargeterConfig tracker.TargeterConfig + FdLimit uint64 + GenesisBytes []byte + HealthCheckFreq time.Duration + LoggingConfig logging.Config + MeterVMEnabled bool + MinPercentConnectedStakeHealthy map[ids.ID]float64 + NetworkConfig network.Config + NetworkID uint32 + PluginDir string + ProfilerConfig profiler.Config + ProvidedFlags map[string]interface{} + RequiredAvailableDiskSpace uint64 + RouterHealthConfig router.HealthConfig + SubnetConfigs map[ids.ID]subnets.Config + SystemTrackerCPUHalflife time.Duration + SystemTrackerDiskHalflife time.Duration + SystemTrackerFrequency time.Duration + SystemTrackerProcessingHalflife time.Duration + TraceConfig trace.Config + TrackedSubnets set.Set[ids.ID] + UseCurrentHeight bool + VMAliaser ids.Aliaser + WarningThresholdAvailableDiskSpace uint64 + 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 + BlockAcceptorGroup snow.AcceptorGroup + Config *Config + DB database.Database + DBManager manager.Manager + DoneShuttingDown sync.WaitGroup + ID ids.NodeID + IPCs *ipcs.ChainIPCs + Log logging.Logger + LogFactory logging.Factory + MetricsGatherer metrics.MultiGatherer + MetricsRegisterer *prometheus.Registry + Net network.Network + TxAcceptorGroup snow.AcceptorGroup + VMFactoryLog logging.Logger + VMManager vms.Manager + VMRegistry registry.VMRegistry + VertexAcceptorGroup snow.AcceptorGroup + 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 + StakingSignerPath string + StakingSigningKey *bls.SecretKey + StakingTLSCert tls.Certificate + type StateSyncConfig struct + StateSyncIDs []ids.NodeID + StateSyncIPs []ips.IPPort