reth_provider

Trait ChangeSetReader

pub trait ChangeSetReader: Send + Sync {
    // Required method
    fn account_block_changeset(
        &self,
        block_number: u64,
    ) -> Result<Vec<AccountBeforeTx>, ProviderError>;
}
Expand description

AccountChange reader

Required Methods§

fn account_block_changeset( &self, block_number: u64, ) -> Result<Vec<AccountBeforeTx>, ProviderError>

Iterate over account changesets and return the account state from before this block.

Implementations on Foreign Types§

§

impl<'a, T> ChangeSetReader for &'a T
where T: 'a + ChangeSetReader + ?Sized, &'a T: Send + Sync,

§

fn account_block_changeset( &self, block_number: u64, ) -> Result<Vec<AccountBeforeTx>, ProviderError>

§

impl<T> ChangeSetReader for Box<T>
where T: ChangeSetReader + ?Sized, Box<T>: Send + Sync,

§

fn account_block_changeset( &self, block_number: u64, ) -> Result<Vec<AccountBeforeTx>, ProviderError>

§

impl<T> ChangeSetReader for Arc<T>
where T: ChangeSetReader + ?Sized, Arc<T>: Send + Sync,

§

fn account_block_changeset( &self, block_number: u64, ) -> Result<Vec<AccountBeforeTx>, ProviderError>

Implementors§

Source§

impl ChangeSetReader for MockEthProvider

Available on crate feature test-utils only.
§

impl<C, N> ChangeSetReader for NoopProvider<C, N>
where C: Send + Sync, N: NodePrimitives,

Source§

impl<N: ProviderNodeTypes> ChangeSetReader for BlockchainProvider2<N>

Source§

impl<N: ProviderNodeTypes> ChangeSetReader for BlockchainProvider<N>

Source§

impl<TX: DbTx, N: NodeTypes> ChangeSetReader for DatabaseProvider<TX, N>