Page MenuHomePhabricator

rpc: add return message to savemempool RPC
ClosedPublic

Authored by Fabien on Nov 23 2022, 15:53.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABC59a9735599ba: 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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable