HomePhabricator

[avalanche] Reduce dependency to net.h from avalanche

Description

[avalanche] Reduce dependency to net.h from avalanche

Summary:
This diff adds a nodeid.h header to remove the need for the net.h header from avalanche/node.h, and use forward declaration in processor.h. The other header changes come from previously indirectly included headers.

Depends on D9852.

Ref T1634.

Test Plan:

ninja check

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

Subscribers: majcosta

Maniphest Tasks: T1634

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

Details

Provenance
FabienAuthored on Jul 26 2021, 18:25
FabienPushed on Aug 9 2021, 19:50
Reviewer
Restricted Project
Differential Revision
D9853: [avalanche] Reduce dependency to net.h from avalanche
Parents
rABC007a409c03da: [avalanche] Clarify processor dependency to net.h
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task