This separates this code into its own function, something we eventually could test also.
Details
Details
- Reviewers
Fabien PiRK - Group Reviewers
Restricted Project - Commits
- rABC99bd71b032b5: [Chronik] Add `ParseChronikParams` and use it in chronik::Start
ninja check-functional
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
chronik/chronik-cpp/chronik.cpp | ||
---|---|---|
41–70 ↗ | (On Diff #48414) |
Comment Actions
This looks like a good first step to remove most gArgs access (eventually we want the ArgsManager to not be a global).
A next step would be to make chronik not depend on common/args.h (ArgsManager) at all, like we recently did for ChainstateManager, BlockManager (see D16007 for instance) ...
chronik/chronik-cpp/chronik.cpp | ||
---|---|---|
77 ↗ | (On Diff #48414) |