HomePhabricator

Remove mempool global from interfaces

Description

Remove mempool global from interfaces

Summary:

The chain interface has an m_node member, which has a pointer to the mempool global. Use the pointer instead of the global to prepare the removal of the mempool global. See core#19556

This is a backport of core#19848

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
MarcoFalke <falke.marco@gmail.com>Authored on Jul 19 2020, 13:04
PiRKCommitted on Jul 15 2021, 09:49
PiRKPushed on Jul 15 2021, 09:49
Reviewer
Restricted Project
Differential Revision
D9784: Remove mempool global from interfaces
Parents
rABCd23ae6f6ee5a: rpc: Avoid useless mempool query in gettxoutproof
Branches
Unknown
Tags
Unknown