Skip to content

Commit ba60d54

Browse files
committed
merge bitcoin#22772: hasher cleanup (follow-up to bitcoin#19935)
`KeyIDHasher` was never introduced as Dash uses different HD logic. Therefore, there is no `KeyIDHasher` to remove.
1 parent bda01b1 commit ba60d54

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(bool deterministic = false);
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)