HomePhabricator

rpc: more detailed errors for getblockfrompeer

Description

rpc: more detailed errors for getblockfrompeer

Summary:
This is a partial backport of core#23706
https://github.com/bitcoin/bitcoin/pull/23706/commits/34d5399211eeb61e7e7961c301fb2ddea8aa3f6a

Depends on D12719

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Sjors Provoost <sjors@sprovoost.nl>Authored on Dec 8 2021, 13:16
PiRKCommitted on Dec 3 2022, 07:51
PiRKPushed on Dec 3 2022, 07:51
Reviewer
Restricted Project
Differential Revision
D12720: rpc: more detailed errors for getblockfrompeer
Parents
rABC392507352a37: rpc: turn already downloaded into error in getblockfrompeer
Branches
Unknown
Tags
Unknown