HomePhabricator

Move txoutproof RPCs to txoutproof.cpp

Description

Move txoutproof RPCs to txoutproof.cpp

Summary:
The txoutproof RPCs don't really fit into rawtransaction.cpp, as they deal with txids, not with raw transactions. As they are placed in the blockchain RPC category, they could be moved there. However, blockchain.cpp already takes about 20 seconds to compile (and rawtransaction.cpp even longer), so move them to a separate file.

Can be reviewed with --color-moved=dimmed-zebra --color-moved-ws=ignore-all-space

This is a backport of core#24582

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
MarcoFalke <falke.marco@gmail.com>Authored on Mar 16 2022, 11:06
PiRKCommitted on Jan 24 2023, 16:10
PiRKPushed on Jan 24 2023, 16:10
Reviewer
Restricted Project
Differential Revision
D13051: Move txoutproof RPCs to txoutproof.cpp
Parents
rABC5c2046a4896c: scripted-diff: Rename pindexBestHeader, fHavePruned to m_best_header and…
Branches
Unknown
Tags
Unknown