1
0
mirror of https://github.com/bitcoin/bips.git synced 2025-05-12 12:03:29 +00:00

BIP381, 382: minor grammar fixups (#1816)

* Update bip-0382.mediawiki

* Update bip-0381.mediawiki
This commit is contained in:
kilavvy 2025-04-11 22:01:50 +02:00 committed by GitHub
parent 1163f3ab69
commit 1447ab990d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -117,7 +117,7 @@ Invalid descriptors
==Backwards Compatibility==
<tt>pk()</tt>, <tt>pkh()</tt>, and <tt>sh()</tt> descriptors use the format and general operation specified in [[bip-0380.mediawiki|380]].
As these are a wholly new descriptors, they are not compatible with any implementation.
As these are wholly new descriptors, they are not compatible with any implementation.
However the scripts produced are standard scripts so existing software are likely to be familiar with them.
==Reference Implementation==

View File

@ -35,7 +35,7 @@ Two new script expressions are defined: <tt>wpkh()</tt>, and <tt>wsh()</tt>.
The <tt>wpkh(KEY)</tt> expression can be used as a top level expression, or inside of a <tt>sh()</tt> descriptor.
It takes a single key expression as an argument and produces a P2WPKH output script.
Only keys which are/has compressed public keys can be contained in a <tt>wpkh()</tt> expression.
Only keys which are/have compressed public keys can be contained in a <tt>wpkh()</tt> expression.
The output script produced is:
<pre>