Function consider_slot
pub fn consider_slot(
current: &mut Option<(u32, u32)>,
address: u32,
bytes: &[u8; 2048],
)Expand description
Consider one journal slot while mounting: keep the newest committed slot’s address and generation. The payload stays in flash; the caller decodes the winner once the scan settles.