HomePhabricator

[net] Remove CConnMan::SetAsmap()

Description

[net] Remove CConnMan::SetAsmap()

Summary:

CAddrMan::m_asmap is now set directly in AppInitMain() so
CConnMan::SetAsmap() is no longer required.

Partial backport of core#22791:
https://github.com/bitcoin/bitcoin/pull/22791/commits/593247872decd6d483a76e96d79433247226ad14

Depends on D12291.

Test Plan:

ninja all check

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

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

Details

Provenance
John Newbery <john@johnnewbery.com>Authored on Aug 24 2021, 10:31
FabienCommitted on Oct 18 2022, 20:14
FabienPushed on Oct 18 2022, 20:14
Reviewer
Restricted Project
Differential Revision
D12292: [net] Remove CConnMan::SetAsmap()
Parents
rABC98906036effb: [init] Read/decode asmap before constructing addrman
Branches
Unknown
Tags
Unknown