HomePhabricator

blockstorage: do not flush block to disk if it is already there

Description

blockstorage: do not flush block to disk if it is already there

Summary:
test: ensure we can reindex from read-only block files now

This is a backport of core#27039

Depends on D18971

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D18973

Details

Provenance
Matthew Zipkin <pinheadmz@gmail.com>Authored on Sep 15 2023, 18:16
PiRKCommitted on Thu, Nov 20, 14:00
PiRKPushed on Thu, Nov 20, 14:00
Reviewer
Restricted Project
Differential Revision
D18973: blockstorage: do not flush block to disk if it is already there
Parents
rABCa50ebbf5c376: test: cover read-only blockstore
Branches
Unknown
Tags
Unknown