HomePhabricator

validation: Pass in coins cache to CTxMemPool::LimitSize

Description

validation: Pass in coins cache to CTxMemPool::LimitSize

Summary:
PR title: Prune g_chainman usage in mempool-related validation functions (tree-wide: De-globalize ChainstateManager)

This is a backport of core#20750 [1/19]
https://github.com/bitcoin/bitcoin/commit/d1f932b0b0685690e5142272a2ed6a21237fbf05

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D11189

Details

Provenance
PiRKAuthored on Mar 16 2022, 13:50
PiRKPushed on Mar 16 2022, 16:22
Reviewer
Restricted Project
Differential Revision
D11189: validation: Pass in coins cache to CTxMemPool::LimitSize
Parents
rABCdf881c7b933a: Remove redundant sentence in ActivateBestChain comment
Branches
Unknown
Tags
Unknown