Add references to the miniscript BIP-379

This commit is contained in:
Salvatore Ingala
2024-07-11 10:31:01 +02:00
parent 3fd971455a
commit 8c2f54d33b

View File

@@ -40,7 +40,7 @@ Moreover, other limitations like the limited size of the screen might affect wha
A more native, compact representation of the wallet receive and change addresses might also benefit the UX of software wallets when they use descriptors (possibly with miniscript) for representing complex locking conditions. A more native, compact representation of the wallet receive and change addresses might also benefit the UX of software wallets when they use descriptors (possibly with miniscript) for representing complex locking conditions.
We remark that wallet policies are not related to the ''policy'' language, a higher level language that can be compiled to miniscript. We remark that wallet policies are not related to the ''policy'' language, a higher level language that can be compiled to [[bip-0379.md|miniscript]].
=== Security, privacy and UX concerns for hardware signing devices === === Security, privacy and UX concerns for hardware signing devices ===
@@ -137,6 +137,8 @@ A ''wallet descriptor template'' is a <tt>SCRIPT</tt> expression.
* <tt>tr(KP)</tt> or <tt>tr(KP,TREE)</tt> (top level only): P2TR output with the specified key as internal key, and optionally a tree of script paths. * <tt>tr(KP)</tt> or <tt>tr(KP,TREE)</tt> (top level only): P2TR output with the specified key as internal key, and optionally a tree of script paths.
* any valid miniscript template (inside <tt>wsh</tt> or <tt>tr</tt> only). * any valid miniscript template (inside <tt>wsh</tt> or <tt>tr</tt> only).
See [[bip-0379.md|BIP-379]] for a precise specification of all the valid miniscript <tt>SCRIPT</tt> expressions.
<tt>TREE</tt> expressions: <tt>TREE</tt> expressions:
* any <tt>SCRIPT</tt> expression * any <tt>SCRIPT</tt> expression
* An open brace <tt>{</tt>, a <tt>TREE</tt> expression, a comma <tt>,</tt>, a <tt>TREE</tt> expression, and a closing brace <tt>}</tt> * An open brace <tt>{</tt>, a <tt>TREE</tt> expression, a comma <tt>,</tt>, a <tt>TREE</tt> expression, and a closing brace <tt>}</tt>