Use unordered_map for CCoinsViewCache with salted hash #4494
pull sipa wants to merge 1 commits into bitcoin:master from sipa:coinhash changing 4 files +66 −4-
sipa commented at 3:26 pm on July 9, 2014: memberModified version of #4413 which uses salted lookup3 for computing txid hash keys.
-
sipa renamed this:
Add use salted hash unordered_map for CCoinsViewCache
Use unordered_map for CCoinsViewCache with salted hash
on Jul 9, 2014 -
laanwj commented at 4:29 pm on July 9, 2014: member
ACK on code changes, going to test.
BTW, neat solution, didn’t realize it could be done like this without introducing (overt) global state.
-
jgarzik commented at 1:19 pm on July 14, 2014: contributor
Basic question… does this build on all platforms? In another project. I cannot use unordered_set because it is a too-recent addition.
We must confirm that unordered_map lacks the same issues, as it is the first use in the tree.
-
Use unordered_map for CCoinsViewCache with salted hash bc42503f6a
-
sipa commented at 2:13 pm on July 14, 2014: memberRebased.
-
laanwj commented at 2:31 pm on July 14, 2014: memberIt gets through the pulltester, it doesn’t get any older than that :)
-
BitcoinPullTester commented at 2:46 pm on July 14, 2014: noneAutomatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/p4494_bc42503f6ab304608c321986a870795e45f5a016/ for binaries and test log. This test script verifies pulls every time they are updated. It, however, dies sometimes and fails to test properly. If you are waiting on a test, please check timestamps to verify that the test.log is moving at http://jenkins.bluematt.me/pull-tester/current/ Contact BlueMatt on freenode if something looks broken.
-
laanwj merged this on Jul 15, 2014
-
laanwj closed this on Jul 15, 2014
-
laanwj referenced this in commit 1f5e8fe804 on Jul 15, 2014
-
MarcoFalke locked this on Sep 8, 2021