rpc: add bad-blocks to flush_cache RPC

Flushes m_invalid_blocks in Blockchain.
This commit is contained in:
moneromooo-monero
2019-12-02 18:51:28 +00:00
parent 411f1b0ee3
commit 5985c5afe8
10 changed files with 47 additions and 7 deletions

View File

@@ -325,7 +325,7 @@ t_command_server::t_command_server(
m_command_lookup.set_handler(
"flush_cache"
, std::bind(&t_command_parser_executor::flush_cache, &m_parser, p::_1)
, "flush_cache bad-txs"
, "flush_cache [bad-txs] [bad-blocks]"
, "Flush the specified cache(s)."
);
}