HomePhabricator

net_processing: move AddToCompactExtraTransactions into PeerManagerImpl

Description

net_processing: move AddToCompactExtraTransactions into PeerManagerImpl

Summary:
Allows making vExtraTxnForCompact and vExtraTxnForCompactIt member vars
instead of globals.

This is a backport of core#21148 [13/14]
https://github.com/bitcoin/bitcoin/pull/21148/commits/eeeafb324ef6057f40b5c5fdd8464110e809b0f7

Depends on D11491

Test Plan:
With clang and debug:
ninja all check-all

Reviewers: #bitcoin_abc, sdulfari

Reviewed By: #bitcoin_abc, sdulfari

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

Details

Provenance
Anthony Towns <aj@erisian.com.au>Authored on Jan 31 2021, 13:50
PiRKCommitted on May 19 2022, 16:06
PiRKPushed on May 19 2022, 16:07
Reviewer
Restricted Project
Differential Revision
D11492: net_processing: move AddToCompactExtraTransactions into PeerManagerImpl
Parents
rABC66572c1f0da6: scripted-diff: Update txorphanage naming convention
Branches
Unknown
Tags
Unknown