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

4169 Commits

Author SHA1 Message Date
Murch
60ac0e8fec
Merge pull request #1848 via 'jamesob-25-05-withdraw-vault' 2025-05-08 11:38:05 -07:00
James O'Beirne
b771054d4d
BIP-345: withdraw 2025-05-08 11:33:31 -07:00
Jon Atack
b8702ef497
Merge pull request #1846 from ben-kaufman/bip48-mainnet-examples
BIP48: Add P2SH-P2WSH and P2TR mainnet examples
2025-05-08 11:31:42 -06:00
Murch
bce061f009
Merge pull request #1841 from 0ceanSlim
- Adds BIP172: Define Bitcoin Subunits as Satoshis
2025-05-08 10:28:56 -07:00
0ceanSlim
c37927174e
Add BIP172: Define Bitcoin Subunits as Satoshis 2025-05-08 10:24:02 -07:00
Mark "Murch" Erhardt
4aa3aef572
Merge pull request #1821 from BitcoinErrorLog/master
BIP177: Redefine Bitcoin’s Base Unit
2025-05-08 09:52:03 -07:00
John Carvalho
59527bd92b
Add BIP177: Redefine Bitcoin's Base Unit
- Redefine bitcoin base unit to smallest unit
- Propose BIP 21Q: Redefine bitcoin base unit to smallest indivisible unit
- Adds comments acknowledging and handling sats and satoshis
- Make use of "base unit" and variations more consistent and intentional
- Make "bitcoin" v "Bitcoin" consistent
- Made "bitcoin" v "Bitcoin" consistent by using Bitcoin for the protocol and idea, and bitcoin for the units, which I believe is conventional style.
2025-05-08 09:49:28 -07:00
benk10
9c22bcef63 BIP48: Add P2SH-P2WSH and P2TR mainnet examples 2025-05-04 08:46:13 +03:00
Jon Atack
3365fb7a7e
Merge pull request #1835 from ben-kaufman/bip48-p2tr
BIP48: Add p2tr script type derivation
2025-04-30 21:07:28 -06:00
Jon Atack
74fc5b92b0
Merge pull request #1800 from darosior/consensus_cleanup
BIP 54: Consensus Cleanup
2025-04-29 16:23:51 -06:00
Mark "Murch" Erhardt
2fa52fcb0e
Merge pull request #1842 from gap-editor/bip-0197
BIP 197: Update the invalid link
2025-04-29 13:28:56 -07:00
benk10
e7cf2e9149 BIP48: Add p2tr script type derivation 2025-04-29 19:17:05 +03:00
Mark "Murch" Erhardt
a1ce143fc4
Merge pull request #1839 from jonatack/2025-04-collect-typo-fixups
Collect and curate typo fixups from April
2025-04-28 14:19:41 -07:00
Maximilian Hubert
9d960e9906
Update bip-0197.mediawiki 2025-04-28 20:51:55 +02:00
Antoine Poinsot
1ee43519dd Consensus Cleanup BIP draft 2025-04-28 14:30:31 -04:00
Maximilian Hubert
22806674f4
BIP 99: update invalid link to hardfork-timewarp-0.11 branch (#1836)
* Update bip-0099.mediawiki

* Update bip-0099.mediawiki
2025-04-28 11:02:04 -07:00
Maximilian Hubert
9abe24d2c6
BIP 154: fix link to cuckoo-profile.pdf (#1840)
* Update bip-0154.mediawiki

* Update bip-0154.mediawiki
2025-04-28 10:57:28 -07:00
Jon Atack
8137279570 Monthly typo fixups
Co-authored-by: xiaobei0715 <1505929057@qq.com>
Co-authored-by: wgyt <wgythe@gmail.com>
Co-authored-by: Ragnar <rodiondenmark@gmail.com>
2025-04-28 10:29:11 -06:00
Maximilian Hubert
b60b886414
bip-0112: fix links to Deployable Lightning paper (#1837) 2025-04-28 08:19:21 -07:00
Jon Atack
c11792bf18
Merge pull request #1838 from gap-editor/bip-0119
BIP 119: fix link to MES16 paper
2025-04-28 08:58:16 -06:00
Maximilian Hubert
f5e4b5b89c
Update bip-0119.mediawiki 2025-04-28 16:49:57 +02: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