aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet_manager.h
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2020-07-20 04:31:58 +0000
committerxiphon <xiphon@protonmail.com>2020-07-20 13:45:12 +0000
commit76c16822d09fbebbc792dc999ea2d3432a63253a (patch)
treee7b5e168f20c2f9a7b8a8e1e3dddd849e2f396f8 /src/wallet/api/wallet_manager.h
parentMerge pull request #6586 (diff)
downloadmonero-76c16822d09fbebbc792dc999ea2d3432a63253a.tar.xz
wallet2_api: implement runtime proxy configuration
Diffstat (limited to '')
-rw-r--r--src/wallet/api/wallet_manager.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/wallet/api/wallet_manager.h b/src/wallet/api/wallet_manager.h
index ca8e9ada2..2f603b0a9 100644
--- a/src/wallet/api/wallet_manager.h
+++ b/src/wallet/api/wallet_manager.h
@@ -30,7 +30,7 @@
#include "wallet/api/wallet2_api.h"
-#include "net/http_client.h"
+#include "net/http.h"
#include <string>
namespace Monero {
@@ -92,11 +92,12 @@ public:
bool startMining(const std::string &address, uint32_t threads = 1, bool background_mining = false, bool ignore_battery = true) override;
bool stopMining() override;
std::string resolveOpenAlias(const std::string &address, bool &dnssec_valid) const override;
+ bool setProxy(const std::string &address) override;
private:
WalletManagerImpl() {}
friend struct WalletManagerFactory;
- epee::net_utils::http::http_simple_client m_http_client;
+ net::http::client m_http_client;
std::string m_errorString;
};