mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-13 11:25:02 -05:00
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.
This commit is contained in:
parent
16652a93ea
commit
4c69571e6e
1 changed files with 0 additions and 4 deletions
|
@ -33,10 +33,6 @@ public:
|
||||||
SaltedOutpointHasher();
|
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
|
* 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
|
* 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
|
* reduces node's memory by sizeof(size_t). The required recalculation has
|
||||||
|
|
Loading…
Add table
Reference in a new issue