This is a follow-up for D5965.
It converts our current schnorr.py library to use the framework from
key.py and remove openssl as a dependency for the functional tests.
Details
Details
- Reviewers
deadalnix - Group Reviewers
Restricted Project - Commits
- rABC31f0630d78c6: Use pure python for functional tests schnorr computation
ninja check-functional
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
test/functional/test_framework/key.py | ||
---|---|---|
210 ↗ | (On Diff #23585) | The field size is 256bits, not this humongous number. |
399 ↗ | (On Diff #23585) | Is there a reason you implemented this rather than just picking something random like for ecdsa? This seems rather inconsistent, more code, and the benefit is dubious for the test framework. |
Comment Actions
Deduplicate the field prime (and not size...), use a random nonce.
test/functional/test_framework/key.py | ||
---|---|---|
399 ↗ | (On Diff #23585) | I ported it so I can keep the built-in test from the original schnorr.py, so not a strong case. I will remove it. |