This removes usage of global chainstate for Bitcoin ABC specific code.
Also make the functions static.
Details
Details
- Reviewers
Fabien - Group Reviewers
Restricted Project - Commits
- rABC645dcc26aba7: miner_tests: pass chainman and active_chainstate to helper functions
ninja check
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 19433 Build 38599: Build Diff build-clang-tidy · lint-circular-dependencies · build-without-wallet · build-diff · build-clang · build-debug Build 38598: arc lint + arc unit
Event Timeline
src/test/miner_tests.cpp | ||
---|---|---|
226 ↗ | (On Diff #34073) | Don't pass the whole node context when all you need is the chain manager and the mempool. This is more robust because you don't have to assume that they are non null. |