HomePhabricator

[refactor] add alias for Schnorr signatures and remove size magic number

Description

[refactor] add alias for Schnorr signatures and remove size magic number

Summary:
Schnorr signatures repeat as std::array<uint8_t, 64> throughout the
code. this defines them in a single alias and replaces the magic number
with CPubKey::SCHNORR_SIZE

Test Plan:

ninja check-all

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Subscribers: PiRK

Differential Revision: https://reviews.bitcoinabc.org/D9251

Details

Provenance
majcostaAuthored on Feb 21 2021, 10:07
jasonbcoxPushed on Feb 22 2021, 18:41
Parents
rSTAGINGc044e9dcf18e: Remove old serialization primitives
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/27776, tag: phabricator/base/27775, tag: phabricator/base/27774

Event Timeline