1
0
mirror of https://github.com/bitcoin/bips.git synced 2025-01-19 05:45:07 +01:00
Commit Graph

9 Commits

Author SHA1 Message Date
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
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
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
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
Pieter Wuille
1faa4b19bc Rename BIPs 2020-01-19 14:47:33 -08:00