mirror of
https://github.com/monero-project/monero.git
synced 2025-12-27 05:03:14 -08:00
rpc: add bad-blocks to flush_cache RPC
Flushes m_invalid_blocks in Blockchain.
This commit is contained in:
@@ -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)."
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user