Page MenuHomePhabricator

scripted-diff: rename address relay fields
ClosedPublic

Authored by PiRK on Jan 28 2022, 13:23.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABCfa582ef49af6: scripted-diff: rename address relay fields
Summary
-BEGIN VERIFY SCRIPT-
ren() { sed -i "s:\<$1\>:$2:g" $(git grep -l "\<$1\>" ./src ./test); }

ren fGetAddr     m_getaddr_sent
ren fSentAddr    m_getaddr_recvd
ren vAddrToSend  m_addrs_to_send
-END VERIFY SCRIPT-

This is a backport of core#21186 [4/5]
https://github.com/bitcoin/bitcoin/pull/21186/commits/09cc66c00e1d5fabe11ffcc32cad060e6b483b20

Depends on D10929

Test Plan

ninja all check-all

Diff Detail

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