prune_stale_tx

Function prune_stale_tx 

Source
pub async fn prune_stale_tx<MC: RawMutex + 'static, MF: RawMutex + 'static, F: JournalFlash + 'static>(
    counters: &'static NodeCountersMutex<MC, MF, F>,
    public_key: &[u8; 32],
)
Expand description

Drop a previous identity’s persisted TX boundary (its context is the raw 32-byte public key; per-peer RX boundaries are keyed by the peer key and stay meaningful across identity replacement). The next dirty flush persists the pruned map.