Skip to main content

pre_verify

Function pre_verify 

Source
pub fn pre_verify(
    secret: &SharedSecret,
    pors: &ProofOfRelayString,
    challenge: &EthereumChallenge,
) -> Result<ProofOfRelayOutput>
Expand description

Verifies that an incoming packet contains all values that are necessary to reconstruct the response to redeem the incentive for relaying the packet.

ยงArguments

  • secret shared secret with the creator of the packet
  • pors ProofOfRelayString as included within the packet
  • challenge the ticket challenge of the incoming ticket