1
0
mirror of https://github.com/bitcoin/bips.git synced 2024-11-19 01:40:05 +01:00
Commit Graph

3772 Commits

Author SHA1 Message Date
Ava Chow
3b99594660 BIP 379: Specify Miniscript
Co-Authored-By: Antoine Poinsot <darosior@protonmail.com>
2024-06-27 11:08:49 -06:00
Mark "Murch" Erhardt
5d77440479
Merge pull request #1540 from achow101/musig2
328, 390, 373: BIPs for MuSig2 derivation, descriptors, and PSBT fields
2024-06-25 17:36:09 -04:00
Elias Rad
3d299b4eb0
BIP39: fix grammar in wordlists doc (#1626) 2024-06-25 10:26:19 -07:00
Jon Atack
62161fb705
Merge pull request #1625 from OrfeasLitos/typo
BIP143: fix typo
2024-06-25 16:28:48 +00:00
Orfeas Stefanos Thyfronitis Litos
a1590ca121 Fix typo 2024-06-25 17:24:41 +01:00
Jon Atack
e8664b28fb
Merge pull request #1620 from theStack/bip352-mention-input_pubkey_sum-infinity-case
BIP-352: handle invalid privkey / pubkey sums for sending / scanning, add changelog
2024-06-22 20:02:56 +00:00
Sebastian Falbesoner
496e4295e7 BIP-352: add change log (SemVer format)
The first paragraph is taken from BIP-327, with the sentence
about MAJOR version zero removed, as it's not relevant here
(we don't track the pre-merge history).
2024-06-22 20:30:50 +02:00
Sebastian Falbesoner
59cc43d727 BIP-352: scanning: add step to skip tx if input pubkeys sum A is point at infinity
The input data for the test vector is taken from the signet transaction
fe788cf6578d547819def43d79e6c8f0153d4885f5a343d12bd03f34507aabd6
which spends two P2WPKH inputs with negated pubkeys (x, y) and (x, -y)
from the funding transaction 3a286147b25e16ae80aff406f2673c6e565418c40f45c071245cdebc8a94174e
(see also https://github.com/bitcoin-core/secp256k1/pull/1519#issuecomment-2143167510
and the output from the script in the previous commit message).

Co-authored-by: josibake <josibake@protonmail.com>
2024-06-22 01:48:44 +02:00
Sebastian Falbesoner
47033c62dc BIP-352: sending: add step to fail if input privkeys sum a is zero
The test vector data was generated with a Python script
(see bc15ea8d0f/contrib/silentpayments/submit_input_pubkeys_infinity_tx.py),
leading to the following output:

---------------------------------------------------------------------------------------------------------
     Privkey 1: a6df6a0bb448992a301df4258e06a89fe7cf7146f59ac3bd5ff26083acb22ceb
     Privkey 2: 592095f44bb766d5cfe20bda71f9575ed2df6b9fb9addc7e5fdffe0923841456
      Pubkey 1: 02557ef3e55b0a52489b4454c1169e06bdea43687a69c1f190eb50781644ab6975
      Pubkey 2: 03557ef3e55b0a52489b4454c1169e06bdea43687a69c1f190eb50781644ab6975
scriptPubKey 1: 00149d9e24f9fab4e35bf1a6df4b46cb533296ac0792
scriptPubKey 2: 00149860538b5575962776ed0814ae222c7d60c72d7b
     Address 1: tb1qnk0zf706kn34hudxma95dj6nx2t2cpujz7j5t5
     Address 2: tb1qnps98z64wktzwahdpq22ug3v04svwttm7gs8wn
-> Funding tx submitted: 3a286147b25e16ae80aff406f2673c6e565418c40f45c071245cdebc8a94174e

Taproot output address for spending tx: tb1pqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqkgkkf5
-> Spending tx submitted: fe788cf6578d547819def43d79e6c8f0153d4885f5a343d12bd03f34507aabd6
---------------------------------------------------------------------------------------------------------
2024-06-22 01:40:19 +02:00
Jon Atack
70a714372f
Merge pull request #1622 from theStack/bip352-simplify_input-hash_flow
BIP-352: generate `input_hash` after summing up keys (simplification)
2024-06-21 14:03:39 +00:00
Sebastian Falbesoner
fe0f83531e BIP-352: generate input_hash after summing up keys (simplification)
For both sender and receiver, generating the input hash is currently
listed as the first step. This already involves summing up the public
keys, even though summing up key material (private keys for sender,
public keys of inputs for receiver) is then again listed explicitly
in later steps.

It seems to be more obvious and less redundant (and also hopefully less
confusing for readers) to reorder the instructions to calculate the
input_hash _after_ the key aggregation is done to reuse the result. In
case of the sender, the private key sum has to be multiplicated with G
in order to the get to the corresponding input pubkey sum.

This also corresponds to the current BIP352 implementation in the
secp256k1 library (https://github.com/bitcoin-core/secp256k1/pull/1519).
The reference implementation in Python here is adapted for the sender
side, the receiver side has already generated the input_hash after
summing up the pubkeys.
2024-06-20 00:33:14 +02:00
Ava Chow
806b8b886f BIP 373: add MuSig2 PSBT Fields BIP 2024-06-18 20:09:26 -04:00
Ava Chow
6b9138c1a1 BIP 390: Add MuSig2 descriptor BIP 2024-06-18 20:09:26 -04:00
Ava Chow
48ebcb2191 BIP 328: add MuSig2 derivation BIP 2024-06-18 20:09:26 -04:00
Glen Cooper
85cda4e225
BIP 15: Remove broken hyperlink to Vanitygen (#1618) 2024-06-11 14:23:48 -04:00
Jon Atack
e21bf40e0c
Merge pull request #1617 from 1440000bytes/bip301
Fix bip number in specification
2024-06-10 20:46:44 +00:00
/dev/fd0
14af3d6fe9
fix bip number 2024-06-10 20:05:49 +00:00
Mark "Murch" Erhardt
1f8ce57410
Merge pull request #1615 from satsie/satsie-more-repeat-words
BIP340: remove repeat words
2024-06-10 13:31:04 -04:00
Mark "Murch" Erhardt
9cfe3a4a90
Merge pull request #1551 from TheBlueMatt/2024-02-dns-payment-instructions
Add BIP 353: DNS Payment Instructions
2024-06-10 11:04:20 -04:00
Stacie
44984acde9 BIP340: remove repeat words 2024-06-09 21:56:51 -04:00
Jon Atack
bc520fade5
Merge pull request #1614 from satsie/satsie-bip79-edit
BIP79: remove repeat word
2024-06-09 03:23:04 +00:00
Stacie
b33c948f00 BIP79: remove repeat word 2024-06-08 23:00:17 -04:00
Matt Corallo
4f75edb2b8 Add a BIP which resolves human readable names into payment info
User behavior has clearly indicated a strong demand for the
resolution of human-readable names into payment instructions. This
BIP defines a protocol to do so using only the DNS, providing for
the ability to query such resolutions privately, while utilizing
DNSSEC to provide compact and simple to verify proofs of mappings.
2024-06-04 20:40:24 +00:00
Luke Dashjr
70d9b07ab8
Merge pull request #1598 from ChrisCho-H/master
bip-0322: add another valid sig vector not to confuse
2024-05-31 13:47:31 -04:00
Jon Atack
9636d9c683
Merge pull request #1603 from cocoyeal/remove_duplicated_words
Remove duplicated words
2024-05-31 04:15:59 +00:00
cocoyeal
46a2440718 remove duplicated words 2024-05-29 16:18:11 +08:00
Jon Atack
758a58ab54
Merge pull request #1602 from Sajjon/cyon_fix_typos
Fix typos on 17 files.
2024-05-28 20:04:43 -07:00
Jon Atack
10650becef
Merge pull request #1541 from glozow/2024-01-v3-prio
BIP431: Opt In Topologically Restricted Until Confirmation Transactions For More Robust Fee-bumping
2024-05-28 19:50:57 -07:00
Mark "Murch" Erhardt
79be0f9c52
Merge pull request #1556 from TomBriar/bip-tombriar-compressed-transactions
BIP 337: Compressed Transactions
2024-05-28 14:49:08 -04:00
Murch
f240c40284
BIP-0337: Add table entry, move to numbered file 2024-05-28 14:45:04 -04:00
Murch
73cfb05b94
BIP-0337: Fix Comments-URI 2024-05-28 14:44:29 -04:00
Tom Briar
996e31fa16
bip-tombriar-compressed-transactions 2024-05-28 14:44:27 -04:00
Alexander Cyon
1eefea0456 Fix typos on 17 files. 2024-05-28 19:25:46 +02:00
glozow
04d3a0609b Define BIP431: TRUCs 2024-05-23 16:33:00 +01:00
Jon Atack
e2f7481a13
Merge pull request #1445 from MarnixCroes/bip38-fix-links
BIP38: remove broken links
2024-05-22 05:06:25 -07:00
Marnix
4c08e2c0bf BIP38: remove dead links 2024-05-22 11:30:43 +02:00
Jon Atack
740e826c19
Merge pull request #1579 from achow101/stop-link-spam-38
38: Remove other implementation section and dead reference implementation link
2024-05-16 11:22:58 -07:00
Jon Atack
e3ef9a5646
Merge pull request #1580 from achow101/stop-link-spam-85
85: Remove other implementation sections
2024-05-16 07:05:48 -07:00
Chris Hyunhum Cho
2f311cc629
bip-0322: add another valid sig vector not to confuse 2024-05-15 11:51:28 +09:00
Jon Atack
96161aeaf5
Merge pull request #1591 from siv2r/bip327-fix-verify-fail-vector
Fix the first two test vectors of verify fail test
2024-05-14 01:59:40 -07:00
siv2r
508e3a6a40 Fix the four test vectors
- first two vectors of verify_fail_test
- first two vectors of verify_error_test
2024-05-14 07:39:38 +05:30
Mark "Murch" Erhardt
911e710cbb
Merge pull request #1595 from threewebcode/patch-1
bip-0114: fix typo
2024-05-13 13:03:49 -04:00
Mark "Murch" Erhardt
bc87508a0c
Merge pull request #1594 from jonatack/2024-05-bip352-coredev-link-fixup
BIP352: fix link to coredev discussion
2024-05-13 12:57:50 -04:00
Mark "Murch" Erhardt
77f081789f
Merge pull request #1593 from jonatack/2024-05-bip388-fixups
BIP388 fixups
2024-05-13 12:53:58 -04:00
Afanti
2157872faa
bip-0114: fix typo 2024-05-13 10:25:31 +08:00
Jon Atack
f4693dc0fd bip352: fix link to coredev discussion 2024-05-12 11:22:56 -06:00
Jon Atack
4c689f7cf9 bip-0388: make reference implementation executable 2024-05-12 11:08:30 -06:00
Jon Atack
e7fef46177 bip-0388: fix 3 links 2024-05-12 11:08:30 -06:00
Jon Atack
10e5f62a38
Merge pull request #1592 from bigspider/bip-388-proposed
BIP-388: change status to 'Proposed'
2024-05-12 09:31:45 -07:00
Salvatore Ingala
1d7f12d36a
Update BIP-388 status to 'Proposed' 2024-05-12 11:56:08 +02:00