Skip to content

Commit

Permalink
Rephrase previousProof paragraph in proof sets algorithm.
Browse files Browse the repository at this point in the history
  • Loading branch information
TallTed authored Sep 30, 2024
1 parent 25e2237 commit e99ba27
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2181,16 +2181,18 @@ <h3>Verify Proof Sets and Chains</h3>
Let |matchingProofs| be an empty list.
</li>
<li>
If |proof| contains a `previousProof` attribute and that attribute is a
[=string=], add the element from |allProofs| with an `id` attribute matching
`previousProof` to `matchingProofs`. If a proof with `id` equal to `previousProof`
does not exist in |allProofs|, an error MUST be raised and SHOULD convey an error type of
If |proof| contains a `previousProof` attribute and the value of that
attribute is a [=string=], add the element from |allProofs| with an `id`
attribute value matching the value of `previousProof` to `matchingProofs`.
If a proof with `id` value equal to the value of `previousProof` does not
exist in |allProofs|, an error MUST be raised and SHOULD convey an error
type of
<a href="#PROOF_VERIFICATION_ERROR">PROOF_VERIFICATION_ERROR</a>. If the
`previousProof` attribute is a [=list=], add each element from |allProofs| with an
`id` attribute that matches an element of that [=list=]. If any element of
`previousProof` [=list=] has an `id` attribute that does not match the `id`
attribute of any element of |allProofs|, an error MUST be raised and SHOULD
convey an error type of
`previousProof` attribute is a [=list=], add each element from |allProofs|
with an `id` attribute value that matches the value of an element of that
[=list=]. If any element of `previousProof` [=list=] has an `id` attribute
value that does not match the `id` attribute value of any element of
|allProofs|, an error MUST be raised and SHOULD convey an error type of
<a href="#PROOF_VERIFICATION_ERROR">PROOF_VERIFICATION_ERROR</a>.
</li>
<li>
Expand Down

0 comments on commit e99ba27

Please sign in to comment.