Skip to main content

emit_root_key_changed

Function emit_root_key_changed 

Source
pub fn emit_root_key_changed(
    events: &impl EventWriter<InternalEvent>,
    db: &impl DbQuery,
    marked: bool,
) -> Result<(), StorageError>
Expand description

Report a stored root-key change: push re-registers, the legacy stream receives the key, and the outbox wakes when the key is owed.