diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-02-27 17:44:06 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-02-27 17:57:18 +0000 |
commit | 6fd4b827fb3cd976b10c1983fc4c88a340855a3c (patch) | |
tree | 0399c9de9fd9b61797d3c784a3c45a3f0054ca79 /src/wallet/node_rpc_proxy.h | |
parent | wallet: invalidate node proxy cache when reconnecting (diff) | |
download | monero-6fd4b827fb3cd976b10c1983fc4c88a340855a3c.tar.xz |
node_rpc_proxy: allow caching daemon RPC version
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 57cfbbc45..02d1d8d93 100644 --- a/src/wallet/node_rpc_proxy.h +++ b/src/wallet/node_rpc_proxy.h @@ -43,6 +43,7 @@ public: void invalidate(); + boost::optional<std::string> get_rpc_version(uint32_t &version); 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); @@ -58,6 +59,7 @@ private: uint64_t m_dynamic_per_kb_fee_estimate; uint64_t m_dynamic_per_kb_fee_estimate_cached_height; uint64_t m_dynamic_per_kb_fee_estimate_grace_blocks; + uint32_t m_rpc_version; }; } |