You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* For example, in SimplicityHL, you check whether two integers are equal with a call to a jet such as `jet::eq_32`.
18
22
19
-
Some jets allow a Simplicity program to refuse a proposed transaction by performing a mandatory assertion (these jets' return type is `unit` below). The "panic" or failure effect produced by these jets is the *only* way to decline a transaction, so every program will need to call one or more of these jets directly or indirectly.
23
+
Some jets allow a Simplicity program to refuse a proposed transaction by performing a mandatory assertion (these jets' return type is `()` below). The "panic" or failure effect produced by these jets is the *only* way to decline a transaction, so every program will need to call one or more of these jets directly or indirectly.
20
24
21
25
* For example, `jet::bip_0340_verify` checks a digital signature and refuses the transaction if the signature cannot be verified.
return" | `{}({}) -> {}` | {} |".format(name, i, o, desc)
@@ -84,6 +88,6 @@ def format_jet(name, i, o, desc):
84
88
85
89
Calling jets, where available, makes your Simplicity program smaller and faster.
86
90
87
-
A few jets <a href="https://delvingbitcoin.org/t/delving-simplicity-part-two-side-effects/2091">provide behaviors that could not be achieved directly with low-level Simplicity combinators alone</a>, such as transaction introspection. Jets that can fail (those whose return type is `unit`) are the expected and only way for a Simplicity program to disapprove a proposed transaction."""
91
+
A few jets <a href="https://delvingbitcoin.org/t/delving-simplicity-part-two-side-effects/2091">provide behaviors that could not be achieved directly with low-level Simplicity combinators alone</a>, such as transaction introspection. Jets that can fail (those whose return type is `()`) are the expected and only way for a Simplicity program to disapprove a proposed transaction."""
0 commit comments