From 4c69571e6eeae2c03d59045ea102baa5fd1c3816 Mon Sep 17 00:00:00 2001 From: Martin Zumsande Date: Sun, 22 Aug 2021 17:32:43 +0200 Subject: [PATCH] doc: remove outdated comment No longer relevant because Boost 1.46 is no longer supported and std::unordered_map is used instead of boost::unordered_map in CCoinsMap. --- src/util/hasher.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/util/hasher.h b/src/util/hasher.h index fa2fea30d8..9b79a1b5f1 100644 --- a/src/util/hasher.h +++ b/src/util/hasher.h @@ -33,10 +33,6 @@ public: SaltedOutpointHasher(); /** - * This *must* return size_t. With Boost 1.46 on 32-bit systems the - * unordered_map will behave unpredictably if the custom hasher returns a - * uint64_t, resulting in failures when syncing the chain (#4634). - * * Having the hash noexcept allows libstdc++'s unordered_map to recalculate * the hash during rehash, so it does not have to cache the value. This * reduces node's memory by sizeof(size_t). The required recalculation has