Page MenuHomePhabricator

[avalanche] Reduce dependency to net.h from avalanche
ClosedPublic

Authored by Fabien on Aug 6 2021, 13:14.

Details

Reviewers
majcosta
Group Reviewers
Restricted Project
Maniphest Tasks
Restricted Maniphest Task
Commits
rABC809ae45f349e: [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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Fabien requested review of this revision.Aug 6 2021, 13:14
majcosta added a subscriber: majcosta.
majcosta added inline comments.
src/nodeid.h
10 ↗(On Diff #29345)

using NodeId = int64_t;

This revision is now accepted and ready to land.Aug 6 2021, 19:37

Let's keep this move only for now