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§

Modules§

  • Command-line option parsing.
  • The consensus component. Provides distributed consensus among the nodes in the network.
  • Contract Runtime component.
  • Logging via the tracing crate.
  • The set of JSON-RPCs which the API server handles.
  • Central storage component.
  • Common types used across multiple components.
  • Various functions that are not limited to a particular module, but are too small to warrant being factored out into standalone crates.

Macros§

Structs§

Constants§

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