1
0
mirror of https://github.com/bitcoin/bips.git synced 2026-07-06 17:46:00 +00:00

Fix other broken anchors

Used the following `sed` command and manually verified the unstaged
changes. Special cases that were not committed included external links
to Wikipedia which are case-sensitive, links specific lines in code, a
link to a title with a slash that had to be cleaned up, and links to
citations on the BIP repository that contain an underscore.

```
sed -E -i '
s/(\[\[[^][]*#)([^]|]*)(\||\]\])/\1\L\2\E\3/g
:again
s/(\[\[[^][]*#)([^]|]*)([: _]+)([^]|]*)(\||\]\])/\1\2-\4\5/g
t again
' bip-0*mediawiki
```
This commit is contained in:
Murch
2026-02-27 14:12:41 -08:00
parent 32b7adf847
commit b3a069464a
14 changed files with 46 additions and 46 deletions

View File

@@ -61,7 +61,7 @@ scriptPubKey: OP_1 <32_byte_output_key>
</pre>
<tt>tr(KEY, TREE)</tt> takes a key expression as the first argument, and a tree expression as the second argument and produces a P2TR output script which has a script path.
The keys produced by the first key expression are used as the internal key as specified by [[bip-0341.mediawiki#Constructing_and_spending_Taproot_outputs|BIP 341]].
The keys produced by the first key expression are used as the internal key as specified by [[bip-0341.mediawiki#constructing-and-spending-taproot-outputs|BIP 341]].
The Tree expression becomes the Taproot script tree as described in BIP 341.
A merkle root is computed from this tree and combined with the internal key to create the Taproot output key.