diff options
author | xiphon <xiphon@protonmail.com> | 2019-08-21 13:04:20 +0000 |
---|---|---|
committer | xiphon <xiphon@protonmail.com> | 2019-08-23 12:09:02 +0000 |
commit | 063eebbd434d25fc7880edfd31d33d602b9ff306 (patch) | |
tree | 39f14a324e7e9185f742a7bfec649940acddbe47 /src/daemon/command_server.cpp | |
parent | Merge pull request #5696 (diff) | |
download | monero-063eebbd434d25fc7880edfd31d33d602b9ff306.tar.xz |
daemon: implement 'set_bootstrap_daemon' command
Diffstat (limited to 'src/daemon/command_server.cpp')
-rw-r--r-- | src/daemon/command_server.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/daemon/command_server.cpp b/src/daemon/command_server.cpp index aecdda52c..757e072a4 100644 --- a/src/daemon/command_server.cpp +++ b/src/daemon/command_server.cpp @@ -310,6 +310,13 @@ t_command_server::t_command_server( , std::bind(&t_command_parser_executor::check_blockchain_pruning, &m_parser, p::_1) , "Check the blockchain pruning." ); + m_command_lookup.set_handler( + "set_bootstrap_daemon" + , std::bind(&t_command_parser_executor::set_bootstrap_daemon, &m_parser, p::_1) + , "set_bootstrap_daemon (auto | none | host[:port] [username] [password])" + , "URL of a 'bootstrap' remote daemon that the connected wallets can use while this daemon is still not fully synced.\n" + "Use 'auto' to enable automatic public nodes discovering and bootstrap daemon switching" + ); } bool t_command_server::process_command_str(const std::string& cmd) |