identity_is_trustworthy

Function identity_is_trustworthy 

Source
pub fn identity_is_trustworthy(
    packet: &ReceivedPacketRef<'_>,
    from: &PublicKey,
    identity: &NodeIdentityPayload,
) -> bool
Expand description

Whether an identity payload’s claims are its sender’s own: a signature that verifies, or none on a frame whose source authenticated.