1
0
mirror of https://github.com/bitcoin/bips.git synced 2026-05-11 16:51:51 +00:00
Commit Graph

4592 Commits

Author SHA1 Message Date
Jon Atack
9fce983a96 Merge pull request #2141 from guggero/bip-0322-finalization
BIP-0322: clarify motivation/purpose, add prefix, clarify Proof of Funds format, describe PSBT based signing
2026-05-07 20:13:01 -07:00
Jon Atack
e98e42cf0a Merge branch 'Snezhkko-chore/fix-create-outputs-recipients-typing'
* Snezhkko-chore/fix-create-outputs-recipients-typing:
  BIP352: fix Any typing
  BIP352: Fix recipients typing in create_outputs to List[Dict[str, str]]
2026-05-07 21:05:21 -06:00
Jon Atack
2f7117c6e9 BIP352: fix Any typing
`any` is a built-in logic function but not a valid type hint

Instead, use `Any`, the special construct from the typing module
that informs static analysis tools.
2026-05-07 21:04:24 -06:00
Snezhkko
c5c76f355a BIP352: Fix recipients typing in create_outputs to List[Dict[str, str]] 2026-05-07 21:04:11 -06:00
nervana21
acf99fc160 BIP 54: grammar improvements (#2151)
* bip54: Clarify deployment cost wording

* bip54: Clarify merkle tree wording

* bip54: Clarify sigops wording

* bip54: Clarify timewarp wording

* bip54: Clarify miner preparation cost wording
2026-05-07 12:24:34 +02:00
Oli
40dc3e1a19 README+BIP-0322: add changelog, mark Complete 2026-05-06 12:20:12 +02:00
Oli
414e16f5a2 BIP-0322: remove comments, add discussion links
As described in BIP-0003, the comments section is no longer required.
Instead we add all relevant discussions.
2026-05-06 12:20:12 +02:00
Oli
e69e2f9717 BIP-0322: add guggero as deputy 2026-05-06 12:20:12 +02:00
Oli
d77863fb9e BIP-0322: update test vectors
This commit updates the test vectors to reflect all the changes in the
previous commits and also introduces new test vectors for the Proof of
Funds variant.
2026-05-06 12:20:11 +02:00
Oli
0dd436e7d4 BIP-0174+BIP-0322: describe PSBT based signing
This commit proposes a new PSBT input field type for transporting the
message to be signed to different signers in a multisig signing use
case.
2026-05-06 12:20:11 +02:00
bubb1es71
2cf4272948 BIP451: Dust UTXO Disposal Protocol (#2150)
* Add draft BIP for dust utxo disposal protocol

* Assign number 451, update preamble, rename BIP file, and add entry to README table

* Small edits

* Change title, abstract, motivation to focus on dust attack UTXOs
* Simpify dust selection section
* Add batching to address consolidation rules
* Fix core version in privacy preservation
* Fix table units

* Add confirmed utxo rationale

* Revert title back to original

* Change output to always be OP_RETURN ash
2026-05-06 09:22:45 +02:00
Jon Atack
ca418babb7 Merge pull request #2091 from EthanHeilman/fixlinks
Fix broken anchor links
2026-05-05 13:44:36 -07:00
Jon Atack
eda049e920 Merge pull request #2113 from schjonhaug/fix/bip119-pseudocode-typo
BIP-119: Fix missing self. prefix on stack reference in pseudocode
2026-05-01 13:16:17 -07:00
Murch
442e9628b3 Eliminate remaining "user-content" anchor links 2026-04-27 17:29:24 -07:00
Murch
b3a069464a 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
```
2026-04-27 17:26:49 -07:00
Murch
32b7adf847 BIP342: Fix anchor links 2026-04-27 17:26:47 -07:00
Murch
5137d59442 BIP23: Fix anchor links 2026-04-27 17:26:45 -07:00
Murch
42303cbdf8 BIP22: fix anchor links 2026-04-27 17:26:43 -07:00
Ethan Heilman
835e7107b8 Fix broken anchor links 2026-04-27 17:26:41 -07:00
craigraw
5253e9a294 BIP-0329: Add spscan label type for labelling silent payments wallets (#2149)
* Add spscan label type

* minor edits
2026-04-27 08:01:58 -07:00
Jon Atack
178ba65952 Merge pull request #1946 from strmfos/master
BIP-158: replace deprecated io/ioutil with os.ReadFile
2026-04-24 18:57:07 -07:00
Jon Atack
554be702d7 Merge pull request #2148 from boskodev790/fix/bip-0003-reference-broken-link-in-changelog-entries
Fix BIP3 link in BIP360, touch up BIP3 reference in BIP347
2026-04-23 20:03:26 -07:00
SeedHammer
9eb67f5764 Merge pull request #1548 from seedhammer/master
BIP391: Binary Output Descriptors
2026-04-23 11:17:01 -07:00
Murch
78494dbcc0 Merge pull request #2144 from murchandamus/bip388-update-changelog
bip388: Update Changelog
2026-04-23 07:56:28 -07:00
boskodev790
1609a4f576 Fix broken BIP 3 reference in bip-0347 and bip-0360 changelogs
Both BIPs added a changelog entry on 2026-01-23 referencing the updated
BIP Process meta-BIP with the wrong form:

- bip-0360.mediawiki:404 rendered `[[bip-0003.mediawiki|BIP 003]]`, but
  the actual file is `bip-0003.md`. The MediaWiki link therefore failed
  to resolve to the BIP 3 page on the bitcoin/bips GitHub wiki render
  and on the bips.dev / bip339 style mirrors — readers of the bip-0360
  changelog landed on a 404.

- bip-0347.mediawiki:170 wrote the same reference as bare text
  `BIP 003` with no link at all, so readers of bip-0347 had no way to
  navigate to the BIP 3 they were meant to follow.

Rewrite both entries to use the canonical form `[[bip-0003.md|BIP 3]]`:

- `bip-0003.md` matches the actual filename.
- `BIP 3` matches the display text convention the README (line 40) and
  every other BIP in this repository already use when linking to
  bip-0003 — "BIP 003" with the three-digit zero-pad appears nowhere
  else in the repo for any BIP and is not part of the display style
  described in BIP 2.

Also drops the trailing whitespace on the bip-0347 line while we are
there (the `typos` CI tolerates it but it is inconsistent with every
other line in the same changelog block).
2026-04-23 04:03:40 +02:00
Murch
69a63f629f Merge pull request #2143 from murchandamus/bip174-fixup-changelog
bip174: Explain BIP2 status in Changelog
2026-04-21 13:34:32 -07:00
Jon Atack
50c6ce7636 Merge pull request #2146 from conduition/361/corrections
Corrections to BIP-0361 on rescue protocols
2026-04-20 07:49:09 -07:00
Oli
c2850a0010 BIP-0322: add prefix to message signature 2026-04-20 09:43:30 +02:00
Oli
833a1a8a89 BIP-0322: encode finalized PSBT for Proof of Funds
This commit proposes a fix for the problem that an offline verifier
previously was not able to even verify the witness stack of additional
inputs. By providing the full finalized PSBT, a verifier has all the
input data necessary to run the script through the validation engine.

We require the PSBT to be finalized to make sure it contains the final
script witness or final script sig but no extra potentially
privacy-sensitive fields. The Non-Witness and Witness UTXO fields are
explicitly allowed for finalized PSBTs, which makes the format perfect
for the use case.
2026-04-20 09:43:30 +02:00
Oli
8a46a5bfa5 BIP-0322: clarify terminology used
Since the term "signature" can be pretty overloaded dependin on the
context, we clarify what it actually means in this BIP.
2026-04-20 09:43:30 +02:00
Oli
0a20483c65 BIP-0322: update motivation, clarify Proof of Funds purpose
This addresses two discussion items:
 - The list of UTXOs should not be interpreted as a "proof that no other
   UTXOs for an address exist".
 - The BIP only addresses "signer receives funds with the address" and
   not "signer sent a previous transaction" use case.
2026-04-20 09:43:30 +02:00
Oli
665d96065f BIP-0322: reference btcd implementation 2026-04-20 09:43:30 +02:00
Oli
bbaf40ce1d BIP-0322: small semantic and formatting fixes
This fixes small inconsistencies or incomplete definitions based on
previous, already merged changes.
2026-04-20 09:43:29 +02:00
Oli
6f3fce21e6 BIP-0322: wrap long lines at 100 characters
This re-formats the document for easier editing and diff viewing.
Wiki syntax is weird for lists and line wraps break them. Simple lists
were changed to <ul> or <ol> tags but complex lists remain as they are
to not bloat the diff too much.
2026-04-20 09:43:29 +02:00
conduition
da7cc678d5 Fix BIP32 links and consistency
Co-authored-by: Jon Atack <jon@atack.com>
2026-04-17 10:44:09 -06:00
Jon Atack
83c1fc8ed2 Merge pull request #2142 from macgyver13/bip352-intermediate-sum
BIP-352: add test vector for edge case - input key intermediate sum zero
2026-04-17 09:23:51 -07:00
conduition
ab2ebe2c5d Corrections to BIP-0361 on rescue protocols 2026-04-17 15:22:59 +00:00
Murch
eec42583f0 Merge pull request #2046 from macgyver13/bip375-reference-testvectors-pr
BIP375: Add test vectors + validator
2026-04-16 17:47:48 -07:00
macgyver13
8c0a9bfa57 BIP-375: add changelog section
Add Changelog section
Begin with version 0.1.0 as this BIP is Draft phase
2026-04-16 14:03:48 -04:00
macgyver13
00957af80e BIP-352: update changelog and correct typo
Add patch version 1.1.1 to Changelog
Remove extra leading double-quote in CoinJoin ref name
2026-04-16 12:06:56 -04:00
macgyver13
c2ac36f48f BIP-352: add test vector for edge case - input key intermediate sum zero
Exercises [A, -A, A] input key pattern where the intermediate sum
hits zero after the first two keys, but the final sum is non-zero.
Implementations that validate after each pairwise addition (rather
than summing all keys first) will incorrectly reject this case.
2026-04-16 12:05:12 -04:00
Murch
e1755b8257 bip174: Fix relative paths to other BIPs 2026-04-16 06:57:49 -07:00
Murch
cfff971940 bip388: Add missing Version header, rename Changelog 2026-04-15 11:32:28 -07:00
Murch
db131ef7b9 bip388: Amend assignment date
BIP3 clarified the content of the ambiguous Created header and renamed it to Assigned.
BIP388 was assigned per
https://github.com/bitcoin/bips/pull/1389#pullrequestreview-1796535592
on 2023-12-26.
The prior "Created:" field content was moved to a Changelog entry.
2026-04-15 11:31:40 -07:00
Murch
78fcc3130b Merge pull request #2122 from darosior/2603_bip54_improvements
BIP 54 test vectors improvements following review in Inquisition
2026-04-15 10:44:47 -07:00
Murch
777ca76c2e bip174: Explain BIP2 status in Changelog 2026-04-15 08:31:40 -07:00
Murch
588431816a Merge pull request #2135 from murchandamus/2026-04-08-deduplicate-psbt-tables
BIP174: Deduplicate type definitions by introducing registry file
2026-04-14 17:19:22 -07:00
Jameson Lopp
86dfa19bef BIP361: Post Quantum Migration and Legacy Signature Sunset (#1895)
* BIP-361

* bip361: Fix background color

* address feedback
2026-04-14 07:37:58 -07:00
Ava Chow
d6ff1bec1d 174: Add changelog and version number 2026-04-13 08:12:35 -07:00
Murch
0a23dbf56a BIP174: Deduplicate per-output type definitions 2026-04-13 08:12:30 -07:00