Page MenuHomePhabricator

scripted-diff: Rename PeerManagerImpl members
ClosedPublic

Authored by PiRK on Nov 28 2023, 14:10.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC89892b861708: 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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable