pub fn expire_registrations(epoch: EpochTime, limit: usize)
Removes all expired registrations, e.g. those that expire in epochs earlier than or equal to the passed epoch.