[][src]Trait blockchain_core::BlockExecutor

pub trait BlockExecutor {
    type Error: Error + 'static;
    type Block: Block;
    type Externalities: ?Sized;
    fn execute_block(
        &self,
        block: &Self::Block,
        state: &mut Self::Externalities
    ) -> Result<(), Self::Error>; }

Block executor

Associated Types

type Error: Error + 'static

Error type

type Block: Block

Block type

type Externalities: ?Sized

Externalities type

Loading content...

Required methods

fn execute_block(
    &self,
    block: &Self::Block,
    state: &mut Self::Externalities
) -> Result<(), Self::Error>

Execute the block via a block object and given state.

Loading content...

Implementors

Loading content...