mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-05-22 03:44:34 +02:00
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
209 KiB
209 KiB