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
majcostaPushed on Feb 22 2021, 18:38
Reviewer
Restricted Project
Differential Revision
D9251: [refactor] add alias for Schnorr signatures and remove size magic number
Parents
rABCc044e9dcf18e: Remove old serialization primitives
Branches
Unknown
Tags
Unknown