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

4150 Commits

Author SHA1 Message Date
benk10
9c22bcef63 BIP48: Add P2SH-P2WSH and P2TR mainnet examples 2025-05-04 08:46:13 +03:00
benk10
e7cf2e9149 BIP48: Add p2tr script type derivation 2025-04-29 19:17:05 +03:00
Mark "Murch" Erhardt
fd3878a279
Merge pull request #1555 from TheBlueMatt/2024-03-uris-without-bodies
BIP 321: URI Scheme (Replace BIP 21 with a new BIP containing information about more modern usage of it)
2025-04-24 21:52:29 -07:00
Matt Corallo
f5cb29f9b7 Update BIP 321 with information about more modern usage of it
As Bitcoin has grown, the introduction of new address formats
describing new forms of payment instructions has become
increasingly fraught with compatibility issues. Not only does there
exist traditional on-chain addresses, but some recipients wish to
receive Lightning (when the sender supports it) or newer formats
such as Silent Payments.

This has led to increasing use of the BIP 21 query parameters to
encode further optional payment instructions.

Looking forward, as new payment instructions get adopted, it makes
much more sense to include them in query parameters rather than
replace the existing address field, ensuring compatibility with
senders and recipients who may or may not be upgraded to support
all the latest payment instructions.

This updates BIP 321 to suggest that future address formats do this.

Further, it updates BIP 321 to allow an empty bitcoin address in
cases where new payment instructions have moved to becoming
mandatory. This isn't a backwards-incompatible change any more than
switching to a new address format is, so doesn't impact existing
BIP 21 implementations in a new way, however provides a nice
conclusion to the query-parameter-based upgrade path - once a form
of payment instructions has broad adoption, senders can simply drop
the existing address field, keeping their existing query parameter
encoding, rather than replace the existing address field. It also
addresses the question of what to do if a wallet no longer wishes
to receive some legacy on-chain address, but has multiple payment
instruction formats that they wish to include - deciding which one
to place in the address field would be a difficult task.

Finally, it defines a new query parameter, the `pop` parameter,
which allows the initiating application to receive callbacks for
proof of payment completion.
2025-04-23 14:51:51 +00:00
Nicolas Dorier
bf8f197553
BIP388: List BTCPay Server and NBitcoin implementations
* BTCPay Server and NBitcoin supporting BIP388
* BIP388: Spelling improvements

Co-authored-by: Salvatore Ingala <6681844+bigspider@users.noreply.github.com>
2025-04-23 05:50:33 -07:00
Janus
757e15e568 Reject 199 (expired) 2025-04-21 15:18:24 -07:00
Tronica
6ceafc51b1
BIP-0374: fix incorrect bit index and modernize CSV reader usage in test vector scripts (#1817)
* Update run_test_vectors.py

* Update gen_test_vectors.py

* Regenerate test vectors after fixing message tampering logic in gen_test_vectors.py
2025-04-16 07:10:16 -07:00
Jon Atack
05d546d581
Merge pull request #1779 from VolodymyrBg/AE5959595959
BIP374: add subtraction operator for GE class
2025-04-16 08:08:34 -06:00
VolodymyrBg
7c80a699ff Implement subtraction operator for GE class in BIP-0374 reference code
This commit implements the subtraction operator (sub) for the GE (Group Element) class in the secp256k1.py file as requested in the TODO comment in reference.py.

The implementation is straightforward, leveraging the existing neg method to define subtraction as addition with the negated element: self + (-a).

After implementing the operator, the code in reference.py was simplified by replacing expressions like:
s * G + (-e * A) with s * G - e * A

This makes the code more readable and directly matches the mathematical notation used in the BIP-0374 specification.

Co-Authored-By: Sebastian Falbesoner <sebastian.falbesoner@gmail.com>
2025-04-15 14:39:09 +03:00
VolodymyrBg
c5220f8c3b
BIPs 78 and 329: minor grammar and typo fix-ups (#1825)
* BIP 329 fix typo

* BIP 78 fix typos
2025-04-14 12:35:42 -07:00
wgyt
befa252b51
BIP3,37,39,42,52,62: fix typos (#1824)
Co-authored-by: Mark "Murch" Erhardt <murch@murch.one>
2025-04-14 08:22:17 -07:00
leopardracer
4b568f2c37
BIP75: fix typo (#1823) 2025-04-14 08:17:43 -07:00
FT
8375f71ee6
BIP15,20: add missing words (#1822)
* Update bip-0015.mediawiki

* Update bip-0020.mediawiki

* Update bip-0035.mediawiki
2025-04-12 07:55:08 -07:00
kilavvy
1447ab990d
BIP381, 382: minor grammar fixups (#1816)
* Update bip-0382.mediawiki

* Update bip-0381.mediawiki
2025-04-11 13:01:50 -07:00
Mark "Murch" Erhardt
1163f3ab69
Merge pull request #1814 from leopardracer/patch-1
BIP-0374: fix typo
2025-04-07 13:03:00 -07:00
Jon Atack
8455e258b0
Merge pull request #1812 from leopardracer/master
BIP-0324: fix typo
2025-04-07 09:43:45 -06:00
leopardracer
f64e8255c6
Update bip-0374.mediawiki 2025-04-06 23:22:43 +03:00
leopardracer
54c39b27b9
Update reference.py 2025-04-06 22:56:17 +03:00
D++
f958360a27 Update to include newer address types
Added bech32 and bech32m address types to reflect the newer SegWit and Taproot addresses.

Co-Authored-By: Reese Russell <reese.russell@ymail.com>
2025-04-04 16:37:24 +00:00
Matt Corallo
7e6a583c8d Copy BIP 21 into a new BIP 321 with only the header changed 2025-04-04 16:37:24 +00:00
Mark "Murch" Erhardt
3ccc59dbdb
Merge pull request #1811 from futreall/master
BIP352: minor docstring fixups
2025-04-04 06:35:59 -07:00
futreall
a6cbb79a3f
fix err has to hash reference.py 2025-04-03 09:10:20 +03:00
Mark "Murch" Erhardt
7bc88ba4e2
Merge pull request #1810 from jonatack/2025-04-bip340-url-fixup
BIP340: fix url to test-vectors.py
2025-04-02 09:05:34 -07:00
Jon Atack
480921f66f BIP340: fix url to test-vectors.py 2025-04-02 09:47:31 -06:00
Jon Atack
74eee4c353
Merge pull request #1807 from real-or-random/340-code-license-change 2025-04-02 08:45:25 -06:00
Tim Ruffing
84a64ec1c6 bip340: Change license of code and test vectors
See https://github.com/bitcoin/bips/commits/master/bip-0340 for a list
of contributors. I have obtained permission to do this change from all
contributors in private. Nevertheless, it would be good to get an ACK
from every contributor in order to have publicly available evidence.

 - [ ] @sipa
 - [ ] @jonasnick
 - [ ] @theStack
 - [ ] @ysangkok

I haven't contacted @Sajjon and @satsie, whose contributions constitute
of fixing not more than two typos and are thus below the threshold of
originality required for copyright to be applicable.
2025-04-02 15:38:56 +02:00
Jon Atack
9847bc7704
Merge pull request #1808 from futreall/master
BIP328: minor docstring fixups
2025-04-01 13:13:40 -06:00
futreall
5772c6b40d fix error Base48 to Base58
chore: fix error Base48 to Base58

fix error Base48 to Base58
2025-04-01 21:18:06 +03:00
quapka
fade15caa2
BIP380: minor grammar fixups (#1802)
* Use pronoun only after recalling the sentence object

* Use singular form

* Fix phrasal verb form

---------

Co-authored-by: quapka <>
2025-03-29 07:58:33 -07:00
Murch
a7075ee434
BIP3: Fix link to BIP 123 2025-03-29 07:42:31 -07:00
Litvintech
816181f0d4
Update dead link in bip-0003.md 2025-03-29 16:56:16 +03:00
Mark "Murch" Erhardt
04b2ec649b
Merge pull request #1804 from darosior/2503_bip3_nits
bip3: a couple nits
2025-03-28 13:25:17 -07:00
Antoine Poinsot
5dcb2d46c9 bip3: link to ownership transfer section for complete->closed transition
Reading from top to bottom, the passive voice "they become BIP's author or deputy" left me wondering
how it would concretely work in practice. Link to the transferring ownership section for
clarification.
2025-03-28 11:54:13 -04:00
Antoine Poinsot
617db7a0fe bip3: rename 'shareholder' to 'stakeholder'
Shareholder refers to an individual or a legal entity owning a share of a company's share capital.
Since the Bitcoin system is not a company, but different actors across the industry have a stake in
its operation, i think the word "stakeholder" better conveys the intended meaning of the original
author here.
2025-03-28 11:49:20 -04:00
Jon Atack
02ad0e01c2
Merge pull request #1794 from murchandamus/2025-03-propose-BIP3
BIP3: Move to Proposed
2025-03-24 12:55:27 -06:00
Jon Atack
d7cc40ed69
Merge pull request #1798 from sky-coderay/master
BIP69: typo fixup in bip-0069_examples.py
2025-03-24 12:47:34 -06:00
Skylar Ray
b09a0aa7ca
Update bip-0069_examples.py 2025-03-24 19:51:48 +02:00
Mark "Murch" Erhardt
65b6d6d66d
Merge pull request #1791 from wgyt/wgyt-bips-patch
BIPs 67 and 301: fix links
2025-03-21 18:26:29 -07:00
wgyt
0e3a56c681 fix links 2025-03-22 09:15:16 +08:00
Mark "Murch" Erhardt
09564837a9
Merge pull request #1778 from sky-coderay/patch-1
BIP379: add missing hexadecimal notations
2025-03-21 09:29:37 -07:00
Jon Atack
7a32141336
Merge pull request #1584 from jonatack/2024-04-bip32-amendment
BIP32 amendment: base58chk-encoded extended keys are always 111 chars
2025-03-21 09:06:38 -06:00
Jon Atack
2fd67e5bd4
Merge pull request #1777 from vipocenka/fix/fix
BIP158: minor error message fixup in `gentestvectors.go`
2025-03-21 08:56:51 -06:00
Murch
b650373ded
Merge branch 'BIP-0060' 2025-03-21 07:22:27 -07:00
Jon Atack
335edb3519
Merge pull request #1792 from JeremyRubin/119-edits-2025
[BIP-119] language overhaul & cleanup
2025-03-21 08:18:30 -06:00
Mark "Murch" Erhardt
e946c66c77
Merge pull request #1795 from guspan-tanadi/pdfpathlinks
bip-0068: current pdf path links
2025-03-19 06:53:41 -07:00
Guspan Tanadi
7523f8ed0a
fix pdf path links bip-0068 2025-03-19 20:04:15 +07:00
Murch
76132ec284
bip3: Move to Proposed 2025-03-18 19:31:49 -07:00
Jeremy Rubin
88c0fb9b5b [BIP-119] language overhaul & cleanup 2025-03-18 09:28:18 -04:00
Mark "Murch" Erhardt
8a75e437c5
Merge pull request #1790 from futreall/fix
bip-0375.mediawiki fix duplicate 'the'
2025-03-17 18:05:43 -07:00
Jon Atack
59e7cb4334
Merge pull request #1782 from Roasbeef/testnet4-spec-reword
BIP-0094: reformat specification section for clarity and readability
2025-03-17 18:50:14 -06:00