pub fn read_zkproof<R: Read>(reader: R) -> Result<GrothProofBytes>Expand description
Consensus rules (§4.4) & (§4.5):
- Canonical encoding is enforced by the API of SaplingVerificationContext::check_spend() and SaplingVerificationContext::check_output() due to the need to parse this into a groth16::Proof.
- Proof validity is enforced in SaplingVerificationContext::check_spend() and SaplingVerificationContext::check_output()