HomePhabricator

refactor: Move pruning/reindex/importing globals to blockstorage

Description

refactor: Move pruning/reindex/importing globals to blockstorage

Summary:
Can be reviewed with --color-moved=dimmed-zebra

This is a backport of core#21727 [1/4]
https://github.com/bitcoin/bitcoin/pull/21727/commits/fa81c30c6f1adac79517c958090db174eb6aeda2

Note:

  • see discussion in D4624 for why IsBlockPruned wasn't inlined
  • the #include <node/blockstorage.h> in src/interfaces/node.cpp should have been added in D11350

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, sdulfari

Reviewed By: #bitcoin_abc, sdulfari

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

Details

Provenance
MarcoFalke <falke.marco@gmail.com>Authored on Apr 18 2021, 07:46
PiRKCommitted on Sep 23 2022, 06:24
PiRKPushed on Sep 23 2022, 06:24
Reviewer
Restricted Project
Differential Revision
D12032: refactor: Move pruning/reindex/importing globals to blockstorage
Parents
rABC8aeb4ae114fa: [Cashtab] [service worker fix p3] Add modal to load latest version on app update
Branches
Unknown
Tags
Unknown