diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-03-03 14:10:44 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-03-03 14:10:44 +0200 |
commit | 14c6c910d7b4412833bcccbb57b34f3e82e79e68 (patch) | |
tree | 82df0bbdd70b24f2498dfe591f7bd8a07fabb671 /src/wallet/api/wallet.h | |
parent | Merge pull request #1802 (diff) | |
parent | Wallet API: Add support for daemon rpc login (diff) | |
download | monero-14c6c910d7b4412833bcccbb57b34f3e82e79e68.tar.xz |
Merge pull request #1803
53105743 Wallet API: Add support for daemon rpc login (Jaquee)
Diffstat (limited to '')
-rw-r--r-- | src/wallet/api/wallet.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wallet/api/wallet.h b/src/wallet/api/wallet.h index 3501fa0ac..456110908 100644 --- a/src/wallet/api/wallet.h +++ b/src/wallet/api/wallet.h @@ -78,7 +78,7 @@ public: bool store(const std::string &path); std::string filename() const; std::string keysFilename() const; - bool init(const std::string &daemon_address, uint64_t upper_transaction_size_limit = 0); + bool init(const std::string &daemon_address, uint64_t upper_transaction_size_limit = 0, const std::string &daemon_username = "", const std::string &daemon_password = ""); bool connectToDaemon(); ConnectionStatus connected() const; void setTrustedDaemon(bool arg); @@ -170,6 +170,7 @@ private: std::atomic<bool> m_rebuildWalletCache; // cache connection status to avoid unnecessary RPC calls mutable std::atomic<bool> m_is_connected; + boost::optional<epee::net_utils::http::login> m_daemon_login{}; }; |