Skip to main content

write_proof_plaintext

Function write_proof_plaintext 

Source
pub fn write_proof_plaintext(
    hash: &ResourceHash,
    proof: &ResourceProof,
    buf: &mut [u8],
) -> Result<usize, ResourceProofError>
Expand description

Resource.prove’s pack: the resource hash, then Identity.full_hash(data + hash).