HomePhabricator

scripted-diff: rename nPeersWithValidatedDownloads

Description

scripted-diff: rename nPeersWithValidatedDownloads

Summary:

-BEGIN VERIFY SCRIPT-
ren() { sed -i "s:\<$1\>:$2:g" $(git grep -l "\<$1\>" ./src ./test); }

ren nPeersWithValidatedDownloads  m_peers_downloading_from
-END VERIFY SCRIPT-

This is a partial backport of core#22141
https://github.com/bitcoin/bitcoin/pull/22141/commits/156a19ee6a22789adedcb6ab067c2eca2d3bfdfe

Depends on D12704

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, sdulfari

Reviewed By: #bitcoin_abc, sdulfari

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

Details

Provenance
PiRKAuthored on Nov 30 2022, 16:06
PiRKPushed on Dec 1 2022, 07:46
Reviewer
Restricted Project
Differential Revision
D12706: scripted-diff: rename nPeersWithValidatedDownloads
Parents
rABCc20d44ebfa7a: [net processing] Remove CNodeState.nBlocksInFlightValidHeaders
Branches
Unknown
Tags
Unknown