Page MenuHomePhabricator

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

Authored by PiRK on Fri, Sep 25, 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
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Owners added a reviewer: Restricted Owners Package.Fri, Sep 25, 09:05
PiRK requested review of this revision.Fri, Sep 25, 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.Fri, Sep 25, 10:04