HomePhabricator

[asmap] Remove SanityCheckASMap() from netaddress

Description

[asmap] Remove SanityCheckASMap() from netaddress

Summary:
SanityCheckASMap(asmap, bits) simply calls through to SanityCheckASMap(asmap)
in util/asmap. Update all callers to simply call that function.

This is a backport of core#22911 [2/4]
https://github.com/bitcoin/bitcoin/pull/22911/commits/bfdf4ef334a16ef6108a658bf4f8514754128c18#

Depends on D10779

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
John Newbery <john@johnnewbery.com>Authored on Sep 7 2021, 12:31
PiRKCommitted on Jan 10 2022, 13:29
PiRKPushed on Jan 10 2022, 13:29
Reviewer
Restricted Project
Differential Revision
D10780: [asmap] Remove SanityCheckASMap() from netaddress
Parents
rABC7be47fd527cf: Revert "refactor: remove use of boost::algorithm::replace_first"
Branches
Unknown
Tags
Unknown