Files
bitcoin/src/main.cpp
Pieter Wuille 4e895b08da Always flush block and undo when switching to new file
Previously, the undo weren't being flushed during a reindex because
fKnown was set to true in FindBlockPos. That is the correct behaviour
for block files as they aren't being touched, but undo files are
touched.

This changes the behaviour to always flush when switching to a new file
(even for block files, though that isn't really necessary).

Rebased-From: 22e780737d
Github-Pull: #6948
2015-11-06 14:30:46 +01:00

209 KiB