diff options
author | John Newbery <john@johnnewbery.com> | 2021-09-01 12:41:47 +0100 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2021-09-07 15:24:00 +0100 |
commit | 9fd5618610e91e3949536c5122cf31eb58c9aa6b (patch) | |
tree | 733d7b61305784b61a4c3b2a00b6947c8a42c935 /src/addrman.h | |
parent | bfdf4ef334a16ef6108a658bf4f8514754128c18 (diff) | |
download | bitcoin-9fd5618610e91e3949536c5122cf31eb58c9aa6b.tar.xz |
[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`
Diffstat (limited to 'src/addrman.h')
-rw-r--r-- | src/addrman.h | 3 |
1 files changed, 0 insertions, 3 deletions
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<bool> DecodeAsmap(fs::path path); - template <typename Stream> void Serialize(Stream& s_) const EXCLUSIVE_LOCKS_REQUIRED(!cs); |