HomePhabricator

refactor: Remove addrdb.h dependency from node.h

Description

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

Reviewers: O1 Bitcoin ABC, #bitcoin_abc, Fabien

Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, Fabien

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

Details

Provenance
Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>Authored on Oct 29 2019, 08:49
PiRKCommitted on Sep 25 2020, 10:28
PiRKPushed on Sep 25 2020, 10:28
Reviewer
Restricted Owners Package
Differential Revision
D7562: refactor: Remove addrdb.h dependency from node.h
Parents
rABC0c4992a91590: Bump version to 0.22.4
Branches
Unknown
Tags
Unknown

Event Timeline