HomePhabricator

rpc: use peer_id, blockhash for FetchBlock

Description

rpc: use peer_id, blockhash for FetchBlock

Summary:
This concludes backport of core#23706 and core#24806
https://github.com/bitcoin/bitcoin/pull/23706/commits/923312fbf6a89efde1739da0b7209694d4f892ba

Depends on D12720

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
Sjors Provoost <sjors@sprovoost.nl>Authored on Dec 10 2021, 13:12
PiRKCommitted on Dec 3 2022, 07:51
PiRKPushed on Dec 3 2022, 07:51
Reviewer
Restricted Project
Differential Revision
D12721: rpc: use peer_id, blockhash for FetchBlock
Parents
rABC46ff54fbdee6: rpc: more detailed errors for getblockfrompeer
Branches
Unknown
Tags
Unknown