Skip to main content

numbering_updates

Function numbering_updates 

Source
pub fn numbering_updates(accounts: &[IdentityAccount]) -> Vec<NumberingUpdate>
Expand description

The numbering to write. Each account with an email and no number gets the group’s highest number ever handed out plus one, oldest first (creation time, then id), so an existing group is numbered in the order its accounts were made. “Ever”: every member records the group’s high-water mark (seqmax), so deleting the account that held the highest number doesn’t free it for the next sign-in.