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