pub fn create_proof<D: Digest>(
op_count: Location,
digests: Vec<D>,
) -> Result<Proof<D>, Error>Expand description
Create a Proof from a op_count and a list of digests.
To compute the digests required for a Proof, use digests_required_for_proof.
ยงErrors
Returns crate::mmr::Error::LocationOverflow if op_count > crate::mmr::MAX_LOCATION.