HomePhabricator

scripted-diff: Rename sync_blocks to send_blocks

Description

scripted-diff: Rename sync_blocks to send_blocks

Summary:
...to avoid name collisions and confusion

-BEGIN VERIFY SCRIPT-
FILE_LIST=$(git grep -l 'def sync_blocks' ./test/functional/*.py)
sed -i -e 's/def sync_blocks/def send_blocks/g'   $FILE_LIST
sed -i -e 's/self.sync_blocks/self.send_blocks/g' $FILE_LIST
-END VERIFY SCRIPT-

Partial backport of core PR15773:
https://github.com/bitcoin/bitcoin/pull/15773/commits/fa4680ed0996a7c621265a34392c3eca827b2e48

Test Plan:

./test/functional/test_runner.py feature_block feature_csv_activation

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: deadalnix

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

Details

Provenance
MarcoFalke <falke.marco@gmail.com>Authored on Apr 8 2019, 18:16
FabienCommitted on May 20 2020, 12:20
FabienPushed on May 20 2020, 12:20
Reviewer
Restricted Project
Differential Revision
D6150: scripted-diff: Rename sync_blocks to send_blocks
Parents
rABC4340dc14f448: qa: Run more tests with wallet disabled
Branches
Unknown
Tags
Unknown