Page MenuHomePhabricator

scripted-diff: Rename pindexBestHeader, fHavePruned to m_best_header and m_have_pruned
ClosedPublic

Authored by PiRK on Jan 24 2023, 12:13.

Details

Summary
-BEGIN VERIFY SCRIPT-
find_regex="\bpindexBestHeader\b" \
    && git grep -l -E "$find_regex" -- src \
        | xargs sed -i -E "s@$find_regex@m_best_header@g"
find_regex="\bfHavePruned\b" \
    && git grep -l -E "$find_regex" -- src \
        | xargs sed -i -E "s@$find_regex@m_have_pruned@g"
-END VERIFY SCRIPT-

This concludes backport of core#24909
https://github.com/bitcoin/bitcoin/pull/24909/commits/f0a2fb3c5dbf3c4bec7faf934baff3e723734b3f

Depends on D13047

Test Plan

ninja all check-all