Skip to main content

urgent_revocation_pass

Function urgent_revocation_pass 

Source
pub(crate) async fn urgent_revocation_pass(
    state: &AppState,
    config: &Config,
    ctx: &Arc<SignerContext>,
    gossip: &Option<Arc<GossipNode>>,
    known_revoked: &mut HashMap<String, BTreeSet<Vec<u8>>>,
)
Expand description

One off-cycle urgent-revocation pass: for each opted-in CA, snapshot the source, diff against the last-known revoked set, and — if new revocations appeared — produce and reload an off-cycle bundle for just that scope, then announce it (generation + explicit urgent notice) over gossip.