HomePhabricator

refactor: Remove mempool global from net

Description

refactor: Remove mempool global from net

Summary:

This refactor does two things:
* Pass mempool in to PeerLogicValidation
* Pass m_mempool around where needed

Backport of core PR17997.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

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

Details

Provenance
MarcoFalke <falke.marco@gmail.com>Authored on Jan 24 2020, 19:00
FabienCommitted on Jan 4 2021, 13:59
FabienPushed on Jan 4 2021, 14:00
Reviewer
Restricted Project
Differential Revision
D8772: refactor: Remove mempool global from net
Parents
rABC6421ff497a06: Fix a violation of C++ standard rules that unions cannot be switched.
Branches
Unknown
Tags
Unknown