Expand description
cuprated config
Structs§
- Config
- The config for all of Cuprate.
- DryRun
Result - Result of a single check from
Config::dry_run_check. - P2PConfig
- P2P config.
- RpcConfig
- RPC config.
- Storage
Config - The storage config.
- Txpool
Config - The tx-pool config.
Functions§
- find_
config - Finds and reads a config file from the default locations.
- p2p_
port - Gets the port to listen on for p2p connections.
- resolve_
max_ memory - Resolves
target_max_memoryfrom system RAM if unset. - restricted_
rpc_ port - Gets the port to listen on for restricted RPC connections.
- unrestricted_
rpc_ port - Gets the port to listen on for unrestricted RPC connections.