HomePhabricator

[backport#12461] scripted-diff: Rename key size consts to be relative to their…

Description

[backport#12461] scripted-diff: Rename key size consts to be relative to their class

Summary:

-BEGIN VERIFY SCRIPT-
sed -i 's/PRIVATE_KEY_SIZE/SIZE/g' src/*.h src/*.cpp src/**/*.h src/**/*.cpp
sed -i 's/COMPRESSED_PRIVATE_KEY_SIZE/COMPRESSED_SIZE/g' src/*.h src/**/*.cpp src/**/*.h src/**/*.cpp
sed -i 's/PUBLIC_KEY_SIZE/SIZE/g' src/*.h src/*.cpp src/**/*.h src/**/*.cpp
sed -i 's/COMPRESSED_PUBLIC_KEY_SIZE/COMPRESSED_SIZE/g' src/*.h src/*.cpp src/**/*.h src/**/*.cpp
-END VERIFY SCRIPT-

Backport of Core PR12461

Test Plan:

ninja all check check-functional

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

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

Details

Provenance
majcostaAuthored on Oct 7 2020, 22:04
majcostaPushed on Oct 7 2020, 22:59
Reviewer
Restricted Project
Differential Revision
D7812: [backport#12461] scripted-diff: Rename key size consts to be relative to their class
Parents
rABC9e32b347175d: [buildbot] Introduce an ignore list for known flaky errors
Branches
Unknown
Tags
Unknown