aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/rpc_command_executor.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-12-02 18:51:28 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-12-02 18:53:30 +0000
commit5985c5afe8051ef9933212e62293ece3634a5024 (patch)
treea3d54b1111c7f9d346c94900613943f2c84ca364 /src/daemon/rpc_command_executor.h
parentMerge pull request #6174 (diff)
downloadmonero-5985c5afe8051ef9933212e62293ece3634a5024.tar.xz
rpc: add bad-blocks to flush_cache RPC
Flushes m_invalid_blocks in Blockchain.
Diffstat (limited to 'src/daemon/rpc_command_executor.h')
-rw-r--r--src/daemon/rpc_command_executor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/rpc_command_executor.h b/src/daemon/rpc_command_executor.h
index e8b12cb9b..6276d124d 100644
--- a/src/daemon/rpc_command_executor.h
+++ b/src/daemon/rpc_command_executor.h
@@ -170,7 +170,7 @@ public:
bool rpc_payments();
- bool flush_cache(bool bad_txs);
+ bool flush_cache(bool bad_txs, bool invalid_blocks);
};
} // namespace daemonize