Page MenuHomePhabricator

scripted-diff: Rename OneShot to AddrFetch
ClosedPublic

Authored by Fabien on Dec 21 2020, 10:56.

Details

Reviewers
majcosta
Group Reviewers
Restricted Project
Commits
rABC595b16f901c9: 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

Diff Detail

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