aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet_manager.h
diff options
context:
space:
mode:
authorAlexander Blair <snipa@jagtech.io>2020-08-16 12:52:21 -0700
committerAlexander Blair <snipa@jagtech.io>2020-08-16 12:52:21 -0700
commit01b512f3a91f2080f4fae0abfd19f3e0e1dc53e9 (patch)
treea8e7137064dd618b38bee9e35e6d989c77582001 /src/wallet/api/wallet_manager.h
parentMerge pull request #6715 (diff)
parentwallet2_api: implement runtime proxy configuration (diff)
downloadmonero-01b512f3a91f2080f4fae0abfd19f3e0e1dc53e9.tar.xz
Merge pull request #6716
76c16822d wallet2_api: implement runtime proxy configuration (xiphon)
Diffstat (limited to 'src/wallet/api/wallet_manager.h')
-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;
};