Page MenuHomePhabricator

net_processing: move AddToCompactExtraTransactions into PeerManagerImpl
ClosedPublic

Authored by PiRK on May 18 2022, 15:23.

Details

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

Event Timeline

PiRK requested review of this revision.May 18 2022, 15:23
This revision is now accepted and ready to land.May 18 2022, 20:05

rebase after move nPeersWithValidatedDownloads before m_orphanage in D11490: