Jon Atack
cce668de3c
bip374: update secp256k1.py to be executable
2024-12-28 18:20:56 -07:00
Jon Atack
a261439d92
bip374: update reference.py to be executable
2024-12-28 18:20:33 -07:00
Jon Atack
6c807b7502
Merge pull request #1734 from guggero/bip-0374-test-vector-fix
...
bip-0374: fix challenge generation, use correct generator point
2024-12-28 13:17:58 -08:00
Oliver Gugger
e141b9501d
bip-0374: remove default value for G in dleq_challenge
...
To avoid the mistake fixed in the previous commit, we remove the default
value from the G parameter of dleq_challenge.
2024-12-28 21:42:07 +01:00
Oliver Gugger
8bc42a2673
bip-0374: fix challenge generation, use correct G
...
Both generating and verifying a proof allows for specifying a custom
generator point G. But that custom generator point was not passed into
the dleq_challenge function, resulting in the default (secp256k1)
generator point to be used. This lead to the test vectors being
incorrect.
2024-12-28 15:58:08 +01:00
Mark "Murch" Erhardt
27e1394895
Merge pull request #1733 from andrewtoth/andrew/fix-formatting
...
BIP374: Fix link and formatting in reference section
2024-12-27 13:14:51 -05:00
Andrew Toth
81668ec98b
BIP374: Fix link and formatting in reference section
2024-12-27 13:05:52 -05:00
Mark "Murch" Erhardt
75b12ac591
Merge pull request #1689 from andrewtoth/dleq
...
BIP374: Discrete Log Equality Proofs (DLEQ)
2024-12-27 10:29:46 -05:00
Andrew Toth
248540e2ac
fix typo
2024-12-27 10:26:35 -05:00
Mark "Murch" Erhardt
b509e6c85f
Merge pull request #1731 from JeremyRubin/patch-12
...
[BIP-0349] Add Re-Keying explanation to OP_INTERNALKEY
2024-12-27 10:06:03 -05:00
Andrew Toth
cb3afee850
Move test vectors to bip-0374 directory, add tests for G
2024-12-26 14:17:52 -05:00
Andrew Toth
1842120907
Clarify restraints on given points
2024-12-26 14:16:57 -05:00
Andrew Toth
9d6dc6b681
Update README table, post-history, and comments-uri
2024-12-26 12:10:52 -05:00
Andrew Toth
1350bc423e
BIP374
2024-12-26 12:06:44 -05:00
Andrew Toth
b533b92ed3
Update bip-DLEQ.mediawiki
...
Co-authored-by: Mark "Murch" Erhardt <murch@murch.one>
2024-12-26 11:52:51 -05:00
Andrew Toth
5799659da0
Update bip-DLEQ.mediawiki
...
Co-authored-by: Mark "Murch" Erhardt <murch@murch.one>
2024-12-26 11:52:39 -05:00
Mark "Murch" Erhardt
0b37449aa0
Merge pull request #1730 from Gudnessuche/patch-6
...
Update bip-0370.mediawiki
2024-12-26 11:05:31 -05:00
Mark "Murch" Erhardt
665712c727
Merge pull request #1729 from theStack/fix-bip0340-test-vector-gen_lift_x
...
BIP-340: fix `lift_x` calls in test vector generation script
2024-12-23 16:09:41 -05:00
Mark "Murch" Erhardt
a0d4fb16f1
Merge pull request #1728 from JeremyRubin/patch-11
...
[BIP-0349] OP_INTERNALKEY add credit section
2024-12-23 16:05:38 -05:00
Andrew Toth
a0d8aad1df
Fix typo
2024-12-21 16:18:24 -05:00
Andrew Toth
0b590d0d5d
Add footnote recommending using fresh randomness for each proof
2024-12-21 16:17:11 -05:00
Andrew Toth
90e7027f19
Remove changelog
2024-12-21 16:11:46 -05:00
Andrew Toth
fd60d8eded
Add description of proof
2024-12-21 16:11:12 -05:00
Jeremy Rubin
337f559150
[BIP-0349] Add Re-Keying explanation to OP_INTERNALKEY
2024-12-21 14:43:40 -05:00
Andrew Toth
f5d1c12aa9
Add acknowledgements
2024-12-21 13:16:48 -05:00
Andrew Toth
687198d72b
Fail if any point is infinity when verifying
2024-12-21 12:52:54 -05:00
Andrew Toth
1f875a3706
Add note about generating and running test vectors
2024-12-21 12:52:28 -05:00
Jeremy Rubin
d3d34c04f3
[BIP-0349] wrap discussion link
...
Co-authored-by: Mark "Murch" Erhardt <murch@murch.one>
2024-12-21 12:39:05 -05:00
Jesus Christ
bc300dddd9
Update bip-0370.mediawiki
...
Minor grammar and punctuation errors
2024-12-21 14:46:35 +00:00
Sebastian Falbesoner
6b16952422
Add test vectors for DLEQ proof generation/verification
...
Squashed from the following commits:
- Add skeleton for generating DLEQ proof test vectors
- Add run_test_vectors.py counterpart for generated DLEQ proofs
- Add DLEQ test vectors for proof verification
2024-12-21 01:04:44 +01:00
Sebastian Falbesoner
dab5571c37
bugfix: respect message m in DLEQ proof generation/verification
2024-12-21 01:04:00 +01:00
Sebastian Falbesoner
7d921e3314
BIP-340: fix lift_x
calls in test vector generation script
...
The `lift_x` function in the BIP and the reference implementation
expect an integer to be passed rather than a byte array.
Can be tested with:
```
$ python3 test-vectors.py > expected.csv
$ diff test-vectors.csv expected.csv
```
2024-12-20 15:21:41 +01:00
Jeremy Rubin
b02d2db586
[BIP0-0349] OP_INTERNALKEY add credit section
2024-12-19 23:52:11 -05:00
Mark "Murch" Erhardt
2caa8e27b8
Merge pull request #1697 from bigspider/bip388-musig
...
388: Add support for `musig` in descriptor templates
2024-12-19 10:34:00 -05:00
Salvatore Ingala
2faf09d395
Move changelog to standalone section
2024-12-19 12:33:11 +01:00
Salvatore Ingala
c2026e1de6
Apply suggestions from code review
...
Co-authored-by: Jon Atack <jon@atack.com>
2024-12-19 12:33:11 +01:00
Salvatore Ingala
a4d9938ed2
Explicitly forbid repeated key indexes in musig()
2024-12-19 12:32:19 +01:00
Salvatore Ingala
e103ddeb1e
Consistency of multisig/multisignature/threshold wording
2024-12-19 12:26:37 +01:00
Salvatore Ingala
662f4c73d7
Add support for musig key placeholders
2024-12-19 12:25:59 +01:00
Jon Atack
8e59f7414b
Merge pull request #1724 from savvar9991/fix-typo
...
BIP39: replace incorrect word in Italian wordlist special considerations
2024-12-18 07:25:07 -08:00
savvasmoke
e2cf352da4
Update bip-0039-wordlists.md
2024-12-18 21:19:47 +11:00
Jon Atack
671c4628e5
Merge pull request #1717 from kdmukai/patch-3
...
[BIP-373] Slight rewrite of evenness byte footnote for clarity
2024-12-17 13:07:42 -08:00
kdmukai
45e626feab
Slight rewrite of evenness byte explanation for clarity
2024-12-17 08:01:26 -06:00
Maks
4c7d1292dd
Fix typos in BIP-0370 and BIP-0373 ( #1718 )
...
* Update bip-0370.mediawiki
* Update bip-0373.mediawiki
2024-12-17 05:18:20 -08:00
youyyytrok
f88f1e4392
Fix typos in BIPs 87/88/98 ( #1716 )
...
* typo bip-0087.mediawiki
* typos bip-0088.mediawiki
* typo bip-0098.mediawiki
2024-12-16 12:24:50 -08:00
Danbo
45fbec92cd
BIPs 348 and 379: spelling fixups ( #1715 )
...
* Update bip-0348.md
* Update bip-0379.md
2024-12-16 12:23:08 -08:00
Jon Atack
7150ef5f6d
Merge pull request #1714 from Gudnessuche/patch-5
...
BIP125: Update description of BIPs 68 and 112
2024-12-16 12:18:06 -08:00
Jesus Christ
192f2aca2f
Update for BIP 68 & 112
...
Given that both BIPs are now final, calling them drafts, seem very stale.
2024-12-14 23:05:00 +00:00
Jon Atack
6521dfdd2c
BIP348: trivial text correction ( #1713 )
...
BIP348: trivial text correction
2024-12-13 13:56:25 -08:00
Jesus Christ
7420c04e84
BIP157 grammar fixup: add missing word ( #1711 )
2024-12-10 19:04:22 -08:00