Overview
This reference documents all configuration options available for ComputeNet nodes and clients.
Draft Documentation
Configuration options are subject to change during development.
Configuration File
The default configuration file is config.toml in the data directory.
Node Section
| Option | Type | Description |
|---|---|---|
| name | string | Node identifier |
| network | string | Network name (testnet, mainnet) |
| data_dir | path | Data storage directory |
Network Section
| Option | Type | Description |
|---|---|---|
| listen_addr | string | Address to listen on |
| max_peers | integer | Maximum peer connections |
| bootstrap | array | Bootstrap node addresses |
Compute Section
| Option | Type | Description |
|---|---|---|
| max_concurrent | integer | Max concurrent jobs |
| runtimes | array | Supported runtimes |
| max_memory_mb | integer | Memory limit per job |
Environment Variables
All options can be overridden with environment variables using theCOMPUTENET_ prefix.