Module config

Module config 

Source
Expand description

cuprated config

Re-exportsยง

pub use p2p::p2p_port;
pub use p2p::P2PConfig;
pub use rpc::restricted_rpc_port;
pub use rpc::unrestricted_rpc_port;
pub use rpc::RpcConfig;
pub use storage::StorageConfig;
pub use storage::TxpoolConfig;

Modulesยง

args ๐Ÿ”’
default ๐Ÿ”’
fs ๐Ÿ”’
macros ๐Ÿ”’
p2p ๐Ÿ”’
rayon ๐Ÿ”’
rpc ๐Ÿ”’
storage ๐Ÿ”’
tokio ๐Ÿ”’
tor ๐Ÿ”’
tracing_config ๐Ÿ”’

Structsยง

Config
The config for all of Cuprate.

Constantsยง

HEADER ๐Ÿ”’
Header to put at the start of the generated config file.

Functionsยง

read_config_and_args
Reads the args & config file, returning a Config.