1
0
mirror of https://github.com/bitcoin/bips.git synced 2026-02-23 15:38:22 +00:00

Specify BIP 382: Segwit descriptors

This commit is contained in:
Andrew Chow
2021-06-27 19:35:45 -04:00
parent bd12ea7e9d
commit fb56a18c89
4 changed files with 84 additions and 1 deletions

View File

@@ -46,7 +46,7 @@ The output script produced is:
===<tt>pkh()</tt>===
The <tt>pkh(KEY)</tt> expression can be used as a top level expression, or inside of a <tt>sh()</tt> descriptor.
The <tt>pkh(KEY)</tt> expression can be used as a top level expression, or inside of either a <tt>sh()</tt> or <tt>wsh()</tt> descriptor.
It takes a single key expression as an argument and produces a P2PKH output script.
Depending on the higher level descriptors, there may be restrictions on the type of public keys that can be included.
Such restrictions will be specified by those descriptors.