aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/node_rpc_proxy.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-02-27 17:38:05 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-02-27 17:46:55 +0000
commitb5c74e40416610ad3fdd9047bcffd406ea1067b5 (patch)
tree7fd9f55019ee6b4a1427037e14c5b566e3359874 /src/wallet/node_rpc_proxy.h
parentMerge pull request #1798 (diff)
downloadmonero-b5c74e40416610ad3fdd9047bcffd406ea1067b5.tar.xz
wallet: invalidate node proxy cache when reconnecting
Diffstat (limited to 'src/wallet/node_rpc_proxy.h')
-rw-r--r--src/wallet/node_rpc_proxy.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/node_rpc_proxy.h b/src/wallet/node_rpc_proxy.h
index e2f42d541..57cfbbc45 100644
--- a/src/wallet/node_rpc_proxy.h
+++ b/src/wallet/node_rpc_proxy.h
@@ -41,6 +41,8 @@ class NodeRPCProxy
public:
NodeRPCProxy(epee::net_utils::http::http_simple_client &http_client, boost::mutex &mutex);
+ void invalidate();
+
boost::optional<std::string> get_height(uint64_t &height);
void set_height(uint64_t h);
boost::optional<std::string> get_earliest_height(uint8_t version, uint64_t &earliest_height);