Skip to main content

transparent_coinbase_balance_split

Function transparent_coinbase_balance_split 

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

Verifies that transparent funds are reported in the correct AccountBalance bucket (regular vs. coinbase), that immature coinbase value is reported as pending rather than spendable, and that it becomes spendable upon reaching coinbase maturity.