Crate sc_block_buildersource ·
Substrate block builder
This crate provides the
BlockBuilder utility and the corresponding runtime api
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.
- Utility for building new (valid) blocks from a stream of extrinsics.
- A block that was build by
BlockBuilderplus some additional data.
- Used as parameter to
BlockBuilderProviderto express if proof recording should be enabled.
BlockBuilderapi trait that provides the required functionality for building a block.
- Block builder provider