Skip to content

Conversation

maflcko
Copy link
Member

@maflcko maflcko commented Mar 16, 2022

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.

@DrahtBot
Copy link
Contributor

DrahtBot commented Mar 16, 2022

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #24539 (Add a "tx output spender" index by sstone)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

@maflcko maflcko force-pushed the 2203-txoutproof-move- branch from fac9669 to fa2d176 Compare March 17, 2022 07:42
@maflcko maflcko marked this pull request as ready for review March 18, 2022 08:06
Copy link
Contributor

@theStack theStack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Concept and code-review ACK fa2d176

@achow101
Copy link
Member

ACK fa2d176

@fanquake fanquake merged commit 3004126 into bitcoin:master Mar 23, 2022
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Mar 24, 2022
@maflcko maflcko deleted the 2203-txoutproof-move-🍤 branch March 24, 2022 07:17
Fabcien pushed a commit to Bitcoin-ABC/bitcoin-abc that referenced this pull request Jan 24, 2023
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 [[bitcoin/bitcoin#24582 | core#24582]]

Test Plan: `ninja all check-all`

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D13051
@bitcoin bitcoin locked and limited conversation to collaborators Mar 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants