Skip to main content

verify_envelope

Function verify_envelope 

Source
pub fn verify_envelope(envelope: &SCPEnvelope) -> Result<(), VerifyingError>
Expand description

Verifies that envelope.signature is a valid signature over the XDR encoding of envelope.statement produced by the secret key matching envelope.statement.node_id.