HomePhabricator

rpc: add return message to savemempool RPC

Description

rpc: add return message to savemempool RPC

Summary:

Currently, if the user calls the savemempool RPC method, there is no way to know
where the file was created (unless the user knows internal implementation details).

This PR adds a return message stating the file name and path where the mempool was saved and changes mempool_persist.py to validate this new return message.

Backport of core#23398.

Test Plan:

./test/functional/test_runner.py mempool_persist

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

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

Details

Provenance
lsilva01 <lsilva01@protonmail.com>Authored on Oct 30 2021, 18:18
FabienCommitted on Nov 23 2022, 19:08
FabienPushed on Nov 23 2022, 19:08
Reviewer
Restricted Project
Differential Revision
D12599: rpc: add return message to savemempool RPC
Parents
rABCfdee373b106b: test: add stress tests for initialization
Branches
Unknown
Tags
Unknown