Expand description
Configuration for ant-node.
Structs§
- Bootstrap
Cache Config - Bootstrap cache configuration for persistent peer storage.
- Bootstrap
Peers Config - Bootstrap peers loaded from a shipped configuration file.
- Node
Config - Node configuration.
- Payment
Config - Payment verification configuration.
- Storage
Config - Storage configuration for chunk persistence.
- Testnet
Config - Testnet-specific configuration for relaxed IP diversity limits.
- Upgrade
Config - Auto-upgrade configuration.
Enums§
- Bootstrap
Source - The source from which bootstrap peers were resolved.
- EvmNetwork
Config - EVM network for payment processing.
- Network
Mode - Network mode for different deployment scenarios.
- Upgrade
Channel - 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”).