mirror of
https://github.com/monero-project/monero.git
synced 2025-08-06 05:54:38 -04:00
rpc: add a flush_cache RPC
This allows flushing internal caches (for now, the bad tx cache, which will allow debugging a stuck monerod after it has failed to verify a transaction in a block, since it would otherwise not try again, making subsequent log changes pointless)
This commit is contained in:
parent
960c215801
commit
a4dc575ccb
11 changed files with 103 additions and 7 deletions
|
@ -154,6 +154,8 @@ public:
|
|||
bool print_net_stats(const std::vector<std::string>& args);
|
||||
|
||||
bool set_bootstrap_daemon(const std::vector<std::string>& args);
|
||||
|
||||
bool flush_cache(const std::vector<std::string>& args);
|
||||
};
|
||||
|
||||
} // namespace daemonize
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue