1
0
mirror of https://github.com/bitcoin/bips.git synced 2025-01-18 21:35:13 +01:00
Commit Graph

3378 Commits

Author SHA1 Message Date
Craig Raw
0a5e3b0101 add optional key origin property and expand truncation note 2023-02-03 10:21:55 +02:00
kallewoof
1a632a3875
Merge pull request #1405 from sipa/202301_bip324_update
BIP324 reference code / test vector improvements
2023-02-03 12:59:37 +09:00
kallewoof
f277d42e0d
Merge pull request #1407 from instagibbs/patch-17
BIP174: s/uiht/uint/s
2023-01-18 10:48:23 +09:00
Gregory Sanders
7e0c47e1f6
uiht 2023-01-17 14:14:54 -05:00
craigraw
41490b74f7
Wallet Labels Export Format (#1383)
* initial commit

* fix formatting

* add importing section

* clarify csv preference

* tabs to spaces

* add rationale and references, require that rfc4180 is followed

* fix reference links

* show reference links as list

* use self describing json lines format instead of csv

* add bip number and accommodate 65 byte pubkeys

* fix comments uri
2023-01-17 08:40:46 +09:00
Pieter Wuille
cc177ab7bc BIP324 updates
Includes:
* Simpler (but equivalent) ElligatorSwift encoding function & spec
* Improved test vectors
* Test vector generation code
* Code for converting test vectors for libsecp256k1 code.
* Code for running test vectors against SwiftEC paper authors' code.
* Miscellaneous reference code improvements (style, comments).
2023-01-11 17:39:56 -05:00
kallewoof
2361582f0b
Merge pull request #1378 from dhruv/bip324
Add BIP324: v2 P2P Transport Protocol
2023-01-05 08:44:56 +09:00
kallewoof
00902d17d9
Merge pull request #1350 from jonasnick/bip-0341-signingfix
BIP 341: allow taproot_sign_key with no script tree
2023-01-05 08:43:37 +09:00
dhruv
32af2c9dc2 Add BIP324 2023-01-04 08:46:46 -08:00
Jonas Nick
3d243d8a49
BIP 341: allow taproot_sign_key with no script tree
In contrast to taproot_output_script, taproot_sign_key was not able to deal with
a script_tree that is None. This commit fixes taproot_sign_key such that it can
sign for such outputs.

This commit avoids changing the behavior of the functions except
taproot_sign_key at the cost of having some code duplication. Alternatively, one
could let taproot_tree_helper deal with a None script_tree directly.
2023-01-04 14:31:44 +00:00
kallewoof
79bb53dde5
Merge pull request #1379 from DariusParvin/bip341-aux_rand
BIP341: add aux_rand argument to taproot_sign_key
2023-01-04 10:55:06 +09:00
kallewoof
c6725580c5
Merge pull request #1386 from jonasnick/fix-taproot-tweak-pubkey
BIP 341: Fix taproot_tweak_pubkey
2023-01-04 10:33:15 +09:00
Darius Parvin
e24f685971 BIP341: add bip340_aux_rand argument to taproot_sign_key 2022-11-03 21:25:39 -07:00
Luke Dashjr
15c8203eb3
Merge pull request #1376 from vasild/bip330_sendtxrcncl_smplfctn
BIP330: drop redundant booleans from the sendtxrcncl message
2022-10-28 13:04:33 +00:00
Jonas Nick
be340277fc
BIP 341: Fix taproot_tweak_pubkey
`lift_x` returns `None` if the input integer is not an X coordinate on the curve
to indicate failure. `point_add`, on the other hand, interprets `None` as the
point at infinity. Therefore, without this commit, if the internal `pubkey` is
not a valid X coordinate, the function will not fail, which contradicts the
specification in the "Script validation rules section". Instead, it sets `Q` to
`t*G`.
2022-10-24 20:33:05 +00:00
Vasil Dimov
8b107a0af6
BIP330: drop redundant booleans from the sendtxrcncl message
The reconciliation protocol assumes using one role consistently. Since
it is irrelevant which one is which, we can imply that the initiator of
the P2P connection will assume the role of reconciliation initiator.

This protocol simplification will seep into the implementation.
2022-10-06 13:56:53 +02:00
Luke Dashjr
6545b81022
Merge pull request #1351 from russeree/bip12-Implementation-url-fix
bip-0011/12 - fixed broken implementation url
2022-09-30 23:56:57 +00:00
Luke Dashjr
9d1f7954d8
Merge pull request #724 from jeffrade/BIP70_url_fix
[Trivial] BIP-70 Fixing sipa's gist proposal url
2022-09-30 23:56:15 +00:00
russeree
61d6631e5b Update BIP 11/12 OP_EVAL implementation commit url 2022-09-29 16:57:40 -07:00
Luke Dashjr
e76137c32d
Merge pull request #1370 from naumenkogs/bip_0330_updates
Changes/clarifications to bip-330.
2022-09-29 22:58:21 +00:00
Luke Dashjr
194ee7320b
Merge pull request #1369 from DariusParvin/bip341
BIP 341: add missing conversions between bytes and int
2022-09-29 22:57:27 +00:00
Luke Dashjr
40aef27767
Merge pull request #1367 from ajtowns/202209-sighash-vs-342
BIP118: simplify explanation of signature message
2022-09-29 22:41:13 +00:00
Luke Dashjr
cf420089a4
Merge pull request #1349 from alfred-hodler/bip-alfredhodler-private-payments
New BIP 351: Private Payments
2022-09-29 22:39:41 +00:00
Luke Dashjr
be59b4fe75
Merge pull request #1293 from BP-WG/bip/p2c
BIP 372: Pay-to-contract tweak fields for PSBT
2022-09-29 22:34:07 +00:00
Luke Dashjr
0eb216caa5
Merge pull request #1364 from psztorc/master
Update BIPs 300/301
2022-09-29 22:31:22 +00:00
Luke Dashjr
af15873715
Merge pull request #1363 from achow101/370-git-conflict
370: Fix merge conflict and typo
2022-09-29 22:30:01 +00:00
Luke Dashjr
783d73c0c0
Merge pull request #1361 from joemphilips/fix_typo_bip0370
nit: fix typo in bip-0370 test vectors.
2022-09-29 22:29:28 +00:00
Luke Dashjr
d9700e7e4e
Merge pull request #640 from randolf/patch-1
Minor improvements
2022-09-29 22:11:18 +00:00
Gleb Naumenko
2f98abd9ea Changes/clarifications to bip-330. 2022-09-29 14:43:19 +03:00
Darius Parvin
3cdfe1bd16 BIP 341: add missing conversions between bytes and int
Convert seckey0 to bytes at the start of the function.
Return the output as bytes for consistency with the rest of the code.
2022-09-28 15:45:02 -07:00
Anthony Towns
8bbf2a1424 BIP118: simplify explanation of signature message 2022-09-20 06:15:54 +10:00
Alfred Hodler
2cabfe167e
Update BIP351 reference implementation link 2022-09-15 15:01:30 +00:00
Dr. Maxim Orlovsky
d7888e53aa
BIP-372: Moving Andrew Poelstra from author to ACK section
Basing on https://github.com/bitcoin/bips/pull/1293#issuecomment-1242438684
2022-09-11 11:02:19 +02:00
Alfred Hodler
aa4f030041
Update authors 2022-09-10 09:54:36 +00:00
Paul Sztorc
f46b898999
make idential to bip301 2022-09-02 13:20:46 -04:00
Paul Sztorc
16fba9650a
link to new code + remove outdated references 2022-09-02 13:19:46 -04:00
Paul Sztorc
80b33be54d
header typo 2022-09-02 13:15:29 -04:00
Paul Sztorc
3176623da9
Update Bip300 2022-09-02 13:14:51 -04:00
Paul Sztorc
8447ec666a
replace files 2022-09-02 11:50:48 -04:00
Paul Sztorc
de6c9a6fcf
Update Bip300 for consistency with latest code 2022-09-02 11:39:50 -04:00
Andrew Chow
e6c08f3fac 370: Fix merge conflict and typo 2022-09-01 13:04:00 -04:00
Alfred Hodler
bffc84f63a
Add a refernce to BIP351 2022-08-30 10:45:40 +00:00
joemphilips
a924d03298
nit: fix another typo in bip-0370 test vectors 2022-08-28 14:04:22 +09:00
joemphilips
15a888dabe
nit: fix typo in bip-0370 test vectors. 2022-08-28 13:10:05 +09:00
kallewoof
52f68fecd8
Merge pull request #1355 from jonasnick/fix-missing-int
BIP 340 & 341: use consistent definition of lift_x
2022-08-25 16:05:58 +09:00
Jonas Nick
3998dbbc8a BIP 340: fix function signature of lift_x in reference code
bip-0340.mediawiki defines lift_x as taking an integer argument. This commit
changes the argument of lift_x in the reference code to be identical to the
specification. Previously it took a byte array.
2022-08-23 10:07:32 +00:00
Alfred Hodler
ac7b6c1f50
Add Comments-URI; fix author list 2022-08-22 10:03:54 +00:00
Alfred Hodler
1385d65187
Add reference implementation 2022-08-22 09:49:32 +00:00
Alfred Hodler
e56fb64292
Update the index page 2022-08-22 09:17:11 +00:00
Alfred Hodler
75a6f21e3a
Update BIP number and test vectors 2022-08-22 08:53:42 +00:00