Skip to main content

renew_due

Function renew_due 

Source
pub fn renew_due<S: Store>(
    j: &mut Journal<S>,
    due: &[Due],
    now: Timestamp,
    boot_at: Timestamp,
) -> usize
Expand description

A Renew for each lease in due. A record refused (a takeover won the race since due was read) costs only itself; the others are renewed. Returns how many were.