HomePhabricator

[avalanche] Move the global definitions into their own header

Description

[avalanche] Move the global definitions into their own header

Summary:
Move the declarations that belong to the global namespace into their own
header. This reduce the scope of inclusion when all that is needed is to
check the -enableavalanche option, and will also prevent from
introducing circular dependencies between the avalanche processor and
the network layer.

Ref T1611.

Test Plan:

ninja all check

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Maniphest Tasks: T1611

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

Details

Provenance
FabienAuthored on Tue, Jun 8, 13:05
FabienPushed on Wed, Jun 9, 07:48
Reviewer
Restricted Project
Differential Revision
D9647: [avalanche] Move the global definitions into their own header
Parents
rABCf5468cdd8454: [avalanche] Send avalanche proofs upon request
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task