aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2019-01-16 21:38:15 +0200
committerRiccardo Spagni <ric@spagni.net>2019-01-16 21:38:15 +0200
commit3eb96fa512b2c17560be388b9c71b7517703e53f (patch)
tree0e86d0f3b68a7427f3d41f0ac9f55817a0703126 /src/wallet/wallet2.h
parentMerge pull request #5022 (diff)
parentwallet: do not display daemon controlled text if untrusted (diff)
downloadmonero-3eb96fa512b2c17560be388b9c71b7517703e53f.tar.xz
Merge pull request #5027
9092fc4b wallet: do not display daemon controlled text if untrusted (moneromooo-monero)
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r--src/wallet/wallet2.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h
index c15c709ca..364e31483 100644
--- a/src/wallet/wallet2.h
+++ b/src/wallet/wallet2.h
@@ -1326,6 +1326,9 @@ namespace tools
void on_pin_request(epee::wipeable_string & pin);
void on_passphrase_request(bool on_device, epee::wipeable_string & passphrase);
+ std::string get_rpc_status(const std::string &s) const;
+ void throw_on_rpc_response_error(const boost::optional<std::string> &status, const char *method) const;
+
cryptonote::account_base m_account;
boost::optional<epee::net_utils::http::login> m_daemon_login;
std::string m_daemon_address;