HomePhabricator

scripted-diff: Rename touched member variables

Description

scripted-diff: Rename touched member variables

Summary:

-BEGIN VERIFY SCRIPT-

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

 ren vinfoBlockFile     m_blockfile_info
 ren nLastBlockFile     m_last_blockfile
 ren fCheckForPruning   m_check_for_pruning
 ren setDirtyBlockIndex m_dirty_blockindex
 ren setDirtyFileInfo   m_dirty_fileinfo

-END VERIFY SCRIPT-

This concludes backport of core#23974
https://github.com/bitcoin/bitcoin/pull/23974/commits/fa68a6c2fc6754c160e0f98007785602201b3c47

Depends on D12517

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
PiRKAuthored on Nov 16 2022, 16:35
PiRKPushed on Nov 17 2022, 10:07
Reviewer
Restricted Project
Differential Revision
D12518: scripted-diff: Rename touched member variables
Parents
rABCae6e4269f6dc: Make blockstorage globals private members of BlockManager
Branches
Unknown
Tags
Unknown