decode_node_identity

Function decode_node_identity 

Source
pub fn decode_node_identity(
    address: String,
    payload: Vec<u8>,
) -> Result<NodeIdentityRecord, MobileError>
Expand description

Decode a persisted advertised-identity payload for display.

address is the canonical Base58 address of the node the payload claims to describe; the signature state is recomputed against it on every call.