Irmin_context.Proof
Module for generating and verifying proofs for a context
module Hash : sig ... end
module Proof_encoding : sig ... end
module Tree :
Mavryk_context_sigs.Context.TREE
with type key = string list
and type value = bytes
and type t = rw_index
and type tree = tree
Tree representation for proof generation.
type tree = Tree.tree
val proof_encoding : proof Mavryk_base.TzPervasives.Data_encoding.t
See Sc_rollup_PVM_sem
.proof_encoding
proof_before proof
is the hash of the state before the step that generated rpoof
.
proof_after proof
is the hash of the state after the step that generated rpoof
.
produce_proof ctxt tree f
produces and returns a proof for the execution of f
on the state tree
.