Expand description
Native-node configuration file model and defaults.
Re-exports§
pub use crate::consts::DEFAULT_STORAGE_CAPACITY;
Structs§
- Bootstrap
Config - The
bootstrapsection: targetsrings runkeeps reachable for the life of the process.rings initwrites it empty; seecrate::native::bootstrap. - Config
- Serializable native-node configuration.
- Native
Gateway Config - Native foreground-gateway configuration: the
gateway:section of the node config file. - Storage
Config - Configuration for a node storage backend.
Constants§
- DEFAULT_
ENDPOINT_ URL - Default internal endpoint URL used by CLI clients.
- DEFAULT_
EXTERNAL_ API_ ADDR - Default external JSON-RPC listener address.
- DEFAULT_
GATEWAY_ STATUS_ REFRESH_ SECS - Default interval for refreshing gateway status.
- DEFAULT_
ICE_ SERVERS - Default WebRTC ICE server list.
- DEFAULT_
INTERNAL_ API_ PORT - Default internal JSON-RPC API port.
- DEFAULT_
NETWORK_ ID - Default Rings network identifier for native nodes.
- DEFAULT_
STABILIZE_ INTERVAL - Default Chord stabilization interval in seconds.
Functions§
- get_
storage_ location - Builds the default storage path under the user home directory.