pub fn pre_verify(
secret: &SharedSecret,
por_bytes: &[u8],
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 packetpor_bytes
serializedProofOfRelayString
as included within the packetchallenge
ticket challenge of the incoming ticket