HomePhabricator

scripted-diff: rename MarkBlockAs functions

Description

scripted-diff: rename MarkBlockAs functions

Summary:

-BEGIN VERIFY SCRIPT-
ren() { sed -i "s:\<$1\>:$2:g" $(git grep -l "\<$1\>" ./src ./test); }

ren  MarkBlockAsInFlight BlockRequested
ren  MarkBlockAsReceived RemoveBlockRequest
-END VERIFY SCRIPT-

This concludes backport of core#22141
https://github.com/bitcoin/bitcoin/pull/22141/commits/2f4ad6b7efa408b8a858e87499bf6cfcdf936d73

Depends on D12709

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, sdulfari

Reviewed By: #bitcoin_abc, sdulfari

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

Details

Provenance
PiRKAuthored on Nov 30 2022, 16:22
PiRKPushed on Dec 1 2022, 07:46
Reviewer
Restricted Project
Differential Revision
D12710: scripted-diff: rename MarkBlockAs functions
Parents
rABC607b7a36e877: [net processing] Tidy up MarkBlockAsReceived()
Branches
Unknown
Tags
Unknown