Merge #18809: rpc: Do not advertise dumptxoutset as a way to flush the chainstate

fac0cf6e55 rpc: Do not advertise dumptxoutset as a way to flush the chainstate (MarcoFalke)

Pull request description:

  The help message leaks several implementation details: leveldb and flush.

  Neither of them are relevant to the end user and I don't see why we should make them part of the API contract.

ACKs for top commit:
  laanwj:
    ACK fac0cf6e55

Tree-SHA512: 273fb85dc5be6cdccf17c43f183fa83c57d0a1cbb30555838f32c074218b713a753930009f6c98c85659421f2285f09c0a713b22f7e34d446e56737ac03870f7
This commit is contained in:
MarcoFalke 2020-04-30 07:20:04 -04:00
commit 00c1a4d9a9
No known key found for this signature in database
GPG key ID: CE2B75697E69A548

View file

@ -2242,8 +2242,7 @@ UniValue dumptxoutset(const JSONRPCRequest& request)
{
RPCHelpMan{
"dumptxoutset",
"\nWrite the serialized UTXO set to disk.\n"
"Incidentally flushes the latest coinsdb (leveldb) to disk.\n",
"\nWrite the serialized UTXO set to disk.\n",
{
{"path",
RPCArg::Type::STR,