HomePhabricator

rpc: Allow gettxoutsetinfo and getblockstats for stale blocks and add test for…

Description

rpc: Allow gettxoutsetinfo and getblockstats for stale blocks and add test for coinstatsindex behavior in reorgs

Summary:
This is a backport of core#19521 [15 & 16/17]
https://github.com/bitcoin/bitcoin/pull/19521/commits/90c966b0f3cfbd6bce5883f46d8527c6853a86a2
https://github.com/bitcoin/bitcoin/pull/19521/commits/23fe50436be641d7417152adc683192649ba206a

Co-authored-by: Sjors Provoost <sjors@sprovoost.nl>
Depends on D11608

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Fabian Jahr <fjahr@protonmail.com>Authored on Mar 10 2021, 23:52
PiRKCommitted on Jun 13 2022, 18:27
PiRKPushed on Jun 13 2022, 18:27
Reviewer
Restricted Project
Differential Revision
D11609: rpc: Allow gettxoutsetinfo and getblockstats for stale blocks and add test for coinstatsindex behavior in reorgs
Parents
rABC377ada0ea0c9: index, rpc: Add use_index option for gettxoutsetinfo
Branches
Unknown
Tags
Unknown