Skip to content

Commit 4c69571

Browse files
committed
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.
1 parent 16652a9 commit 4c69571

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/util/hasher.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@ class SaltedOutpointHasher
3333
SaltedOutpointHasher();
3434

3535
/**
36-
* This *must* return size_t. With Boost 1.46 on 32-bit systems the
37-
* unordered_map will behave unpredictably if the custom hasher returns a
38-
* uint64_t, resulting in failures when syncing the chain (#4634).
39-
*
4036
* Having the hash noexcept allows libstdc++'s unordered_map to recalculate
4137
* the hash during rehash, so it does not have to cache the value. This
4238
* reduces node's memory by sizeof(size_t). The required recalculation has

0 commit comments

Comments
 (0)