Skip to main content

uid_key_owed

Function uid_key_owed 

Source
async fn uid_key_owed(
    state: &AppState,
    claimed: &str,
    name_key: &[u8],
) -> Option<(String, Vec<u8>)>
Expand description

The UID key the peer gave beside claimed’s name key: the cached answer, or, when a UID is already pinned under the name and the cache has none, one fresh ask.