Page MenuHomePhabricator

refactor: Remove addrdb.h dependency from node.h
ClosedPublic

Authored by PiRK on Sep 25 2020, 09:05.

Details

Reviewers
Fabien
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Restricted Project
Commits
rABC9b0a206751a1: refactor: Remove addrdb.h dependency from node.h
Summary

node.h includes addrdb.h just for the sake of banmap_t type.
This PR makes dependencies simpler and explicit.

This is a backport of Bitcoin Core PR17297

Test Plan

ninja && ninja check

Diff Detail

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

Event Timeline

Owners added a reviewer: Restricted Owners Package.Sep 25 2020, 09:05
PiRK requested review of this revision.Sep 25 2020, 09:05

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

This revision is now accepted and ready to land.Sep 25 2020, 10:04