HomePhabricator

net: Simplify ProcessGetBlockData execution by removing send flag.

Description

net: Simplify ProcessGetBlockData execution by removing send flag.

Summary:
Setting the send flag to false can be replaced by simply returning.

This is a partial backport of core#21235
https://github.com/bitcoin/bitcoin/pull/21235/commits/fae77b9e6dc9e59b355d56df49c4d9685b6f40a4

Depends on D13309

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Patrick Strateman <patrick.strateman@gmail.com>Authored on May 16 2018, 23:08
PiRKCommitted on Mar 13 2023, 15:00
PiRKPushed on Mar 13 2023, 15:00
Reviewer
Restricted Project
Differential Revision
D13310: net: Simplify ProcessGetBlockData execution by removing send flag.
Parents
rABC024ecba2fbee: log: Clarify that block request below NODE_NETWORK_LIMITED_MIN_BLOCKS…
Branches
Unknown
Tags
Unknown