diff options
author | Riccardo Spagni <ric@spagni.net> | 2019-01-28 13:55:49 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2019-01-28 13:55:50 +0200 |
commit | 4a0e4c7d706f33fb72fe809434676b1de7b4b4f7 (patch) | |
tree | 36fdd03f84ae78dbd217b5bd255bd86e33db1bcc /src/daemon/command_server.cpp | |
parent | Merge pull request #5008 (diff) | |
parent | Pruning (diff) | |
download | monero-4a0e4c7d706f33fb72fe809434676b1de7b4b4f7.tar.xz |
Merge pull request #4843
b750fb27 Pruning (moneromooo-monero)
Diffstat (limited to 'src/daemon/command_server.cpp')
-rw-r--r-- | src/daemon/command_server.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/daemon/command_server.cpp b/src/daemon/command_server.cpp index 527ed2cf1..786d1a601 100644 --- a/src/daemon/command_server.cpp +++ b/src/daemon/command_server.cpp @@ -292,6 +292,16 @@ t_command_server::t_command_server( , std::bind(&t_command_parser_executor::version, &m_parser, p::_1) , "Print version information." ); + m_command_lookup.set_handler( + "prune_blockchain" + , std::bind(&t_command_parser_executor::prune_blockchain, &m_parser, p::_1) + , "Prune the blockchain." + ); + m_command_lookup.set_handler( + "check_blockchain_pruning" + , std::bind(&t_command_parser_executor::check_blockchain_pruning, &m_parser, p::_1) + , "Check the blockchain pruning." + ); } bool t_command_server::process_command_str(const std::string& cmd) |