Skip to main content

Module config

Module config 

Source
Expand description

Native-node configuration file model and defaults.

Structs§

Config
Serializable native-node configuration.
NativeGatewayConfig
Native foreground-gateway configuration.
StorageConfig
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.
DEFAULT_STORAGE_CAPACITY
Default storage capacity in bytes for native storage backends.

Functions§

get_storage_location
Builds the default storage path under the user home directory.