Expand description
Shared configuration loading.
Loads config from (in order, later overrides earlier):
- Embedded defaults.
node.tomlat the provided path (or$HOME/.arknet/node.tomlifNone).- Environment variables prefixed
ARKNET_(double-underscore as section separator).
Phase 0 stub: parses the shape without validating semantics. Validation
(stake minimums, role combinations, hardware budgets) lands in [arknet-node]
during Weeks 11-12.
Structs§
- Compute
Resources - Per-compute-role budget.
- DaSection
- Data availability layer settings.
- Network
Section [network]section.- Node
Config - Top-level node configuration.
- Node
Section [node]section.- Operator
Section [operator]section.- Resources
Section [resources]section.- Roles
Section [roles]section.- Router
Resources - Per-router-role budget.
- TeeSection
[tee]section — confidential inference via hardware TEE.- Telemetry
Section [telemetry]section.- Validator
Resources - Per-validator-role settings.
- Verifier
Resources - Per-verifier-role budget.