HomePhabricator

style-only: Use for instead of when loading Chainstate

Description

style-only: Use for instead of when loading Chainstate

Summary:
It's a bit clearer and restricts the scope of fLoaded

This is a partial backport of core#22564
https://github.com/bitcoin/bitcoin/pull/22564/commits/fe96a2e4bd87768df8001eb4117926a0977d876e

Depends on D13087

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, sdulfari

Reviewed By: #bitcoin_abc, sdulfari

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

Details

Provenance
Carl Dong <contact@carldong.me>Authored on Feb 22 2022, 19:20
PiRKCommitted on Feb 2 2023, 11:30
PiRKPushed on Feb 2 2023, 11:30
Reviewer
Restricted Project
Differential Revision
D13088: style-only: Use for instead of when loading Chainstate
Parents
rABC8ddcf128cecf: init: Reset mempool and chainman via reconstruction
Branches
Unknown
Tags
Unknown