Skip to main content

handle_confirm

Function handle_confirm 

Source
pub async fn handle_confirm(
    name: &str,
    alias: &str,
    rotate: bool,
    oobis: &[String],
    timeout: u64,
) -> Result<()>
Expand description

krust delegate confirm (kli delegate confirm): approve delegated events waiting for the local delegator alias.

A delegated event reaches the delegator in its delegable or misfit escrow. krust has no mailbox yet, so instead of reading one it can watch the delegate’s witness OOBIs (--oobi): keripy 1.2+ delegates have their witnesses receipt the event before asking for approval, so the witnesses serve it. Each approval anchors the event’s seal in a new interaction (or rotation) event, which the delegator’s witnesses then receipt so the delegate’s watcher (or keripy’s query) finds it fully witnessed.