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.
Modules
- Command-line option parsing.
- Contract Runtime component.
- The set of JSON-RPCs which the API server handles.
- Central storage component.
- Common types used across multiple components.
Macros
- Construct a fatal error effect.
- Unregisters a metric from the Prometheus registry.
Structs
- On-disk storage configuration.
- With-directory context.
Constants
- The maximum thread count which should be spawned by the tokio runtime.