Skip to main content

value_bounded_transparent_gather

Function value_bounded_transparent_gather 

Source
pub fn value_bounded_transparent_gather<DSF>(dsf: DSF, cache: impl TestCache)
where DSF: DataStoreFactory,
Available on crate feature transparent-inputs and (crate features test-dependencies) only.
Expand description

Verifies that the value-bounded select_spendable_transparent_outputs gather returns only enough UTXOs to cover the requested TargetValue, rather than every spendable output held by the account. This is the behavior that prevents wallets with large numbers of small transparent UTXOs (e.g. recovered zcashd imports) from falling over when a small transfer is requested.