HomePhabricator

scripted-diff: Rename touched CNode member variables

Description

scripted-diff: Rename touched CNode member variables

Summary:

-BEGIN VERIFY SCRIPT-

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

 ren nLastBlockTime m_last_block_time
 ren nLastTXTime    m_last_tx_time
 ren nTimeConnected m_connected
 ren nLastProofTime m_last_proof_time

-END VERIFY SCRIPT-

This is a backport of core#23758 [3/3]
https://github.com/bitcoin/bitcoin/pull/23758/commits/fad943821e35d0eb2143061e718f0193e12a4c71

Depends on D11085

Test Plan: ninja all check-all bitcoin-bench bitcoin-fuzzers && src/bench/bitcoin-bench

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
PiRKAuthored on Feb 21 2022, 13:39
PiRKPushed on Feb 21 2022, 16:37
Reviewer
Restricted Project
Differential Revision
D11086: scripted-diff: Rename touched CNode member variables
Parents
rABCe3884eec0daa: Use mockable time for peer connection time
Branches
Unknown
Tags
Unknown