Skip to main content

root_set

Function root_set 

Source
pub fn root_set(
    user: &PortableUserId,
    genesis: Option<&IdentityGenesis>,
    states: &[PortableIdentityState],
) -> RootSet
Expand description

The roots of user, from its genesis (none for a phrase identity whose genesis the verifier has not seen: its one root is the phrase root its id is) and states, each already checked (PortableIdentityState::verify) and of user.