aboutsummaryrefslogtreecommitdiff
path: root/src/cuckoocache.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2018-03-21 11:16:28 -0400
committerMarcoFalke <falke.marco@gmail.com>2018-03-21 11:17:43 -0400
commit4ad3b3c72c73d61e0a0cab541dca20acf651320d (patch)
treea8f4405d7491b470bb345ffb936ec09cb887e345 /src/cuckoocache.h
parent9b8b1079ddab64ac955766536c38d23dc57bc499 (diff)
parent4d9b4256d89d1f7c6b3e4938ab2e89cde296e8e8 (diff)
downloadbitcoin-4ad3b3c72c73d61e0a0cab541dca20acf651320d.tar.xz
Merge #12716: Fix typos and cleanup in various files
4d9b4256d8 Fix typos (Dimitris Apostolou) Pull request description: Unfortunately I messed up my repo while trying to squash #12593 so I created a PR with just the correct fixes. Tree-SHA512: 295d77b51bd2a9381f1802c263de7ffb2edd670d9647391e32f9a414705b3c8b483bb0e469a9b85ab6a70919ea13397fa8dfda2aea7a398b64b187f178fe6a06
Diffstat (limited to 'src/cuckoocache.h')
-rw-r--r--src/cuckoocache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cuckoocache.h b/src/cuckoocache.h
index 947e1a7185..d1de712024 100644
--- a/src/cuckoocache.h
+++ b/src/cuckoocache.h
@@ -224,7 +224,7 @@ private:
*
* Instead we treat the 32-bit random number as a Q32 fixed-point number in the range
* [0,1) and simply multiply it by the size. Then we just shift the result down by
- * 32-bits to get our bucket number. The results has non-uniformity the same as a
+ * 32-bits to get our bucket number. The result has non-uniformity the same as a
* mod, but it is much faster to compute. More about this technique can be found at
* http://lemire.me/blog/2016/06/27/a-fast-alternative-to-the-modulo-reduction/
*