Jeremy Rubin
c03a8f0bb9
Update images for BIP-0119
2020-04-08 12:44:50 -07:00
Jeremy Rubin
58d1b1994c
BIP-0119: Use the same random seed across simulation runs; fix issue where a poisson was used in place of an exponential
2020-04-08 12:44:34 -07:00
Janus
756129cccf
BIP-0340: Add typing annotations to reference.py
...
Passes mypy's strict-mode with mypy 0.770.
2020-04-06 21:45:23 -05:00
Pieter Wuille
1d999cf678
Merge pull request #203 from jonasnick/remove-is-negated
...
BIP-0341: Replace notion of is_negated with parity bit
2020-04-06 19:25:18 -07:00
Pieter Wuille
038615b7c7
Merge pull request #200 from real-or-random/prints
...
Add debug print for intermediate values
2020-04-02 16:34:24 -07:00
Jonas Nick
0916da6594
BIP-0341: Replace notion of is_negated with parity bit
2020-03-27 15:14:43 +00:00
Karl-Johan Alm
f9e95849f3
bip-322: simplify proposal to single proof case
2020-03-25 15:28:56 +09:00
Kevin Gislason
2e1fb61db6
Update Rust BIP 39 implementation
...
The currently listed Rust implementation of BIP 39 doesn't pass the reference implementation's test vectors.
See --> https://github.com/infincia/bip39-rs/issues/21
2020-03-17 20:18:43 -04:00
Tim Ruffing
72657270d8
When checking test vectors, handle RuntimeException in signing
...
This is better for playing around with the code. Now these
these exceptions can really be raised when the verification
during signing fails.
2020-03-17 02:30:39 +01:00
Tim Ruffing
07d938a214
fixup! Optionally print intermediate values in reference code
2020-03-17 02:13:26 +01:00
Janus
29fcdcac13
Reject BIP-0036
...
According to expiration rules, this does not need consent,
since it has expired.
2020-03-13 17:10:23 -06:00
Tim Ruffing
003d38cedb
Fix typo
2020-03-12 21:16:18 +01:00
Tim Ruffing
8c5be91975
Make code and output a little bit more readable
2020-03-12 21:16:18 +01:00
Tim Ruffing
a6301c5af0
Optionally print intermediate values in reference code
...
and make reference code and pseudocode more consistent with each other
2020-03-12 21:15:52 +01:00
Pieter Wuille
39ba507e01
Merge pull request #201 from jonasnick/tweak-bytes-only
...
BIP-0341: Avoid decompressing the output public key in script spends
2020-03-10 06:30:31 -07:00
Pieter Wuille
f71b5cbb5c
Merge pull request #196 from jonasnick/update-ref
...
Update reference code and test vectors
2020-03-10 06:28:20 -07:00
Jonas Nick
4ea021f28c
BIP-0341: Avoid decompressing the output public key in script spends
2020-03-06 14:20:08 +00:00
Karl-Johan Alm
8381ca0e14
bip-325: genesis block/message start
...
The genesis block is made static, and the message start is made dynamic based on the sha256d of the block script.
2020-03-05 16:40:57 +09:00
Pieter Wuille
9abbfa53c9
Merge pull request #199 from real-or-random/patch-16
...
Fix a few minor issues
2020-03-04 15:49:20 -08:00
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