scripted diff:
-BEGIN VERIFY SCRIPT- ren() { sed -i "s:\<$1\>:$2:g" $(git grep -l "\<$1\>" ./src ./test); } ren nLastTry m_last_try ren nLastSuccess m_last_success ren nLastGood m_last_good ren nLastCountAttempt m_last_count_attempt ren nTimePenalty time_penalty ren nUpdateInterval update_interval ren fCurrentlyOnline currently_online -END VERIFY SCRIPT-
And manually rename the local vars in addrman_tests.cpp
This is a partial backport of core#24697
https://github.com/bitcoin/bitcoin/pull/24697/commits/fa21fc60c292ab947b2200e54201440f16230566
Depends on D15093