aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-02-21 19:31:27 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-02-23 19:47:17 +0000
commit6f8779d2825c90fa3191969f4780fb021ecc75de (patch)
treea1de27393d438f546e05acff345ce14214434582 /include
parentMerge pull request #3275 (diff)
downloadmonero-6f8779d2825c90fa3191969f4780fb021ecc75de.tar.xz
blockchain: fix random sync failures
When a block is added as part of a chunk (when syncing historical blocks), a block may end up already in the blockchain if it was added to the queue before being added to the chain (though it's not clear how that could happen, but it's an implementation detail) and thus may not be added to the chain when add_block is called. This would cause m_blocks_txs_check to not be cleared, causing it to get out of sync at next call, and thus wrongfully reject the next block.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions