diff --git a/src/wallet/view_iface.h b/src/wallet/view_iface.h index dce4b5ee..91af1f9e 100644 --- a/src/wallet/view_iface.h +++ b/src/wallet/view_iface.h @@ -484,12 +484,14 @@ public: bool is_online; bool last_daemon_is_disconnected; bool is_server_busy; + bool is_remote_node_mode; uint64_t last_proxy_communicate_timestamp; BEGIN_KV_SERIALIZE_MAP() KV_SERIALIZE(is_online) - KV_SERIALIZE(is_server_busy) KV_SERIALIZE(last_daemon_is_disconnected) + KV_SERIALIZE(is_server_busy) + KV_SERIALIZE(is_remote_node_mode) KV_SERIALIZE(last_proxy_communicate_timestamp) END_KV_SERIALIZE_MAP() }; diff --git a/src/wallet/wallets_manager.cpp b/src/wallet/wallets_manager.cpp index 8859ec8d..b51f929f 100644 --- a/src/wallet/wallets_manager.cpp +++ b/src/wallet/wallets_manager.cpp @@ -1635,10 +1635,11 @@ bool wallets_manager::get_is_remote_daemon_connected() std::string wallets_manager::get_connectivity_status() { - view::general_connectivity_info gci = AUTO_VAL_INIT(gci); + view::general_connectivity_info gci{}; gci.is_online = get_is_remote_daemon_connected(); gci.last_daemon_is_disconnected = m_pproxy_diganostic_info->last_daemon_is_disconnected; gci.is_server_busy = m_pproxy_diganostic_info->is_busy; + gci.is_remote_node_mode = m_remote_node_mode; gci.last_proxy_communicate_timestamp = m_rpc_proxy->get_last_success_interract_time(); return epee::serialization::store_t_to_json(gci); }