diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-02-27 17:38:05 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-02-27 17:46:55 +0000 |
commit | b5c74e40416610ad3fdd9047bcffd406ea1067b5 (patch) | |
tree | 7fd9f55019ee6b4a1427037e14c5b566e3359874 /src/wallet/node_rpc_proxy.h | |
parent | Merge pull request #1798 (diff) | |
download | monero-b5c74e40416610ad3fdd9047bcffd406ea1067b5.tar.xz |
wallet: invalidate node proxy cache when reconnecting
Diffstat (limited to '')
-rw-r--r-- | src/wallet/node_rpc_proxy.h | 2 |
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); |