Crate essential_node

Source
Expand description

The Essential node implementation.

The primary API for accessing blocks and contracts is provided via the [ConnectionPool] type, accessible via the db function.

The node, via the run function:

  • Runs the relayer stream and syncs blocks.
  • Performs validation.

Re-exports§

pub use validate::validate_dry_run;
pub use validate::validate_solution_set_dry_run;
pub use essential_node_db as db;

Modules§

validate
Validation

Structs§

Handle
Handle for closing or joining the relayer and validation streams.
RunConfig
Options for running the node.

Functions§

ensure_big_bang_block
Ensures that a big bang block exists in the DB for the given BigBang configuration.
run
Optionally run the relayer and validation stream.