HomePhabricator

[avalanche] Add a facility to check if avalanche is enabled

Description

[avalanche] Add a facility to check if avalanche is enabled

Summary:
This makes the code slightly better, but also makes it possible to
easily migrate away from gArgs or add other checks as needed.

Depends on D9647.

Ref T1611.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Maniphest Tasks: T1611

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

Details

Provenance
FabienAuthored on Jun 8 2021, 13:24
FabienPushed on Jun 9 2021, 07:49
Reviewer
Restricted Project
Differential Revision
D9648: [avalanche] Add a facility to check if avalanche is enabled
Parents
rABC478f68235d39: [avalanche] Move the global definitions into their own header
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task