HomePhabricator

[avalanche] Move the vote eror codes to its own enum class

Description

[avalanche] Move the vote eror codes to its own enum class

Summary:
And remove the BLOCK_ prefix. This will be used for writing tests for conflicting proof votes as well.

Ref T1854.

Test Plan:

./test/functional/test_runner.py abc_p2p_avalanche_voting

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Maniphest Tasks: T1854

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

Details

Provenance
FabienAuthored on Oct 1 2021, 15:46
FabienPushed on Oct 4 2021, 13:52
Reviewer
Restricted Project
Differential Revision
D10245: [avalanche] Move the vote eror codes to its own enum class
Parents
rABCd02282b896e2: [avalanche] Fix some naming nits
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task