This enables testing the checkpoints without having to hack a Config and a CChainParams.
It is an alternative approach to D15802 and unbreaks the address sanitizer build that was broken by that diff.
Details
Details
- Reviewers
Fabien - Group Reviewers
Restricted Project - Commits
- rABCa51d89123b68: [test] allow passing test checkpoints to ContextualCheckBlockHeader
ninja all check-all
address sanitizer build
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- refs/heads/fix_initialization-order-fiasco2
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 28200 Build 55945: Build Diff lint-circular-dependencies · build-without-wallet · build-clang-tidy · build-debug · build-diff · build-clang Build 55944: arc lint + arc unit
Event Timeline
Comment Actions
while we are touching these lines, don't assert that the chainman is not a nullptr more than once. It was done inconsistently in this test, doing it once for the first call is enough.