From b5c74e40416610ad3fdd9047bcffd406ea1067b5 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Mon, 27 Feb 2017 17:38:05 +0000 Subject: wallet: invalidate node proxy cache when reconnecting --- src/wallet/node_rpc_proxy.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/wallet/node_rpc_proxy.h') 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 get_height(uint64_t &height); void set_height(uint64_t h); boost::optional get_earliest_height(uint8_t version, uint64_t &earliest_height); -- cgit v1.2.3