Skip to content

Commit

Permalink
Add note: Semantics defined only for canonical sat/dsat
Browse files Browse the repository at this point in the history
Prevent reader confusion, as described in sipa#42 where the sematics of "andor" differs from expected by the reader when they consider various executions of the actual script
  • Loading branch information
dgpv authored Nov 3, 2020
1 parent 027b422 commit 7c278c5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ <h4>Translation table</h4>
<div class="table-responsive">
<table class="table table-sm">
<thead class="thead-light">
<tr><th scope="col">Semantics</th><th scope="col">Miniscript fragment</th><th scope="col">Bitcoin Script</th></tr></thead>
<tr><th scope="col">Semantics<sup>*</sup></th><th scope="col">Miniscript fragment</th><th scope="col">Bitcoin Script</th></tr></thead>
<tbody>
<tr>
<td>false</td>
Expand Down Expand Up @@ -333,6 +333,10 @@ <h4>Translation table</h4>
<td><code>u:<em>X</em></code> = <code>or_i(<em>X</em>,0)</code></td>
<td><samp>IF <em>[X]</em> ELSE 0 ENDIF</samp></td>
</tr>
<tr><td colspan=3>
<div class="text-muted">[*] Semantics are defined for canonical satisfaction/dissatisfaction options, and may not be valid for non-canonical options (see "Satisfaction and malleability", "Basic satisfactions" below)</div>
</td>
</tr>
</tbody>
</table>
</div>
Expand Down

0 comments on commit 7c278c5

Please sign in to comment.