HomePhabricator

scripted-diff: rename address relay fields

Description

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

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
John Newbery <john@johnnewbery.com>Authored on Jun 16 2020, 20:27
PiRKCommitted on Jan 28 2022, 14:03
PiRKPushed on Jan 28 2022, 14:03
Reviewer
Restricted Project
Differential Revision
D10930: scripted-diff: rename address relay fields
Parents
rABCb694185bf69a: [net processing] Move addr relay data and logic into net processing
Branches
Unknown
Tags
Unknown