]> Untitled Git - bitcoindevkit.org/commit
descriptors: correct 'pkh()' in the compatibility matrix
authorAntoine Poinsot <darosior@protonmail.com>
Sat, 18 Dec 2021 10:06:31 +0000 (11:06 +0100)
committerAntoine Poinsot <darosior@protonmail.com>
Sat, 18 Dec 2021 10:06:31 +0000 (11:06 +0100)
commitf6490956209ba3ee962fdce4a9e78bb4fed555c3
treea68076647193d26fd5a5c87fd180c4a191bd5e37
parent19cd9b885d976678b128fbe20f2fd5f50faeb15f
descriptors: correct 'pkh()' in the compatibility matrix

`pk_h()` is a Miniscript fragment (the equivalent of `pk_k()` for pubkey
hashes) which needs a `c:` in order to be a base expression.

The documentation was misleadingly implying that Bitcoin Core was using
`pkh()` to describe a `pk_h()` fragment, which is wrong (the former is
an alias of `c:pk_h()`).

The table also doesn't list `pk_k()`. Therefore just list the `pkh()`
and `pk()` aliases.
docs/descriptors/README.md