HomePhabricator

scripted-diff: Rename PeerManagerImpl members

Description

scripted-diff: Rename PeerManagerImpl members

Summary:

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

ren mapNodeState                              m_node_states
ren cs_most_recent_block                      m_most_recent_block_mutex
ren most_recent_block                         m_most_recent_block
ren most_recent_compact_block                 m_most_recent_compact_block
ren most_recent_block_hash                    m_most_recent_block_hash
ren nPreferredDownload                        m_num_preferred_download_peers
ren nHighestFastAnnounce                       m_highest_fast_announce
-END VERIFY SCRIPT-

This concludes backport of core#24543
https://github.com/bitcoin/bitcoin/pull/24543/commits/91c339243e11ec42eeeaca8fe015fc1c3e6338e1

Depends on D14865

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
PiRKAuthored on Nov 28 2023, 13:50
PiRKPushed on Nov 29 2023, 11:38
Reviewer
Restricted Project
Differential Revision
D14866: scripted-diff: Rename PeerManagerImpl members
Parents
rABC7ed066a550f3: [net processing] Move nHighestFastAnnounce into PeerManagerImpl
Branches
Unknown
Tags
Unknown