pub fn scan_block<P, AccountId, IvkTag, E>(
params: &P,
block: CompactBlock,
scanning_keys: &ScanningKeys<AccountId, IvkTag>,
spend_ids: &SpendIdentifiers<AccountId>,
prior_block_metadata: Option<&BlockMetadata>,
find_account_for_address: impl Fn(&TransparentAddress) -> Result<Option<(AccountId, Option<TransparentKeyScope>)>, E>,
) -> Result<ScannedBlock<AccountId>, ScanBlockError<E>>Expand description
Scans a CompactBlock with a set of ScanningKeys.
Returns a vector of WalletTxs decryptable by any of the given keys. If an output is
decrypted by a full viewing key, the nullifiers of that output will also be computed.