HomePhabricator

[addrman] Merge the two Add() functions

Description

[addrman] Merge the two Add() functions

Summary:

Merge the two definitions of this overloaded function to reduce code duplication.

Backport of core#22627.

Depends on D12274.

Test Plan:

ninja all check

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

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

Details

Provenance
Amiti Uttarwar <amiti@uttarwar.org>Authored on Jul 23 2021, 00:00
FabienCommitted on Oct 17 2022, 15:29
FabienPushed on Oct 17 2022, 15:29
Reviewer
Restricted Project
Differential Revision
D12275: [addrman] Merge the two Add() functions
Parents
rABC0dc0af8aa302: [MOVEONLY] [tests] Move addrman ser/deser tests to addrman_tests.cpp
Branches
Unknown
Tags
Unknown