Page MenuHomePhabricator

scripted-diff: Rename nUnconnectingHeaders and fPreferHeaders
ClosedPublic

Authored by PiRK on Jan 26 2024, 10:23.

Details

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

ren nUnconnectingHeaders     m_num_unconnecting_headers_msgs
ren fPreferHeaders           m_prefers_headers
ren MAX_UNCONNECTING_HEADERS MAX_NUM_UNCONNECTING_HEADERS_MSGS

-END VERIFY SCRIPT

This concludes backport of core#26140
https://github.com/bitcoin/bitcoin/pull/26140/commits/3a060ae7b67cc28fc60cf28cbc518fa1df24f545-

Depends on D15292

Test Plan

ninja all check-all

Diff Detail

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