Trait reth_provider::BlockExecutionWriter
source · pub trait BlockExecutionWriter:
BlockWriter
+ Send
+ Sync {
// Required methods
fn take_block_and_execution_range(
&self,
range: RangeInclusive<BlockNumber>,
) -> ProviderResult<Chain>;
fn remove_block_and_execution_range(
&self,
range: RangeInclusive<BlockNumber>,
) -> ProviderResult<()>;
}
Expand description
BlockExecution Writer
Required Methods§
sourcefn take_block_and_execution_range(
&self,
range: RangeInclusive<BlockNumber>,
) -> ProviderResult<Chain>
fn take_block_and_execution_range( &self, range: RangeInclusive<BlockNumber>, ) -> ProviderResult<Chain>
Take range of blocks and its execution result
sourcefn remove_block_and_execution_range(
&self,
range: RangeInclusive<BlockNumber>,
) -> ProviderResult<()>
fn remove_block_and_execution_range( &self, range: RangeInclusive<BlockNumber>, ) -> ProviderResult<()>
Remove range of blocks and its execution result