Page MenuHomePhabricator

validation: Pass in chainstate to CTxMemPool::removeForReorg
ClosedPublic

Authored by PiRK on Mar 17 2022, 07:58.

Details

Summary

Several other parameters are now redundant since they can be safely
obtained from the chainstate given that ::cs_main is locked. These are
now removed.

This is a backport of core#20750 [15/17]
https://github.com/bitcoin/bitcoin/pull/20750/commits/714201881251a787423fbca34f70fed505e9dc28

Depends on D11201

Test Plan

ninja all check-all

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable