HomePhabricator

refactor: Move mempool RPCs to rpc/mempool

Description

refactor: Move mempool RPCs to rpc/mempool

Summary:

This moves the remaining mempool RPCs to rpc/mempool. Previously all mempool RPCs from the blockchain category have been moved. This patch moves the ones from the rawtransactions category.

In the future, as a follow-up to this refactoring patch, it could be considered whether a new mempool category should be introduced.

Beside a clearer code organization, this pull request should also reduce the compile time and space of the rawtransactions.cpp file.

Backport of core#24656.

Depends on D16390.

There is no change in behavior, the RPCs are moved with no code change.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, roqqit

Reviewed By: roqqit

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

Details

Provenance
FabienAuthored on Jul 1 2024, 14:03
FabienPushed on Jul 1 2024, 20:06
Reviewer
roqqit
Differential Revision
D16392: refactor: Move mempool RPCs to rpc/mempool
Parents
rABCfa08ca142600: add RPC (-regtest only) for testing package policy
Branches
Unknown
Tags
Unknown