diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-01-30 13:28:26 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-01-30 13:28:26 +0000 |
commit | bf6d1474c097ee0affe827fe2e3dac489b290f40 (patch) | |
tree | c662b2241380a793c64c2f1254de14cdf34339c8 /src/daemon/command_parser_executor.h | |
parent | rpc: add missing return on error when getting a tx (diff) | |
download | monero-bf6d1474c097ee0affe827fe2e3dac489b290f40.tar.xz |
new flush_txpool command, and associated RPC call
It can flush a particular tx, or the whole pool (the RPC command
can flush a list of transactions too)
Diffstat (limited to 'src/daemon/command_parser_executor.h')
-rw-r--r-- | src/daemon/command_parser_executor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/daemon/command_parser_executor.h b/src/daemon/command_parser_executor.h index 2d9315df8..51c55a8c0 100644 --- a/src/daemon/command_parser_executor.h +++ b/src/daemon/command_parser_executor.h @@ -112,6 +112,8 @@ public: bool ban(const std::vector<std::string>& args); bool unban(const std::vector<std::string>& args); + + bool flush_txpool(const std::vector<std::string>& args); }; } // namespace daemonize |