This separates this code into its own function, something we eventually could test also.
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- chronik-refactor-parse-args
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Event Timeline
chronik/chronik-cpp/chronik.cpp | ||
---|---|---|
41–70 |
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 |