Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
4a68f37
fix: broken link to payment request generator
Forostovec Aug 7, 2025
c7e9bef
Mark BIP 21 as replaced (by BIP 321) and mark BIP 321 as Proposed
TheBlueMatt Aug 6, 2025
1421be4
BIP374: remove debug print statement from BIP-374 test runner
strmfos Aug 9, 2025
4f1359d
Merge pull request #1920 from strmfos/master
jonatack Aug 10, 2025
90091a2
test(reference): pass message when verifying tampered proof
radik878 Aug 11, 2025
3eff7c9
ci: update github actions checkout version
jonatack Aug 11, 2025
647e40e
Merge pull request #1914 from Forostovec/fix/broken-link
jonatack Aug 12, 2025
b786c64
bip-0345: fix broken link
ANtutov Aug 13, 2025
9a2791b
Merge pull request #1929 from jonatack/2025-08-ci-update
jonatack Aug 13, 2025
e8b9da9
scripts: remove unused FILES variable in link-format-chk.sh
strmfos Aug 14, 2025
e918125
Merge pull request #1932 from ANtutov/broken-link
jonatack Aug 14, 2025
9a55a54
Merge pull request #1934 from strmfos/master
jonatack Aug 14, 2025
4463068
feat: remove unused permutations import from bip-0352/reference.py
Fibonacci747 Aug 15, 2025
ebfcfa4
Merge pull request #1935 from Fibonacci747/unused-import
jonatack Aug 15, 2025
4f00b49
BIP345: fix broken links (#1938)
sashass1315 Aug 18, 2025
d610c8a
BIP3: fix license URLs with 301 redirects
Aug 12, 2025
e98fb73
BIP3: add MIT-0 to acceptable licenses
Aug 21, 2025
3f61b68
BIP3: update MIT license name
jonatack Aug 21, 2025
2fc8da8
fix: replace Base64 by Base85 encoding in PWD BASE85 section
ethicnology Aug 21, 2025
3e9befd
refactor: unify capitalization
ethicnology Aug 21, 2025
3f2a403
Merge pull request #1939 from ethicnology/master
jonatack Aug 21, 2025
2e3dd3f
Merge pull request #1940 from jonatack/2025-08-bip3-licenses
murchandamus Aug 21, 2025
7511c7e
BIP2: update MIT license name
jonatack Aug 21, 2025
c23b8a9
BIP2: fix 301 redirects in license URLs
jonatack Aug 21, 2025
86b29c5
Merge pull request #1941 from jonatack/2025-08-bip2-licenses
murchandamus Aug 25, 2025
9d3ca7f
fix: correct variable assignment in bytes_to_point function
aso20455 Aug 30, 2025
862d9ca
BIP155: update Draft status to Final
jonatack Aug 13, 2025
260da85
Merge pull request #1933 from jonatack/2025-08-update-BIP155-status
murchandamus Sep 2, 2025
d588494
Merge pull request #1947 from aso20455/master
jonatack Sep 2, 2025
32bcfd6
bip54: fix off-by-one in creation date
darosior Sep 3, 2025
4d6cd51
Merge pull request #1950 from darosior/2509_bip54_fix_date
jonatack Sep 3, 2025
25ffcfc
fix(wallet_policies): use descriptor instead of desc to prevent NameE…
MozirDmitriy Sep 4, 2025
b26f77d
add intermediate vector material, validate added material in referenc…
macgyver13 Sep 4, 2025
f420c7f
Merge pull request #1952 from MozirDmitriy/mzd
jonatack Sep 4, 2025
b7c79dc
address feedback (newline + extra whitespace)
macgyver13 Sep 4, 2025
eabb63c
Merge pull request #1953 from macgyver13/bip352-generate-intermediate…
jonatack Sep 5, 2025
d1af997
BIP111: update status from Proposed to Final
jonatack Sep 5, 2025
abf3bda
Merge pull request #1956 from jonatack/2025-09-update-BIP111-status-f…
murchandamus Sep 10, 2025
3ba957d
BIP157: update status from Draft to Final
jonatack Sep 11, 2025
662cc78
BIP158: update status from Draft to Final
jonatack Sep 11, 2025
02fb392
BIPs 157, 158: add "Requires" headers to each other
jonatack Sep 11, 2025
869fd77
Merge pull request #1963 from jonatack/2025-09_update_BIPs_157-158_to…
murchandamus Sep 15, 2025
6730ee8
Merge pull request #1926 from radik878/test/dleq-pass-message-in-tamp…
jonatack Sep 17, 2025
d784719
BIP3: Rename Created to Assigned
murchandamus Sep 16, 2025
87f3fe1
Merge pull request #1970 from murchandamus/2025-09-assigned-header
jonatack Sep 19, 2025
1c4d419
Merge pull request #1911 from TheBlueMatt/2024-03-uris-without-bodies
jonatack Sep 23, 2025
e9b1100
BIP353: Advance to Active
murchandamus Sep 23, 2025
e757aaf
Merge pull request #1979 from murchandamus/2025-09-advance-BIP353
jonatack Sep 23, 2025
cc68e6d
BIP327,353: Correct statuses
murchandamus Sep 23, 2025
87bafc1
Add some BIP 353 DNSSEC proof test vectors and links
TheBlueMatt Aug 6, 2025
c02809a
Correct monospacing in BIP 353
TheBlueMatt Sep 23, 2025
898693d
Merge pull request #1980 from murchandamus/2025-09-active-to-final
jonatack Sep 24, 2025
c5cb824
Merge pull request #1912 from TheBlueMatt/2025-08-dnssec-proof-tests
jonatack Sep 24, 2025
daf64c4
BIP321: add reference implementation section
jonatack Sep 24, 2025
c16a336
BIP321: mention replacement of BIP21
jonatack Sep 24, 2025
6c725aa
CI: appease typos linter
jonatack Oct 1, 2025
5e178c9
Merge pull request #1996 from jonatack/2025-10-update-typos-linter
jonatack Oct 1, 2025
b92cb0b
Merge pull request #1983 from jonatack/2025-09-BIP321-add-reference-i…
murchandamus Oct 1, 2025
c85c818
bip155: torv2 is no longer operational
brunoerg Sep 19, 2025
a00fb71
BIP10: typo fix, replace TXSIGS with SIG in TxDP merge section
MozirDmitriy Aug 9, 2025
5d06b3b
BIPs 16, 388, 443: typo and editorial fixups
tomasandroil Aug 11, 2025
9297c12
BIPs 327, 340: remove unused imports
sky-coderay Sep 27, 2025
6340cec
BIPs 119, 330, 352: code typo and style fixups
sashaodessa Sep 3, 2025
664d376
CI: improve date validation regex in buildtable.pl
viktorking7 Oct 3, 2025
3d0bab3
Merge pull request #1998 from jonatack/2025-10-typo-and-editorial-fixups
murchandamus Oct 6, 2025
1cf4130
BIP‑353: Clarify TXT record structure and concatenation order (single…
markjr Oct 11, 2025
f98774a
bip-340: set all_passed=False on key generation mismatch
MozirDmitriy Oct 14, 2025
ab9d5b8
BIP85: fix datetime string to align with UNIX Epoch time (#1967)
3rdIteration Oct 15, 2025
1d18627
Merge pull request #2002 from MozirDmitriy/fix/bip340-test-harness-ke…
jonatack Oct 16, 2025
1bb1aee
BIP-374: Pass G and m to VerifyProof in GenerateProof self-check
Forostovec Oct 19, 2025
d083ce5
BIP3: add guidance on originality, quality, LLMs
jonatack Oct 15, 2025
6953b72
Merge pull request #2006 from jonatack/2025-10-bip3-adjustments
murchandamus Oct 22, 2025
34c584d
Merge pull request #2011 from Forostovec/master
jonatack Oct 23, 2025
7fd375c
bip155: add changelog
brunoerg Oct 1, 2025
964ce2d
Merge pull request #1975 from brunoerg/2025-09-torv2
murchandamus Oct 23, 2025
d51f2dc
BIP324: Fix features bitmask for decoding-case selection
phrwlk Sep 16, 2025
713f000
bip324: Update generated files
real-or-random Oct 23, 2025
fd7fe26
Merge pull request #2016 from real-or-random/202510-fix-gen-test-vectors
jonatack Oct 24, 2025
41213bd
Add first draft of pq CHECKSIG opcodes BIP
EthanHeilman Oct 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/github-action-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@ jobs:
Link-Format-Checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- run: scripts/link-format-chk.sh
Build-Table-Checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- run: scripts/buildtable.pl >/tmp/table.mediawiki || exit 1
Diff-Checks:
name: "Diff Checks (fails until number assignment)"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 2
- run: scripts/diffcheck.sh
Expand All @@ -25,7 +25,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions Repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Check spelling
uses: crate-ci/typos@master
1 change: 1 addition & 0 deletions .typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ PSBT = "PSBT"
ser = "ser"
# Names
Atack = "Atack"
Falke = "Falke"
Meni = "Meni"
Ono = "Ono"

Expand Down
30 changes: 15 additions & 15 deletions README.mediawiki
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,13 @@ Those proposing changes should consider that ultimately consent may rest with th
| Luke Dashjr
| Standard
| Replaced
|- style="background-color: #cfffcf"
|- style="background-color: #ffcfcf"
| [[bip-0021.mediawiki|21]]
| Applications
| URI Scheme
| Nils Schneider, Matt Corallo
| Standard
| Final
| Replaced
|- style="background-color: #cfffcf"
| [[bip-0022.mediawiki|22]]
| API/RPC
Expand Down Expand Up @@ -609,13 +609,13 @@ Those proposing changes should consider that ultimately consent may rest with th
| Gavin Andresen
| Standard
| Rejected
|- style="background-color: #ffffcf"
|- style="background-color: #cfffcf"
| [[bip-0111.mediawiki|111]]
| Peer Services
| NODE_BLOOM service bit
| Matt Corallo, Peter Todd
| Standard
| Proposed
| Final
|- style="background-color: #cfffcf"
| [[bip-0112.mediawiki|112]]
| Consensus (soft fork)
Expand Down Expand Up @@ -889,34 +889,34 @@ Those proposing changes should consider that ultimately consent may rest with th
| Karl-Johan Alm
| Standard
| Withdrawn
|-
|- style="background-color: #cfffcf"
| [[bip-0155.mediawiki|155]]
| Peer Services
| addrv2 message
| Wladimir J. van der Laan
| Standard
| Draft
| Final
|- style="background-color: #ffcfcf"
| [[bip-0156.mediawiki|156]]
| Peer Services
| Dandelion - Privacy Enhancing Routing
| Brad Denby, Andrew Miller, Giulia Fanti, Surya Bakshi, Shaileshh Bojja Venkatakrishnan, Pramod Viswanath
| Standard
| Rejected
|-
|- style="background-color: #cfffcf"
| [[bip-0157.mediawiki|157]]
| Peer Services
| Client Side Block Filtering
| Olaoluwa Osuntokun, Alex Akselrod, Jim Posen
| Standard
| Draft
|-
| Final
|- style="background-color: #cfffcf"
| [[bip-0158.mediawiki|158]]
| Peer Services
| Compact Block Filters for Light Clients
| Olaoluwa Osuntokun, Alex Akselrod
| Standard
| Draft
| Final
|- style="background-color: #cfffcf"
| [[bip-0159.mediawiki|159]]
| Peer Services
Expand Down Expand Up @@ -1036,13 +1036,13 @@ Those proposing changes should consider that ultimately consent may rest with th
| BtcDrak
| Standard
| Draft
|-
|- style="background-color: #ffffcf"
| [[bip-0321.mediawiki|321]]
| Applications
| URI Scheme
| Matt Corallo
| Standard
| Draft
| Proposed
|-
| [[bip-0322.mediawiki|322]]
| Applications
Expand Down Expand Up @@ -1077,7 +1077,7 @@ Those proposing changes should consider that ultimately consent may rest with th
| MuSig2 for BIP340-compatible Multi-Signatures
| Jonas Nick, Tim Ruffing, Elliott Jin
| Informational
| Active
| Final
|- style="background-color: #ffffcf"
| [[bip-0328.mediawiki|328]]
| Applications
Expand Down Expand Up @@ -1204,13 +1204,13 @@ Those proposing changes should consider that ultimately consent may rest with th
| josibake, Ruben Somsen
| Standard
| Proposed
|-
|- style="background-color: #ffffcf"
| [[bip-0353.mediawiki|353]]
| Applications
| DNS Payment Instructions
| Matt Corallo, Bastien Teinturier
| Standard
| Draft
| Proposed
|- style="background-color: #cfffcf"
| [[bip-0370.mediawiki|370]]
| Applications
Expand Down
6 changes: 3 additions & 3 deletions bip-0002.mediawiki
Original file line number Diff line number Diff line change
Expand Up @@ -359,8 +359,8 @@ In this case, only the acceptable license(s) should be listed in the License and

====Recommended licenses====

* BSD-2-Clause: [https://opensource.org/licenses/BSD-2-Clause OSI-approved BSD 2-clause license]
* BSD-3-Clause: [https://opensource.org/licenses/BSD-3-Clause OSI-approved BSD 3-clause license]
* BSD-2-Clause: [https://opensource.org/license/BSD-2-Clause OSI-approved BSD 2-clause license]
* BSD-3-Clause: [https://opensource.org/license/BSD-3-Clause OSI-approved BSD 3-clause license]
* CC0-1.0: [https://creativecommons.org/publicdomain/zero/1.0/ Creative Commons CC0 1.0 Universal]
* GNU-All-Permissive: [https://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html GNU All-Permissive License]

Expand All @@ -372,7 +372,7 @@ In addition, it is recommended that literal code included in the BIP be dual-lic
* BSL-1.0: [https://www.boost.org/LICENSE_1_0.txt Boost Software License, version 1.0]
* CC-BY-4.0: [https://creativecommons.org/licenses/by/4.0/ Creative Commons Attribution 4.0 International]
* CC-BY-SA-4.0: [https://creativecommons.org/licenses/by-sa/4.0/ Creative Commons Attribution-ShareAlike 4.0 International]
* MIT: [https://opensource.org/licenses/MIT Expat/MIT/X11 license]
* MIT: [https://opensource.org/license/MIT The MIT License]
* AGPL-3.0+: [https://www.gnu.org/licenses/agpl-3.0.en.html GNU Affero General Public License (AGPL), version 3 or newer]
* FDL-1.3: [https://www.gnu.org/licenses/fdl-1.3.en.html GNU Free Documentation License, version 1.3]
* GPL-2.0+: [https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html GNU General Public License (GPL), version 2 or newer]
Expand Down
32 changes: 22 additions & 10 deletions bip-0003.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ Some BIPs describe processes, implementation guidelines, best practices, inciden
the Bitcoin protocol, peer-to-peer network, and client software may be acceptable.

BIPs are intended to be a means for proposing new protocol features, coordinating client standards, and
documenting design decisions that have gone into implementations. BIPs may be submitted by anyone.
documenting design decisions that have gone into implementations. A BIP may be submitted by anyone,
provided it is the original work of its authors and the content is of high quality, e.g. does not waste
the community's time. No content may be generated by AI/LLMs and authors must proactively disclose
up-front any use of AI/LLMs.

The scope of the BIPs
repository is limited to BIPs that do not oppose the fundamental principle that Bitcoin constitutes a peer-to-peer
Expand Down Expand Up @@ -112,14 +115,14 @@ appear in the following order. Headers marked with "\*" are optional. All other
##### Overview

```
BIP: <BIP number, or "?">
BIP: <BIP number, or "?" before assignment>
* Layer: <Consensus (soft fork) | Consensus (hard fork) | Peer Services | API/RPC | Applications>
Title: <BIP title (≤ 50 characters)>
Authors: <Authors’ names and email addresses>
* Deputies: <Deputies’ names and email addresses>
Status: <Draft | Complete | Deployed | Closed>
Type: <Specification | Informational | Process>
Created: <Date of number assignment (yyyy-mm-dd), or "?">
Assigned: <Date of number assignment (yyyy-mm-dd), or "?" before assignment>
License: <SPDX License Expression>
* Discussion: <Noteworthy discussion threads in "yyyy-mm-dd: URL" format>
* Version: <MAJOR.MINOR.PATCH>
Expand All @@ -130,7 +133,7 @@ appear in the following order. Headers marked with "\*" are optional. All other

##### Header Descriptions

* BIP — The assigned number of the BIP. Please use "?" before a number has been assigned by the BIP Editors.
* BIP — The assigned number of the BIP (without leading zeros). Please use "?" before a number has been assigned by the BIP Editors.
* Layer — The layer of Bitcoin the BIP applies to using the BIP classification defined in [BIP 123](bip-0123.mediawiki).
* Authors — The names (or pseudonyms) and email addresses of all authors of the BIP. The format of each authors header
value must be
Expand All @@ -146,6 +149,7 @@ appear in the following order. Headers marked with "\*" are optional. All other
Authors header. See the [BIP Ownership](#bip-ownership) section above.
* Status — The stage of the workflow of the proposal. See the [Workflow](#workflow) section below.
* Type — See the [BIP Types](#bip-types) section below for a description of the three BIP types.
* Assigned – The date a BIP was assigned its number. Please use "?" before a number has been assigned by the BIP Editors.
* License — The License header specifies SPDX License Expressions describing the terms under which the
BIP and its auxiliary files are available. See the [BIP Licensing](#bip-licensing) section below.
* Discussion — The Discussion header points the audience to relevant discussions of the BIP, e.g., the mailing list
Expand Down Expand Up @@ -424,12 +428,13 @@ acceptable license.
In other words, a new BIP must specify an SPDX License Expression that is either "L" or equivalent to "L OR E" for some
acceptable license L from the following list and another SPDX License Expression E.

* BSD-2-Clause: [BSD 2-Clause License](https://opensource.org/licenses/BSD-2-Clause)
* BSD-3-Clause: [BSD 3-Clause License](https://opensource.org/licenses/BSD-3-Clause)
* BSD-2-Clause: [BSD 2-Clause License](https://opensource.org/license/BSD-2-Clause)
* BSD-3-Clause: [BSD 3-Clause License](https://opensource.org/license/BSD-3-Clause)
* CC0-1.0: [CC0 1.0 Universal](https://creativecommons.org/publicdomain/zero/1.0/)
* FSFAP: [FSF All Permissive License](https://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html)
* CC-BY-4.0: [Creative Commons Attribution 4.0 International](https://creativecommons.org/licenses/by/4.0/)
* MIT: [Expat/MIT/X11 License](https://opensource.org/licenses/MIT)
* MIT: [The MIT License](https://opensource.org/license/MIT)
* MIT-0: [MIT No Attribution License](https://opensource.org/license/MIT-0)
* Apache-2.0: [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0)
* BSL-1.0: [Boost Software License 1.0](https://www.boost.org/LICENSE_1_0.txt)

Expand Down Expand Up @@ -475,7 +480,7 @@ repository](https://github.com/bitcoin/bips) where it may get further feedback.

For each new BIP pull request that comes in, an editor checks the following:

* The idea has been previously discussed on the Bitcoin Development Mailing List
* The idea has been previously proposed by one of the authors to the Bitcoin Development Mailing List and discussed there
* The described idea is on-topic for the repository
* Title accurately describes the content
* Proposal is of general interest and/or pertains to more than one Bitcoin project/implementation
Expand All @@ -484,7 +489,7 @@ For each new BIP pull request that comes in, an editor checks the following:
* Motivation, Rationale, and Backward Compatibility have been addressed
* Specification provides sufficient detail for implementation
* The defined Layer header must be correctly assigned for the given specification
* The BIP is ready: it is comprehensible, technically feasible, and all aspects are addressed as necessary
* The BIP is ready: it is comprehensible, technically feasible and sound, and all aspects are addressed as necessary

Editors do NOT evaluate whether the proposal is likely to be adopted.

Expand Down Expand Up @@ -542,8 +547,9 @@ mentioned in the [Changelog](#changelog) section.
- The "Superseded-By" header is replaced with the "Proposed-Replacement" header.
- The "Post-History" header is replaced with the "Discussion" header.
- The optional "Version" header is introduced.
- The "Discussions-To" header is dropped as it has never been used in any BIP.
- The "Discussions-To" header is dropped, as it has never been used in any BIP.
- The "License-Code" header has been sunset, as it was used by only five BIPs (98, 116, 117, 330, 340) and created more ambiguity than clarity.
- The "Created" header is renamed to "Assigned", as the header’s value is the date of number assignment.[^assigned]
- Introduce Deputies and optional "Deputies" header.
- The BIP "Title" header may now contain up to 50 characters (increased from 44 in BIP 2).
- The "Layer" header is optional for Specification BIPs or Informational BIPs, as it does not make sense for all BIPs.[^layer]
Expand Down Expand Up @@ -612,6 +618,12 @@ feedback, and helpful comments.

## Rationale

[^assigned]: **Why was the Created header renamed to Assigned?**
Both BIP 1 and BIP 2 described the Created header as "date created on" in the preamble template, but followed that
up with "Created header records the date that the BIP was assigned a number" as the description of the field. This
has frequently led to confusion, with authors using the date of opening the pull request, the date they started
writing their proposal, the date of number assignment (as prescribed), or various other dates. Aligning the name of
the header and the text in the preamble template with the descriptions will reduce the confusion.
[^capitalization]: **When is Bitcoin capitalized and when is it lowercased?**
This document uses capitalized Bitcoin to refer to the system, network and abstract concept, and only uses lowercase
bitcoin to refer to units of the bitcoin currency.
Expand Down
2 changes: 1 addition & 1 deletion bip-0010.mediawiki
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ In this transaction, there are two inputs, one of 150 BTC and the other of 12 BT

The style of communication is taken directly from PGP/GPG, which uses blocks of ASCII like this to communicate encrypted messages and signatures. This serialization is compact, and will be interpreted the same in all character encodings. It can be copied inline into an email, or saved in a text file. The advantage over the analogous PGP encoding is that there are some human readable elements to it, for users that wish to examine the TxDP packet manually, instead of requiring a program to parse the core elements of the TxDP.

A party receiving this TxDP can simply add their signature to the appropriate _TXINPUT_ line. If that is the last signature required, they can broadcast it themselves. Any software that implements this standard should be able to combine multiple TxDPs into a single TxDP. However, even without the programmatic support, a user could manually combine them by copying the appropriate _TXSIGS_ lines between serializations, though it is not the recommended method for combining TxDPs.
A party receiving this TxDP can simply add their signature to the appropriate _TXINPUT_ line. If that is the last signature required, they can broadcast it themselves. Any software that implements this standard should be able to combine multiple TxDPs into a single TxDP. However, even without the programmatic support, a user could manually combine them by copying the appropriate _SIG_ lines between serializations, though it is not the recommended method for combining TxDPs.

== Reference Implementation ==

Expand Down
7 changes: 4 additions & 3 deletions bip-0016.mediawiki
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Examples:
+3 signature operations:
{2 [pubkey1] [pubkey2] [pubkey3] 3 OP_CHECKMULTISIG}

+22 signature operations
+22 signature operations:
{OP_CHECKSIG OP_IF OP_CHECKSIGVERIFY OP_ELSE OP_CHECKMULTISIGVERIFY OP_ENDIF}

==Rationale==
Expand All @@ -74,7 +74,7 @@ The signature operation counting rules are intended to be easy and quick to impl
There is a 1-confirmation attack on old implementations, but it is expensive and difficult in practice. The attack is:

# Attacker creates a pay-to-script-hash transaction that is valid as seen by old software, but invalid for new implementation, and sends themselves some coins using it.
# Attacker also creates a standard transaction that spends the pay-to-script transaction, and pays the victim who is running old software.
# Attacker also creates a standard transaction that spends the pay-to-script-hash transaction, and pays the victim who is running old software.
# Attacker mines a block that contains both transactions.

If the victim accepts the 1-confirmation payment, then the attacker wins because both transactions will be invalidated when the rest of the network overwrites the attacker's invalid block.
Expand Down Expand Up @@ -116,4 +116,5 @@ https://gist.github.com/gavinandresen/3966071
* [[bip-0016/qa.mediawiki|Quality Assurance test checklist]]

== References ==
<references>

<references/>
9 changes: 8 additions & 1 deletion bip-0021.mediawiki
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,18 @@
Matt Corallo <[email protected]>
Comments-Summary: No comments yet.
Comments-URI: https://github.com/bitcoin/bips/wiki/Comments:BIP-0021
Status: Final
Status: Replaced
Type: Standards Track
Created: 2012-01-29
Superseded-By: 321
</pre>

=Superseded by BIP 321=

This BIP has been superseded and replaced with BIP 321. Please see [[bip-0321.mediawiki|BIP 321]] instead.

=Original BIP=

This BIP is a modification of an earlier [[bip-0020.mediawiki|BIP 0020]] by Luke Dashjr. BIP 0020 was based off an earlier document by Nils Schneider. The alternative payment amounts in BIP 0020 have been removed.

==Abstract==
Expand Down
2 changes: 1 addition & 1 deletion bip-0054.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
Comments-URI: https://github.com/bitcoin/bips/wiki/Comments:BIP-0054
Status: Draft
Type: Standards Track
Created: 2024-04-11
Created: 2025-04-11
License: CC0-1.0
```

Expand Down
2 changes: 1 addition & 1 deletion bip-0070.mediawiki
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ Protocol Buffers : https://developers.google.com/protocol-buffers/

==Reference implementation==

Create Payment Request generator : https://bitcoincore.org/~gavin/createpaymentrequest.php ([[https://github.com/gavinandresen/paymentrequest|source]])
Create Payment Request generator : https://developer.bitcoin.org/examples/payment_processing.html ([[https://github.com/gavinandresen/paymentrequest|source]])

BitcoinJ : https://bitcoinj.github.io/payment-protocol#introduction

Expand Down
Loading