aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_protocol/block_queue.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-08-15 16:54:08 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-08-15 16:54:08 +0100
commit3da1edfde573d7ff21f9c2f986046e4d5c026259 (patch)
tree7664c3753a9b80845f5539e6514fb3ae704d38cf /src/cryptonote_protocol/block_queue.cpp
parent6edb1b3e468e4ea5eca131114ee3ff26af3bcba0 (diff)
downloadmonzero-core-3da1edfde573d7ff21f9c2f986046e4d5c026259.tar.gz
monzero-core-3da1edfde573d7ff21f9c2f986046e4d5c026259.tar.xz
monzero-core-3da1edfde573d7ff21f9c2f986046e4d5c026259.zip
cryptonote_protocol: fix out of order addition
This was broken by the reorg fix, since we now have to add blocks regardless of their starting height. We now check whether we know the parent for the first block in the next span, or whether it was requested. If neither, it's an orphan. If it is not known, but was requested, we wait to get that block.
Diffstat (limited to 'src/cryptonote_protocol/block_queue.cpp')
0 files changed, 0 insertions, 0 deletions