From 9fd5618610e91e3949536c5122cf31eb58c9aa6b Mon Sep 17 00:00:00 2001 From: John Newbery Date: Wed, 1 Sep 2021 12:41:47 +0100 Subject: [asmap] Make DecodeAsmap() a utility function DecopeAsmap is a pure utility function and doesn't have any dependencies on addrman, so move it to util/asmap. Reviewer hint: use: `git diff --color-moved=dimmed-zebra --color-moved-ws=ignore-all-space` --- src/addrman.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/addrman.h') diff --git a/src/addrman.h b/src/addrman.h index 74bfe9748b..48e0f8b871 100644 --- a/src/addrman.h +++ b/src/addrman.h @@ -149,9 +149,6 @@ static constexpr int ADDRMAN_BUCKET_SIZE{1 << ADDRMAN_BUCKET_SIZE_LOG2}; class CAddrMan { public: - // Read asmap from provided binary file - static std::vector DecodeAsmap(fs::path path); - template void Serialize(Stream& s_) const EXCLUSIVE_LOCKS_REQUIRED(!cs); -- cgit v1.2.3