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
@@ -56,7 +57,7 @@ Note: The serialization of <tt>ser<sub>256</sub>(p)</tt> and <tt>ser<sub>P</sub>
56
57
57
58
===<tt>sp()</tt>===
58
59
59
-
The <tt>sp(KEY)</tt> or <tt>sp(KEY,BIRTHDAY,LABEL,...)</tt> expression can only be used as a top level descriptor.
60
+
The <tt>sp(KEY)</tt> or <tt>sp(KEY,BIRTHDAY,LABEL,...)</tt> expression can only be used as a top level descriptor.
60
61
61
62
<tt>sp(KEY)</tt> takes a single key expression as an argument, which must be either an <tt>spscan</tt> or <tt>spspend</tt> encoded key, optionally with key origin information.
62
63
If included, the key origin information should specify the derivation path to the account level as defined in BIP44.
@@ -66,7 +67,7 @@ When using the minimal form <tt>sp(KEY)</tt>:
66
67
* The birthday defaults to block height 842579 (May 8, 2024, when BIP352 was merged)
67
68
* Only the change label (<tt>m = 0</tt>) is assumed
68
69
69
-
<tt>sp(KEY,BIRTHDAY,LABEL,...)</tt> takes:
70
+
<tt>sp(KEY,BIRTHDAY,LABEL,...)</tt> takes:
70
71
* A key expression (first argument)
71
72
* A birthday as a positive integer representing a block height (second argument)
72
73
* Zero or more label integers (remaining arguments), where each label is a positive integer
@@ -82,15 +83,15 @@ The output scripts produced are BIP341 taproot outputs as specified in BIP352.
82
83
Valid descriptors:
83
84
84
85
* <tt>sp(spscan1q...)</tt> - Minimal form with default birthday and change label only
85
-
* <tt>sp([deadbeef/352'/0'/0']spscan1q...,900000)</tt> - With key origin and custom birthday
86
-
* <tt>sp(spspend1q...,842579, 1, 2, 3)</tt> - With birthday and labels 1, 2, 3
87
-
* <tt>sp([deadbeef/352'/0'/0']spscan1q...,900000, 1, 5, 10)</tt> - With key origin, birthday, and labels 1, 5, 10
86
+
* <tt>sp([deadbeef/352'/0'/0']spscan1q...,900000)</tt> - With key origin and custom birthday
87
+
* <tt>sp(spspend1q...,842579,1,2,3)</tt> - With birthday and labels 1, 2, 3
88
+
* <tt>sp([deadbeef/352'/0'/0']spscan1q...,900000,1,5,10)</tt> - With key origin, birthday, and labels 1, 5, 10
88
89
89
90
Invalid descriptors:
90
91
91
92
* <tt>sp()</tt> requires a key expression
92
93
* <tt>sp(xpub...)</tt> requires spscan or spspend encoded key
93
-
* <tt>sp(spscan1q...,abc)</tt> birthday must be a positive integer
94
+
* <tt>sp(spscan1q...,abc)</tt> birthday must be a positive integer
94
95
* <tt>sh(sp(spscan1q...))</tt> sp() is top level only
95
96
* <tt>wsh(sp(spscan1q...))</tt> sp() is top level only
0 commit comments