Page MenuHomePhabricator

add Schnorr support to signature cache
AbandonedPublic

Authored by markblundeberg on Jan 20 2019, 23:29.

Details

Reviewers
deadalnix
Group Reviewers
Restricted Project
Summary

Schnorr signatures can now be passed to the signature cache,
and they hit a different entry compared to if the same 64-byte string would
be interpreted as an ECDSA signature.

Depends on D2353 and D2348

Test Plan

I added new test code that checks that a cache collision does not
occur.
(I also tried running this test with deliberately colliding nonces, to
verify that test fails.)

Diff Detail

Repository
rABC Bitcoin ABC
Branch
markmerge2
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 4599
Build 7261: Bitcoin ABC Buildbot (legacy)
Build 7260: arc lint + arc unit