Skip to main content

Module config

Module config 

Source

Structs§

Config
ConfigDefaults
Minimal set of default values that a plugin can supply for core runtime parameters (only applied when the user has not explicitly set them).
ConfigLocks
Hard overrides for configuration fields. These represent values the application developer wants to bake into the binary. Use together with LockConflictPolicy to control whether external config may differ.
DiscoveryConfig
EncryptionConfig
EncryptionNoiseConfig
EncryptionPaths
LoggingConfig
NetworkConfig
NetworkPersistenceConfig
NodeConfig
NodeLocks
RealmAccessConfig
Realm-scoped policy (optional) for peer type admission. Developers may define their own node types for a given realm (e.g., “daemon”, “admin”, “worker”). If set, remote peers MUST advertise a node_type present in this allow-list; otherwise the connection is rejected.
RelayConfig
SimpleHardcoded
A simple facade for declaring hardcoded values with an overridable flag, mirroring the user’s mental model: “key => { value, overridable }”.
TrustPolicyConfig
TrustPolicyPathsConfig

Enums§

LockConflictPolicy
Policy for how to handle conflicts when a locked value differs from a value provided via external configuration (e.g., file/env/cli).