File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,11 @@ pub static DEFAULT_VD_SET: LazyLock<VDSet> = LazyLock::new(|| {
6060 VDSet :: new ( params. max_depth_mt_vds , & vds) . unwrap ( )
6161} ) ;
6262
63- /// Struct that allows to get the specific merkle proofs for the given verifier_data
63+ /// VDSet is the set of the allowed verifier_data hashes. When proving a
64+ /// MainPod, the circuit will enforce that all the used verifier_datas for
65+ /// verifying the recursive proofs of previous PODs appears in the VDSet.
66+ /// The VDSet struct that allows to get the specific merkle proofs for the given
67+ /// verifier_data.
6468#[ derive( Clone , Debug ) ]
6569pub struct VDSet {
6670 root : Hash ,
Original file line number Diff line number Diff line change @@ -545,6 +545,11 @@ impl PodProver for Prover {
545545pub struct MainPod {
546546 params : Params ,
547547 id : PodId ,
548+ /// vds_root is the merkle-root of the `VDSet`, which contains the
549+ /// verifier_data hashes of the allowed set of VerifierOnlyCircuitData, for
550+ /// the succession of recursive MainPods, which when proving the POD, it is
551+ /// proven that all the recursive proofs that are being verified in-circuit
552+ /// use one of the verifier_data's contained in the VDSet.
548553 vds_root : Hash ,
549554 public_statements : Vec < Statement > ,
550555 proof : Proof ,
You can’t perform that action at this time.
0 commit comments