Skip to main content

REFRESH_MARGIN_SECS

Constant REFRESH_MARGIN_SECS 

Source
pub const REFRESH_MARGIN_SECS: u64 = 300;
Expand description

Seconds before a scheduled rotation by which the transfers that Holder::refresh and Holder::due_resends plan are due, or half the time left when that is shorter. A plan made at or past the rotation’s time, which the mint has not made yet as far as its info says, has them all due at once. A payer should settle a payment this long before the rotation that drops a note it spends.