Skip to main content

sender_lookup

Function sender_lookup 

Source
pub fn sender_lookup(store: &Store, hostname: &str, id: &str) -> Option<Value>
Expand description

/agentmux/reactive/agent?id=’s answer when id is this instance’s own sender: its name and public key, so a peer can verify a Swarm broadcast from here. None for any other id, and before the first LAN broadcast minted the key, when there is nothing to verify.