HomePhabricator

scripted-diff: Rename OneShot to AddrFetch

Description

scripted-diff: Rename OneShot to AddrFetch

Summary:

-BEGIN VERIFY SCRIPT-
sed -i 's/a oneshot/an addrfetch/g' src/chainparams.cpp #comment
sed -i 's/oneshot/addrfetch/g' src/net.cpp #comment
sed -i 's/AddOneShot/AddAddrFetch/g' src/net.h src/net.cpp
sed -i 's/cs_vOneShots/m_addr_fetches_mutex/g' src/net.h src/net.cpp
sed -i 's/vOneShots/m_addr_fetches/g' src/net.h src/net.cpp
sed -i 's/fOneShot/m_addr_fetch/g' src/net.h src/net.cpp
src/net_processing.cpp
sed -i 's/ProcessOneShot/ProcessAddrFetch/g' src/net.h src/net.cpp
-END VERIFY SCRIPT-

Partial backport (1/19) of core PR19316:
https://github.com/bitcoin/bitcoin/pull/19316/commits/3f1b7140e95d0f8f958cb35f31c3d964c57e484d

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

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

Details

Provenance
Amiti Uttarwar <amiti@uttarwar.org>Authored on Jul 17 2020, 21:56
FabienCommitted on Dec 21 2020, 15:33
FabienPushed on Dec 21 2020, 15:35
Reviewer
Restricted Project
Differential Revision
D8711: scripted-diff: Rename OneShot to AddrFetch
Parents
rABC306b94dd6d36: fuzz: Stop nodes in process_message* fuzzers
Branches
Unknown
Tags
Unknown