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