HomePhabricator

Change GetBlocksDir() to ArgsManager.GetBlocksDirPath().

Description

Change GetBlocksDir() to ArgsManager.GetBlocksDirPath().

Summary:
This is a backport of core#21244 [7/8]
https://github.com/bitcoin/bitcoin/pull/21244/commits/b4190eff72c00e384ad238f9c2f10c8b91be969b

Note: The few minor difference from Core are explained by D4495 (Range-based for loop) and D7579 (blockdb.cpp)

Depends on D10755

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Kiminuo <kiminuo@protonmail.com>Authored on Apr 9 2021, 06:16
PiRKCommitted on Jan 4 2022, 14:27
PiRKPushed on Jan 4 2022, 14:27
Reviewer
Restricted Project
Differential Revision
D10756: Change GetBlocksDir() to ArgsManager.GetBlocksDirPath().
Parents
rABC134c1093001f: scripted-diff: Modify unit tests to use the ArgsManager in theā€¦
Branches
Unknown
Tags
Unknown