HomePhabricator

rpc: turn already downloaded into error in getblockfrompeer

Description

rpc: turn already downloaded into error in getblockfrompeer

Summary:

rpc: allow empty JSON object result

https://github.com/bitcoin/bitcoin/pull/23706/commits/8d1a3e6498de6087501969a9d243b0697ca3fe97

rpc: turn already downloaded into error in getblockfrompeer

https://github.com/bitcoin/bitcoin/pull/23706/commits/60243cac7286e4c4bdda7094bef4cf6d1564b583

This is a partial backport of core#23706
Depends on D12717

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Sjors Provoost <sjors@sprovoost.nl>Authored on Dec 13 2021, 06:24
PiRKCommitted on Dec 3 2022, 07:51
PiRKPushed on Dec 3 2022, 07:51
Reviewer
Restricted Project
Differential Revision
D12719: rpc: turn already downloaded into error in getblockfrompeer
Parents
rABC266927a8fe69: remove unused includes in abc.cpp
Branches
Unknown
Tags
Unknown