HomePhabricator

refactor: Reduce number of LoadChainstate parameters and return values

Description

refactor: Reduce number of LoadChainstate parameters and return values

Summary:
and factor out LoadVerifyActivateChainstate()

This is a backport of core#25308
and https://github.com/bitcoin/bitcoin/pull/25667/commits/cced4e7336d93a2dc88e4a61c49941887766bd72

Squashing the backport with the refactoring commit from core#25667 ensures we don't temporarily shadow the other options variable in TestingSetup::TestingSetup

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
Russell Yanofsky <russ@yanofsky.org>Authored on Dec 1 2021, 23:16
PiRKCommitted on Oct 10 2023, 13:28
PiRKPushed on Oct 10 2023, 13:28
Reviewer
Restricted Project
Differential Revision
D14614: refactor: Reduce number of LoadChainstate parameters and return values
Parents
rABCbb75088d2f12: [electrum] better handle timeouts in test_interface
Branches
Unknown
Tags
Unknown