Rather than having the mempool use the DisconnectedBlockTransactions class to remove the transactions, (CTxMemPool => DisconnectedBlockTransactions) we can reverse the logic and let the DisconnectedBlockTransactions manage the mempool (DisconnectedBlockTransactions => CTxMemPool). This is more consistent with the other pieces of code and will make it possible to break the circular dependency mempool.h -> validation.h (via DisconnectedBlockTransactions) -> mempool.h by changing it to validation.h -> disconnected_block_transactions.h -> mempool.h.
Details
Details
- Reviewers
PiRK - Group Reviewers
Restricted Project - Commits
- rABC6e66cc063548: [mempool] Make DisconnectedBlockTransactions responsible for removing txs from…
ninja all check-extended
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- disconnectblock_removeforblock
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 28065 Build 55675: Build Diff build-clang · build-debug · build-clang-tidy · build-diff · build-without-wallet · lint-circular-dependencies Build 55674: arc lint + arc unit