Expand description
Configuration for ant-node.
Structs§
- Bootstrap
Cache Config - Bootstrap cache configuration for persistent peer storage.
- Node
Config - Node configuration.
- Payment
Config - Payment verification configuration.
- Storage
Config - Storage configuration for chunk persistence.
- Testnet
Config - Testnet-specific configuration for relaxed anti-Sybil protection.
- Upgrade
Config - Auto-upgrade configuration.
Enums§
- EvmNetwork
Config - EVM network for payment processing.
- IpVersion
- IP version configuration.
- Network
Mode - Network mode for different deployment scenarios.
- Upgrade
Channel - Upgrade channel for auto-updates.
Constants§
- 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”).