aboutsummaryrefslogtreecommitdiff
path: root/src/platform
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-07-27 18:18:49 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-07-27 18:18:49 +0100
commit91aa90fc7914d9ece44ff6179f126ae2e5ba848b (patch)
tree2385b626fe5944097528dc510f5a21fae3f51945 /src/platform
parentblockchain: pass correct height to get_block_longhash (diff)
downloadmonero-91aa90fc7914d9ece44ff6179f126ae2e5ba848b.tar.xz
blockchain: ensure all blocks get their longhash precalculated
If the number of blocks to check was not a multiple of the number of preparation threads, the last few blocks would not be included in the threaded long hash calculation. Those would still get calculated when the block gets added to the chain, however, so this was only a tiny performance hit, rather than a security bug.
Diffstat (limited to 'src/platform')
0 files changed, 0 insertions, 0 deletions