HomePhabricator

[net] Construct addrman outside connman

Description

[net] Construct addrman outside connman

Summary:

 node.context owns the CAddrMan. CConnman holds a reference to
the CAddrMan.

Partial backport of core#20228:
https://github.com/bitcoin/bitcoin/pull/20228/commits/1c25adf6d278eb1a1f018986a126d0eb8137e0ee

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

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

Details

Provenance
John Newbery <john@johnnewbery.com>Authored on Oct 23 2020, 08:34
FabienCommitted on Oct 14 2022, 13:48
FabienPushed on Oct 14 2022, 13:48
Reviewer
Restricted Project
Differential Revision
D12246: [net] Construct addrman outside connman
Parents
rABC9e6cbdc2c10b: Remove AcceptToMemoryPoolWithTime
Branches
Unknown
Tags
Unknown