Skip to main content

append_matching_block_logs

Function append_matching_block_logs 

Source
pub fn append_matching_block_logs<P>(
    all_logs: &mut Vec<Log>,
    provider_or_block: ProviderOrBlock<'_, P>,
    filter: &Filter,
    block_num_hash: BlockNumHash,
    receipts: &[P::Receipt],
    removed: bool,
    block_timestamp: u64,
) -> Result<(), ProviderError>
where P: BlockReader<Transaction: SignedTransaction>,
Expand description

Appends all matching logs of a block’s receipts. If the log matches, look up the corresponding transaction hash.