[−][src]Trait blockchain_core::SimpleBuilderExecutor
Builder executor
Associated Types
Loading content...Required methods
fn initialize_block(
&self,
parent_block: &Self::Block,
state: &mut Self::Externalities,
inherent: Self::Inherent
) -> Result<Self::BuildBlock, Self::Error>
&self,
parent_block: &Self::Block,
state: &mut Self::Externalities,
inherent: Self::Inherent
) -> Result<Self::BuildBlock, Self::Error>
Initialize a block from the parent block, and given state.
fn apply_extrinsic(
&self,
block: &mut Self::BuildBlock,
extrinsic: Self::Extrinsic,
state: &mut Self::Externalities
) -> Result<(), Self::Error>
&self,
block: &mut Self::BuildBlock,
extrinsic: Self::Extrinsic,
state: &mut Self::Externalities
) -> Result<(), Self::Error>
Apply extrinsic to a given block.
fn finalize_block(
&self,
block: &mut Self::BuildBlock,
state: &mut Self::Externalities
) -> Result<(), Self::Error>
&self,
block: &mut Self::BuildBlock,
state: &mut Self::Externalities
) -> Result<(), Self::Error>
Finalize a block.