From 76c16822d09fbebbc792dc999ea2d3432a63253a Mon Sep 17 00:00:00 2001 From: xiphon Date: Mon, 20 Jul 2020 04:31:58 +0000 Subject: wallet2_api: implement runtime proxy configuration --- src/wallet/api/wallet_manager.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/wallet/api/wallet_manager.cpp') diff --git a/src/wallet/api/wallet_manager.cpp b/src/wallet/api/wallet_manager.cpp index 69d17eb02..900fe91e5 100644 --- a/src/wallet/api/wallet_manager.cpp +++ b/src/wallet/api/wallet_manager.cpp @@ -375,6 +375,10 @@ std::tuple WalletManag return std::make_tuple(false, "", "", "", ""); } +bool WalletManagerImpl::setProxy(const std::string &address) +{ + return m_http_client.set_proxy(address); +} ///////////////////// WalletManagerFactory implementation ////////////////////// WalletManager *WalletManagerFactory::getWalletManager() -- cgit v1.2.3