Expand description
Substrate block builder
This crate provides the BlockBuilder utility and the corresponding runtime api
BlockBuilder.
The block builder utility is used in the node as an abstraction over the runtime api to initialize a block, to push extrinsics and to finalize a block.
Structs§
- BlockBuilder 
- Utility for building new (valid) blocks from a stream of extrinsics.
- BuiltBlock 
- A block that was build by BlockBuilderplus some additional data.
- CollectedStorage Changes 
- Storage changes are the collected throughout the execution.
- CustomGenesis Block Builder 
- Custom genesis block builder to inject correct genesis block for Domains.
- DeltaBackend 
- DeltaBackend provides the TrieBackend using main backend and some delta changes that are not part of the main backend.
Traits§
- BlockBuilder Api 
- The BlockBuilderapi trait that provides the required functionality for building a block.
Functions§
- create_delta_ backend 
- Create a new trie backend with memory DB delta changes.