aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/rpc_command_executor.cpp
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-03-29 21:08:36 -0400
committerluigi1111 <luigi1111w@gmail.com>2021-03-29 21:08:36 -0400
commitc2bc829cca9d134fead5caa97c5d3a643232ece3 (patch)
treee2d03b1ded4abb8fc6e02035f54103b7ce8ebc23 /src/daemon/rpc_command_executor.cpp
parent8c8197463feafc35eb8dda7ec962b8b3c6bfba5c (diff)
parentcf266d66dd14801b6d03668e7904dcde02a19327 (diff)
downloadmonzero-core-c2bc829cca9d134fead5caa97c5d3a643232ece3.tar.gz
monzero-core-c2bc829cca9d134fead5caa97c5d3a643232ece3.tar.xz
monzero-core-c2bc829cca9d134fead5caa97c5d3a643232ece3.zip
Merge pull request #7326
cf266d6 bootstrap_daemon: proxy configuration support (xiphon)
Diffstat (limited to 'src/daemon/rpc_command_executor.cpp')
-rw-r--r--src/daemon/rpc_command_executor.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/daemon/rpc_command_executor.cpp b/src/daemon/rpc_command_executor.cpp
index 8194fe642..16e6a304c 100644
--- a/src/daemon/rpc_command_executor.cpp
+++ b/src/daemon/rpc_command_executor.cpp
@@ -2405,7 +2405,8 @@ bool t_rpc_command_executor::check_blockchain_pruning()
bool t_rpc_command_executor::set_bootstrap_daemon(
const std::string &address,
const std::string &username,
- const std::string &password)
+ const std::string &password,
+ const std::string &proxy)
{
cryptonote::COMMAND_RPC_SET_BOOTSTRAP_DAEMON::request req;
cryptonote::COMMAND_RPC_SET_BOOTSTRAP_DAEMON::response res;
@@ -2414,6 +2415,7 @@ bool t_rpc_command_executor::set_bootstrap_daemon(
req.address = address;
req.username = username;
req.password = password;
+ req.proxy = proxy;
if (m_is_rpc)
{