pub fn scan_detects_transparent_spend<DSF>(dsf: DSF, cache: impl TestCache)where
DSF: DataStoreFactory,
<<DSF as DataStoreFactory>::DataStore as WalletRead>::AccountId: ConditionallySelectable + Default + Ord + Hash + Send + Sync + 'static,Available on crate feature
transparent-inputs and (crate features test-dependencies) only.Expand description
Scans a block that pays a wallet transparent address, then the block that spends the output, and verifies that the spend is recognized directly during the scan of the later block.
This is the in-order counterpart of scan_detects_out_of_order_transparent_spend: here the
wallet already tracks the outpoint when the spending block is scanned, so the spend is matched
without consulting the spend map.