Crate casper_node

Source
Expand description

§Casper blockchain node

This crate contain the core application for the Casper blockchain. Run with --help to see available command-line arguments.

§Application structure

While the main function is the central entrypoint for the node application, its core event loop is found inside the reactor.

Re-exports§

pub use utils::WithDir;

Modules§

cli
Command-line option parsing.
consensus
The consensus component. Provides distributed consensus among the nodes in the network.
contract_runtime
Contract Runtime component.
logging
Logging via the tracing crate.
storage
Central storage component.
types
Common types used across multiple components.
utils
Various functions that are not limited to a particular module, but are too small to warrant being factored out into standalone crates.

Macros§

fatal
Construct a fatal error effect.
unregister_metric
Unregisters a metric from the Prometheus registry.

Structs§

MainReactorConfig
Root configuration.
StorageConfig
On-disk storage configuration.

Constants§

MAX_THREAD_COUNT
The maximum thread count which should be spawned by the tokio runtime.