HomePhabricator

Always flush block and undo when switching to new file
22e780737db5Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

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).

Details

Provenance
Pieter Wuille <pieter.wuille@gmail.com>Authored on Nov 4 2015, 23:16
deadalnixPushed on May 14 2017, 22:04
Parents
rABC193f7b553e0a: Merge pull request #6938
Branches
Unknown
Tags
Unknown

Event Timeline

Pieter Wuille <pieter.wuille@gmail.com> committed rABC22e780737db5: Always flush block and undo when switching to new file (authored by Pieter Wuille <pieter.wuille@gmail.com>).Nov 4 2015, 23:43