Skip to main content

verify

Function verify 

Source
pub fn verify(
    secret: &[u8],
    peer: Option<&str>,
    ts: Option<&str>,
    proof: Option<&str>,
    method: &str,
    target: &str,
    now_secs: u64,
) -> Result<IpAddr, Refusal>
Expand description

The peer a stamp names, when it is good for this request now. The comparison of the proofs does not depend on where they differ.