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§
- Block
Builder - Utility for building new (valid) blocks from a stream of extrinsics.
- Block
Builder Builder - A builder for creating an instance of
BlockBuilder
. - Block
Builder Builder Stage1 - The second stage of the
BlockBuilderBuilder
. - Block
Builder Builder Stage2 - The second stage of the
BlockBuilderBuilder
. - Built
Block - A block that was build by
BlockBuilder
plus some additional data.
Traits§
- Block
Builder Api - The
BlockBuilder
api trait that provides the required functionality for building a block.