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
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
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.