diff options
| author | Riccardo Spagni <ric@spagni.net> | 2016-03-27 14:09:53 +0200 |
|---|---|---|
| committer | Riccardo Spagni <ric@spagni.net> | 2016-03-27 14:09:53 +0200 |
| commit | 2b57845766ee41fef14166219b9f3aa8ba3f68a2 (patch) | |
| tree | 82c1d7084d50054a8a8e2d9b418f0e011945fc86 /src/daemon/command_server.cpp | |
| parent | 1559c71ef221f09e345618442dd5dafb46b0c975 (diff) | |
| parent | d5d46e6d6da569ec07169a12f59cbc6d120c35f2 (diff) | |
| download | monzero-core-2b57845766ee41fef14166219b9f3aa8ba3f68a2.tar.gz monzero-core-2b57845766ee41fef14166219b9f3aa8ba3f68a2.tar.xz monzero-core-2b57845766ee41fef14166219b9f3aa8ba3f68a2.zip | |
Merge pull request #765
d5d46e6 tests: obligatory hardfork unit build fix after interface change (moneromooo-monero)
25672d3 wallet: pass std::function by const ref, not value (moneromooo-monero)
0be6e08 wallet: do not leak owned amounts to the daemon unless --trusted-daemon (moneromooo-monero)
12146da wallet: change sweep_dust to sweep_unmixable (moneromooo-monero)
600a3cf New RPC and daemon command to get output histogram (moneromooo-monero)
f9a2fd2 wallet: handle rare case where fee adjustment can bump to the next kB (moneromooo-monero)
f26651a wallet: factor fee calculation (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 206de9d4a..aabc2f09a 100644 --- a/src/daemon/command_server.cpp +++ b/src/daemon/command_server.cpp @@ -214,6 +214,11 @@ t_command_server::t_command_server( , 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" ); + m_command_lookup.set_handler( + "output_histogram" + , std::bind(&t_command_parser_executor::output_histogram, &m_parser, p::_1) + , "Print output histogram (amount, instances)" + ); } bool t_command_server::process_command_str(const std::string& cmd) |
