Expand description
cuprated library.
Call Node::launch to initialize and run the node. Returns a Node
with handles to node services.
§Example
ⓘ
use cuprated::{config::Config, Node};
let config = Config::read_from_path("cuprated.toml")?;
cuprated::logging::init_logging(&config);
let mut node = Node::launch(config).await;
let height = node.blockchain.context().chain_height;§cuprated
TODO
Modules§
- blockchain
- Blockchain
- config
- cuprated config
- constants
- General constants used throughout
cuprated. - logging
- Logging
- monitor
- Task spawning and shutdown coordination.
- version
- Misc version information about
cuprated.
Structs§
- Node
- An active
cupratednode.