Expand description
Core types used within this implementation of the Essential protocol.
Modules§
- block
- The
Block
type and related implementations. - block_
notify - Wrappers around tokio’s
watch
channel for notifying of new blocks. - contract_
registry - Functions for constructing keys into the “contract registry” contract state.
- program_
registry - Functions for constructing keys into the “program registry” contract state.
Structs§
- BigBang
- Describes how to construct the big-bang (aka “genesis”) block.
- Block
- An essential block.
- Block
Header - The block header, containing metadata about the block.
Constants§
- DEFAULT_
BIG_ BANG - The default big-bang configuration.
Functions§
- block_
state_ mutations - Generate the mutations required for a solution that sets the block state to the given block number and timestamp.
- block_
state_ solution - Generate a solution that sets the block state to the given block number and timestamp.
- register_
contract_ mutations - Generate the mutations required to register a given contract within the big bang’s “contract
registry” contract. This is useful for constructing contract deployment
Solution
s. - register_
contract_ solution - Create a solution for registering the given contract at the given contract registry.
- register_
program_ mutations - Generate the mutations required to register a given program within the big bang’s “program
registry” contract. This is useful for constructing program deployment
Solution
s. - register_
program_ solution - Create a solution for registering the given program at the given program registry.