Skip to main content

plan_truncation

Function plan_truncation 

Source
pub fn plan_truncation(
    wallet_state: WalletTruncationState,
    truncate_height: BlockHeight,
) -> TruncationPlan
Expand description

Decides the correct truncation of the wallet, purely.

See the module documentation for the contract the returned plan guarantees per store.