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

2806 Commits

Author SHA1 Message Date
Jonas Nick
9bfa53e9fb BIP 340: Verify sig before returning it 2020-03-04 16:34:24 +00:00
Jonas Nick
b6b5f58e6e BIP 340: Use synthetic nonces in reference code and test vectors 2020-03-04 16:34:24 +00:00
Jonas Nick
d41e778ca1 BIP 340: Update reference code and test vectors as follows:
- use evenness as tiebreaker
 - using different tags for nonce- and challenge hashing
 - add pubkey to nonce function.
2020-03-04 16:34:17 +00:00
Janus
61cd31c864 Mark BIP-0152 as Final 2020-02-29 18:29:02 -06:00
Tim Ruffing
cd19095fb0 Switch to only 32 bytes aux 2020-02-29 11:21:24 +01:00
Janus
70d4c09e58 Reject BIP-0033 (expired) 2020-02-28 12:01:16 -06:00
Luke Dashjr
cb071df902
Merge pull request #895 from ysangkok/reject-bip0019
Reject BIP-0019 (expired)
2020-02-28 17:11:55 +00:00
Luke Dashjr
ea93d2b1d2
Merge pull request #894 from ysangkok/reject-bip-0008
BIP-0008 rejected (expired)
2020-02-28 17:11:23 +00:00
Luke Dashjr
ce4da9e3ee
Merge pull request #892 from CaptJakk/master
Typo in BIP340
2020-02-28 17:08:51 +00:00
Luke Dashjr
995a500032
Merge pull request #891 from aerosol/replace-elixir-bip39-implementation
Replace elixir bip39 implementation
2020-02-28 17:08:39 +00:00
Luke Dashjr
ed3b209307
Merge pull request #890 from visvirial/patch-1
Fix "Using a single OP_CHECKSIGADD-based script"
2020-02-28 17:08:01 +00:00
Petr Korolev
31ebc32e6f update repo url 2020-02-28 22:05:00 +07:00
Janus
a676338b2b Reject BIP-0019 (expired) 2020-02-26 12:23:13 -06:00
Janus
cb064ccdeb BIP-0008 rejected (expired) 2020-02-26 11:54:45 -06:00
Tim Ruffing
4f482a6748
Fix a few minor issues
* Recommend a byte length for aux random data
 * Clarify that with signature verification by default at the end of the signing algorithm, using public keys from untrusted sources is not an issue.  
 *  A few editorial nits
2020-02-24 21:59:13 +01:00
Pieter Wuille
88d30c704f Address comments 2020-02-23 19:45:10 -08:00
Pieter Wuille
806b46fde1 Switch to new synth nonce scheme and make it default 2020-02-23 19:43:20 -08:00
Anthony Towns
453947f43a give bip32 conversion its own section 2020-02-23 19:40:21 -08:00
Anthony Towns
455504b3af Include d in nonce rather than d' 2020-02-23 19:40:19 -08:00
Anthony Towns
8a009b90d8 notes about precomputed pubkey data 2020-02-23 19:39:00 -08:00
Pieter Wuille
d11cf65b6c Change tags to prevent inconsistent breakage with earlier draft 2020-02-23 19:35:22 -08:00
Pieter Wuille
6581a87ff2 Switch to even-y tiebreaker for pubkeys 2020-02-23 19:33:35 -08:00
Jonas Nick
ddc31eb6f6 BIP-340: Improve wording of recommendation for fresh secret keys 2020-02-23 19:33:13 -08:00
Jonas Nick
8b4f79b6f6 BIP-340: Stress that secret key should be fresh and if not then RFC6979 shouldn't be used 2020-02-23 19:33:13 -08:00
Anthony Towns
2a122f20c5 missing space 2020-02-23 19:33:13 -08:00
Keagan McClelland
4b18c45e74
Update bip-0340.mediawiki 2020-02-23 13:43:25 -08:00
Adam Rutkowski
1a42bb3450 Update BIP39 Elixir implementation 2020-02-21 11:57:13 +01:00
Vis Virial (a.k.a. びりある)
9329af381f
Fix "Using a single OP_CHECKSIGADD-based script"
1. CHECKSIG / CHECKSIGADD is confused

Only the first OP-code for the first public key should be "CHECKSIG" and the following (second to n-th) OP-codes should be "CHECKSIGADD".
It is confusing because it is only specified the first and last OP-codes, so I specified the second OP-code clearly.
(I recommend to describe why only the first OP-code should be "CHECKSIG", not "CHECKSIGADD".)

2. Order of the signatures in witness

In the original sentence, the stack status after the all witness elements are pushed will be
| w_n  |
|    :    |
| w_1 |

and then, the first element of the script, "<pubkey_1>" will be pushed to the stack
| pubkey_1 |
| w_n  |
|    :    |
| w_1 |

so the "pubkey_1" and "w_n" won't match.

The order of either "pubkey_i"s or "w_i"s should be inverted.
2020-02-20 16:24:06 +09:00
Luke Dashjr
b38171d14e
Merge pull request #882 from MarcoFalke/patch-2
Fix links in bip-0119.mediawiki
2020-02-20 01:44:51 +00:00
Luke Dashjr
cd2c4069a7
Merge pull request #887 from richardkiss/patch-1
Update bip-0119.mediawiki
2020-02-19 23:55:31 +00:00
Luke Dashjr
5dba54b5f1
Merge pull request #889 from JeremyRubin/fix-color-of-change-ctv
Fix Colorings in BIP-0119 states.svg
2020-02-19 22:48:02 +00:00
Luke Dashjr
99d4de01cd
Merge pull request #884 from RandyMcMillan/patch-2
bip-0340: typo change intent to intend
2020-02-19 22:47:00 +00:00
Luke Dashjr
85f512b8df
Merge pull request #706 from Varunram/patch-3
[trivial] remove duplicate of
2020-02-19 22:45:57 +00:00
Luke Dashjr
fcce0e7656
Merge pull request #886 from jonasnick/synth-nonce
BIP 340: Recommend synthetic nonces and verifying signing output
2020-02-19 22:44:04 +00:00
Luke Dashjr
6fdf2eda61
Merge pull request #880 from NicolasDorier/patch-12
Fix broken link
2020-02-19 22:43:05 +00:00
Jeremy Rubin
bef6dc91c4 Fix Colorings in BIP-0119 states.svg 2020-02-06 13:54:05 -08:00
Richard Kiss
3e85c85044
Update bip-0119.mediawiki
Fix typo.
2020-02-01 12:25:27 -08:00
Jonas Nick
b4255dc83b BIP 340: Recommend verifying the signing output 2020-01-28 22:04:39 +00:00
Jonas Nick
2874f1ffe7 BIP 340: Recommend synthetic nonces 2020-01-28 22:04:34 +00:00
@RandyMcMillan
66ab3565ef
change intent to intend 2020-01-26 16:44:37 -05:00
Nicolas Dorier
983955ffc5
Fix broken link 2020-01-26 14:23:23 +09:00
MarcoFalke
a7597ec2c3
Update bip-0119.mediawiki
fix links
2020-01-25 12:10:07 -05:00
Luke Dashjr
0042dec548
Merge pull request #875 from JeremyRubin/ctv
BIP 119: CHECKTEMPLATEVERIFY
2020-01-24 01:43:06 +00:00
Jeremy Rubin
117f4186e7 Fix Links to images in BIP-119 2020-01-23 16:56:03 -08:00
Jeremy Rubin
1db62a07c5 Assign CTV BIP #119 2020-01-23 16:51:50 -08:00
Luke Dashjr
33308e75f8 Merge BIPs 340-342 2020-01-24 00:01:16 +00:00
Luke Dashjr
97ef6783df Merge remote-tracking branch 'origin-pull/876/head' into HEAD 2020-01-24 00:00:01 +00:00
Luke Dashjr
802520e05a Merge commit 'origin-pull/876/head^^^^^^' into HEAD 2020-01-23 23:59:43 +00:00
Luke Dashjr
d81cf9da5e Merge branch 'master' into HEAD 2020-01-23 23:59:10 +00:00
Jeremy Rubin
c36e492f05 Add Backwards Compatibility section to OP_CHECKTEMPLATEVERIFY BIP and change 'Implementations' header to 'Reference Implementation' 2020-01-20 20:17:28 -08:00