Skip to main content

Module config

Module config 

Source
Expand description

Configuration for ant-node.

Structs§

BootstrapCacheConfig
Bootstrap cache configuration for persistent peer storage.
BootstrapPeersConfig
Bootstrap peers loaded from a shipped configuration file.
NodeConfig
Node configuration.
PaymentConfig
Payment verification configuration.
StorageConfig
Storage configuration for chunk persistence.
TestnetConfig
Testnet-specific configuration for relaxed IP diversity limits.
UpgradeConfig
Auto-upgrade configuration.

Enums§

BootstrapSource
The source from which bootstrap peers were resolved.
EvmNetworkConfig
EVM network for payment processing.
NetworkMode
Network mode for different deployment scenarios.
UpgradeChannel
Upgrade channel for auto-updates.

Constants§

BOOTSTRAP_PEERS_ENV
Environment variable that overrides the bootstrap peers file search path.
BOOTSTRAP_PEERS_FILENAME
The filename for the bootstrap peers configuration file.
NODES_SUBDIR
Subdirectory under the root dir that contains per-node data directories.
NODE_IDENTITY_FILENAME
Filename for the persisted node identity keypair.

Functions§

default_nodes_dir
Default directory containing per-node data subdirectories.
default_root_dir
Default base directory for node data (platform data dir for “ant”).