mirror of
https://github.com/bitcoin/bips.git
synced 2025-03-03 18:57:18 +01:00
Update bip-0379.md
This commit is contained in:
parent
6312ae3e24
commit
091824b3bb
1 changed files with 4 additions and 4 deletions
|
@ -83,10 +83,10 @@ Miniscript is not a separate language, but rather a significant expansion of the
|
|||
| | `pkh(key)` = `c:pk_h(key)` | `DUP HASH160 <HASH160(key)> EQUALVERIFY CHECKSIG`
|
||||
| nSequence ≥ n (and compatible) | `older(n)` | `<n> CHECKSEQUENCEVERIFY`
|
||||
| nLockTime ≥ n (and compatible) | `after(n)` | `<n> CHECKLOCKTIMEVERIFY`
|
||||
| len(x) = 32 and SHA256(x) = h | `sha256(h)` | `SIZE 32 EQUALVERIFY SHA256 <h> EQUAL`
|
||||
| len(x) = 32 and HASH256(x) = h | `hash256(h)` | `SIZE 32 EQUALVERIFY HASH256 <h> EQUAL`
|
||||
| len(x) = 32 and RIPEMD160(x) = h | `ripemd160(h)` | `SIZE 32 EQUALVERIFY RIPEMD160 <h> EQUAL`
|
||||
| len(x) = 32 and HASH160(x) = h | `hash160(h)` | `SIZE 32 EQUALVERIFY HASH160 <h> EQUAL`
|
||||
| len(x) = 32 and SHA256(x) = h | `sha256(h)` | `SIZE <0x20> EQUALVERIFY SHA256 <h> EQUAL`
|
||||
| len(x) = 32 and HASH256(x) = h | `hash256(h)` | `SIZE <0x20> EQUALVERIFY HASH256 <h> EQUAL`
|
||||
| len(x) = 32 and RIPEMD160(x) = h | `ripemd160(h)` | `SIZE <0x20> EQUALVERIFY RIPEMD160 <h> EQUAL`
|
||||
| len(x) = 32 and HASH160(x) = h | `hash160(h)` | `SIZE <0x20> EQUALVERIFY HASH160 <h> EQUAL`
|
||||
| (X and Y) or Z | `andor(X,Y,Z)` | `[X] NOTIF [Z] ELSE [Y] ENDIF`
|
||||
| X and Y | `and_v(X,Y)` | `[X] [Y]`
|
||||
| | `and_b(X,Y)` | `[X] [Y] BOOLAND`
|
||||
|
|
Loading…
Add table
Reference in a new issue