diff options
| author | Riccardo Spagni <ric@spagni.net> | 2016-01-31 15:19:40 +0200 |
|---|---|---|
| committer | Riccardo Spagni <ric@spagni.net> | 2016-01-31 15:19:40 +0200 |
| commit | ac961f66f69642563fe46c3be40efdad521c2c4e (patch) | |
| tree | c662b2241380a793c64c2f1254de14cdf34339c8 /src/daemon/command_server.cpp | |
| parent | b91fc2dc3c4489f44a74915ae80fd1968d150302 (diff) | |
| parent | bf6d1474c097ee0affe827fe2e3dac489b290f40 (diff) | |
| download | monzero-core-ac961f66f69642563fe46c3be40efdad521c2c4e.tar.gz monzero-core-ac961f66f69642563fe46c3be40efdad521c2c4e.tar.xz monzero-core-ac961f66f69642563fe46c3be40efdad521c2c4e.zip | |
Merge pull request #630
bf6d147 new flush_txpool command, and associated RPC call (moneromooo-monero)
6288295 rpc: add missing return on error when getting a tx (moneromooo-monero)
b7e37b7 simplewallet: show_transfers can now show just failed txes (moneromooo-monero)
b11539f wallet: detect and handle failed outgoing transfers (moneromooo-monero)
4b23714 tx_pool: serialize missing kept_by_block flag (moneromooo-monero)
Diffstat (limited to 'src/daemon/command_server.cpp')
| -rw-r--r-- | src/daemon/command_server.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/daemon/command_server.cpp b/src/daemon/command_server.cpp index f99b0844a..206de9d4a 100644 --- a/src/daemon/command_server.cpp +++ b/src/daemon/command_server.cpp @@ -209,6 +209,11 @@ t_command_server::t_command_server( , std::bind(&t_command_parser_executor::unban, &m_parser, p::_1) , "Unban a given IP" ); + m_command_lookup.set_handler( + "flush_txpool" + , std::bind(&t_command_parser_executor::flush_txpool, &m_parser, p::_1) + , "Flush a transaction from the tx pool by its txid, or the whole tx pool" + ); } bool t_command_server::process_command_str(const std::string& cmd) |
