HomePhabricator

[net processing] Change AlreadyHaveBlock() to take block_hash argument

Description

[net processing] Change AlreadyHaveBlock() to take block_hash argument

Summary:
Partial backport of core#19610:
https://github.com/bitcoin/bitcoin/pull/19610/commits/5fdfb80b861e0de3fcf8a57163b3f52af4b2df3b

Depends on D9503.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

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

Details

Provenance
John Newbery <john@johnnewbery.com>Authored on Jul 30 2020, 10:02
FabienCommitted on May 12 2021, 19:08
FabienPushed on May 12 2021, 19:08
Reviewer
Restricted Project
Differential Revision
D9504: [net processing] Change AlreadyHaveBlock() to take block_hash argument
Parents
rABC63d5b8764b4a: [net processing] Remove mempool argument from AlreadyHaveBlock()
Branches
Unknown
Tags
Unknown