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

4454 Commits

Author SHA1 Message Date
Mark "Murch" Erhardt
29b48129b1
Merge pull request #2092 from ajtowns/202601-feature-shortid
BIP 324, 434: Specify p2p v2 one-byte identifier for FEATURE message
2026-02-02 16:22:41 -08:00
Anthony Towns
a50c0ea32b BIP324, BIP434: Assign message type id for "feature" message 2026-01-31 17:47:59 +10:00
Anthony Towns
df1f098a8b BIP324, BIP183: Add utreexo's p2pv2 message type ids 2026-01-31 17:46:29 +10:00
Anthony Towns
a3370b5c9d BIP 324: Add auxiliary file tracking assignments of one-byte message type IDs 2026-01-31 17:46:29 +10:00
Mark "Murch" Erhardt
43e3983e4b
Merge pull request #2086 from ajtowns/202512-bip324-shortid-alias
BIP 324: Clarify equivalence between 1 and 13 byte message types
2026-01-29 10:18:01 -08:00
Mark "Murch" Erhardt
e169a61940
Merge pull request #2084 from theStack/bip374-vendor-secp256k1lab
BIP-374: vendor secp256k1lab and use it for reference implementation
2026-01-28 10:31:32 -08:00
Mark "Murch" Erhardt
3177af3bbf
Merge pull request #2076 from ajtowns/202512-p2p-feature
BIP 434: Peer Feature Negotiation
2026-01-27 07:22:58 -08:00
Mark "Murch" Erhardt
4c2f6567b3
Merge pull request #1500 from stevenroose/txhash
BIP346: OP_TXHASH
2026-01-27 07:21:12 -08:00
Anthony Towns
40e6634a2e BIP324: define message_length 2026-01-24 16:38:00 +10:00
Anthony Towns
4c80568652 BIP324: supporting 1 byte message type ids means supporting the equivalent 12 byte ASCII message types 2026-01-24 16:38:00 +10:00
Steven Roose
6a0636da32 Add BIP-346: OP_TXHASH 2026-01-22 22:59:40 -03:00
Jon Atack
ecb074d487
Merge pull request #2088 from murchandamus/backfill-bip14-discussion 2026-01-16 20:35:03 -08:00
Murch
1761675f67
BIP14: Backfill discussion URLs 2026-01-16 13:11:13 -08:00
Anthony Towns
48c0f201aa BIP324: Add Version header and Changelog section 2026-01-16 10:04:38 +10:00
Anthony Towns
9630c4c8d0 BIP434: p2p feature negotiation 2026-01-15 17:20:45 +10:00
Sebastian Falbesoner
2b7f07986b BIP-374: mention secp256k1lab in BIP text 2026-01-15 01:55:55 +01:00
Sebastian Falbesoner
436a3dd1fa BIP-374: use tagged_hash and xor_bytes routines from secp256k1lab 2026-01-15 00:56:13 +01:00
Sebastian Falbesoner
459d977d9b BIP-374: replace secp256k1.py with vendored copy of secp256k1lab 2026-01-15 00:47:29 +01:00
Sebastian Falbesoner
4e18ee641b BIP-374: avoid using sys.path[0] to find current working directory
This approach is incompatible with the sys.path extension approach
in the next commit which is used to to find the vendored copy of
secp256k1lab, so use __file__ instead which works as well.
2026-01-15 00:45:33 +01:00
Sebastian Falbesoner
d2ceae1dd6 Merge commit '3050bb6b25c0c20b62e2fc1a23276a09d50d151b' as 'bip-0374/secp256k1lab' 2026-01-15 00:43:29 +01:00
Sebastian Falbesoner
3050bb6b25 Squashed 'bip-0374/secp256k1lab/' content from commit 44dc4bd
git-subtree-dir: bip-0374/secp256k1lab
git-subtree-split: 44dc4bd893b8f03e621585e3bf255253e0e0fbfb
2026-01-15 00:43:29 +01:00
Jack D
68df14bf8c
BIP174: Specify PSBT_IN_PREVIOUS_TXID serialization order (#2001)
* specify PSBT_IN_PREVIOUS_TXID serialization order

* fix: remove ambiguous use of endianness language
2026-01-14 13:44:17 -08:00
Mark "Murch" Erhardt
df57b45a63
Merge pull request #2083 from jonatack/2026-bip3-edits
README intro edits
2026-01-14 13:41:19 -08:00
Jon Atack
48beda420e README edits 2026-01-14 14:49:18 -06:00
Jon Atack
845e7d7005
Merge pull request #1820 from murchandamus/2025-04-bip3-activation
Process: Activate BIP3
2026-01-14 09:06:43 -08:00
Dan Gould
1c4fe8dfea
BIP77: Change sequence diagrams to text format (#2064)
Updated sequence diagrams to use text format instead of mermaid syntax.

I cargo cult'd the RFC Rules:

> “How are images handled for the plain text version of an RFC?”
> The RFC Editor will accept both ASCII art and SVG. If only ASCII art is provided, it will be included in all publication formats. If ASCII art and SVG are both provided, ASCII art will be included in the plain text, and SVG in all other outputs. A note indicating alternative artwork is available is strongly advised. If only SVG is provided, a URI will be included in the plain-text publication format pointing to the HTML version. All artwork and figures should have a complete written description to support assisted reader technology.

see: https://www.rfc-editor.org/rse/format-faq/

Since BIPs don't publish html/pdf renders, ASCII art seems like the right choice to render everywhere. Since normative prose is already provided, I chose not to include a written description of the diagrams to support assisted reader tech.
2026-01-13 12:50:52 -08:00
Murch
4486d6de91
process: Backfill missing Version headers
…for BIPs that have a Changelog section that mentions a version.
BIP 1 and BIP 340 have Changelog sections, but do not define versions.
2026-01-12 14:36:33 -08:00
Murch
76efa4aabf
process: Fix up license sections to match preamble
Co-authored-by: Jon Atack <jon@atack.com>
2026-01-12 14:30:03 -08:00
Tim Ruffing
8586c32fa2
process: Use "official" SPDX identifiers
See https://spdx.org/licenses/
2026-01-12 14:30:02 -08:00
Tim Ruffing
764409cb37
bip2: Use correct SPDX license ids in the text
See https://spdx.org/licenses/
2026-01-12 14:30:00 -08:00
Tim Ruffing
7c3fab6fa7
bip134: Remove wrong License header
The Copyright section specifies additional conditions, so the License
header is not correct (or at least misleading). So let's just remove it.
This is pragmatic because the field was only added as part of the
activation of BIP 2 anyway, and there are other old BIPs with a License
header.
2026-01-12 14:29:59 -08:00
Anthony Towns
2885f13d3f
Convert licenses to SPDX codes 2026-01-12 14:29:57 -08:00
Murch
24e96e870f
process: Created ↦ Assigned
```
sed -z -i 's/Created: /Assigned: /' bip-0*.md
sed -z -i 's/Created: /Assigned: /' bip-0*.mediawiki
```
2026-01-12 14:29:51 -08:00
Yuval Kogman
85c9385e20
Allow Version field in checks as per BIP 3 2026-01-12 14:29:16 -08:00
Murch
ebefd42cc8
editor: Remove outdated comment from README table 2026-01-12 14:29:15 -08:00
Murch
6829b943bd
process: Drop unused Discussions-To Header 2026-01-12 14:29:13 -08:00
Murch
38f525beac
BIP372: Drop redundant Discussions-To Header
BIP2 states that the Discussions-To header should only be used if the
proposal was discussed somewhere else beside the Bitcoin Developer
Mailing List. Therefore, the only use of the Discussions-To header in
the repository is unnecessary and can be removed before the header is
abolished.
2026-01-12 14:29:12 -08:00
Murch
b712509434
process: Update license check 2026-01-12 14:29:10 -08:00
Murch
fea4a0b0c5
process: Increase title limit 2026-01-12 14:29:09 -08:00
Murch
3fddf95984
process: Allow Deputies header 2026-01-12 14:29:07 -08:00
Murch
5207ef92a5
process: Author ↦ Authors
```
sed -z -i 's/Author: /Authors: /' bip-0*.md
sed -z -i 's/Author: /Authors: /' bip-0*.mediawiki
```

Also align correctly in case of multiple authors.
2026-01-12 14:29:00 -08:00
Murch
59730dec4f
process: Remove Comments-URI and -Summary
```
sed -i '0,/Comments-Summary/{/Comments-Summary/d}' bip-0*md
sed -i '0,/Comments-Summary/{/Comments-Summary/d}' bip-0*mediawiki
sed -i '0,/Comments-URI/{/Comments-URI/d}' bip-0*md
sed -i '0,/Comments-URI/{/Comments-URI/d}' bip-0*mediawiki
```

Then reset the BIPs with non-empty comment wikis:

- bip-0037.mediawiki
- bip-0038.mediawiki
- bip-0039.mediawiki
- bip-0042.mediawiki
- bip-0044.mediawiki
- bip-0047.mediawiki
- bip-0049.mediawiki
- bip-0060.mediawiki
- bip-0061.mediawiki
- bip-0074.mediawiki
- bip-0075.mediawiki
- bip-0077.md
- bip-0084.mediawiki
- bip-0090.mediawiki
- bip-0118.mediawiki
- bip-0125.mediawiki
- bip-0150.mediawiki
- bip-0151.mediawiki
- bip-0152.mediawiki
- bip-0171.mediawiki
- bip-0172.mediawiki
- bip-0173.mediawiki
- bip-0174.mediawiki
- bip-0176.mediawiki
- bip-0178.mediawiki
- bip-0199.mediawiki
- bip-0322.mediawiki
- bip-0340.mediawiki
- bip-0341.mediawiki
2026-01-12 14:28:37 -08:00
Murch
01352f7f40
process: Post-History ↦ Discussion
Also line up with additional items in the lines below.

```
sed -i -z 's/  Post-History: /  Discussion:   /' bip-0*.md
sed -i -z 's/  Post-History: /  Discussion:   /' bip-0*.mediawiki
```
2026-01-12 14:28:06 -08:00
Murch
863573ab0f
BIP135: Move discussion to correct header 2026-01-12 14:22:41 -08:00
Murch
a233bde4af
process: Standards Track ↦ Specification
```
sed -z -i 's/Type: Standards Track/Type: Specification/' bip-0*.md
sed -z -i 's/Type: Standards Track/Type: Specification/' bip-0*.mediawiki
```

After the scripted changes, the changes to BIP-40, BIP-41, and BIP-63
were undone, because it breaks CI.

These three BIPs only exist conceptually and their proposal documents
are missing which causes changes to them ot break the CI. I defer the
changes to these BIPs to a separate pull request to get CI to pass.
2026-01-12 14:22:40 -08:00
Murch
ff1f3b36f8
process: Superseded-By ↦ Proposed-Replacement
sed -z -i 's/Superseded-By: /Proposed-Replacement: /' bip-0*.md
sed -z -i 's/Superseded-By: /Proposed-Replacement: /' bip-0*.mediawiki
2026-01-12 14:22:38 -08:00
Murch
66defbdc03
process: Deferred/Obsolete/Rejected/Replaced/Withdrawn ↦ Closed
```
sed -z -i 's/Status: Deferred/Status: Closed/' bip-0*.md
sed -z -i 's/Status: Deferred/Status: Closed/' bip-0*.mediawiki
sed -z -i 's/Status: Obsolete/Status: Closed/' bip-0*.md
sed -z -i 's/Status: Obsolete/Status: Closed/' bip-0*.mediawiki
sed -z -i 's/Status: Rejected/Status: Closed/' bip-0*.md
sed -z -i 's/Status: Rejected/Status: Closed/' bip-0*.mediawiki
sed -z -i 's/Status: Replaced/Status: Closed/' bip-0*.md
sed -z -i 's/Status: Replaced/Status: Closed/' bip-0*.mediawiki
sed -z -i 's/Status: Withdrawn/Status: Closed/' bip-0*.md
sed -z -i 's/Status: Withdrawn/Status: Closed/' bip-0*.mediawiki
```

```
    sed -i 's/| Deferred/| Closed/' README.mediawiki
    sed -i 's/| Obsolete/| Closed/' README.mediawiki
    sed -i 's/| Rejected/| Closed/' README.mediawiki
    sed -i 's/| Replaced/| Closed/' README.mediawiki
    sed -i 's/| Withdrawn/| Closed/' README.mediawiki
```
2026-01-12 14:22:36 -08:00
Murch
5d3ceb3773
process: Final/Active ↦ Deployed
```
sed -z -i 's/Status: Active/Status: Deployed/' bip-0*.md
sed -z -i 's/Status: Active/Status: Deployed/' bip-0*.mediawiki
sed -z -i 's/Status: Final/Status: Deployed/' bip-0*.md
sed -z -i 's/Status: Final/Status: Deployed/' bip-0*.mediawiki
sed -i 's/| Active/| Deployed/' README.mediawiki
sed -i 's/| Final/| Deployed/' README.mediawiki
```
2026-01-12 14:22:33 -08:00
Murch
6760ba8738
process: Proposed ↦ Complete
Amend CI script to new statuses and update existing status field values
in table and BIPs.

```
sed -z -i 's/Status: Proposed/Status: Complete/' bip-0*.md
sed -z -i 's/Status: Proposed/Status: Complete/' bip-0*.mediawiki
sed -i 's/| Proposed/| Complete/' README.mediawiki
```
2026-01-12 14:22:30 -08:00
Murch
2f497a2bbe
process: Clarify handling of controversial BIPs
It is preferable to close PRs over having them stuck in controversy
limbo indefinitely.
2026-01-12 14:22:29 -08:00