diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-09-21 20:41:53 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-09-21 20:41:53 +0200 |
commit | 0645dcdbdbdb7497445cae5e4772e5210fe5a1f4 (patch) | |
tree | 26ea5115eee4e3f4d1c970a10cf61ca10da97cd6 /src/rpc/core_rpc_server.cpp | |
parent | Merge pull request #4377 (diff) | |
parent | rpc: add a "is an update available" flag in get_info (diff) | |
download | monero-0645dcdbdbdb7497445cae5e4772e5210fe5a1f4.tar.xz |
Merge pull request #4378
ac934663 rpc: add a "is an update available" flag in get_info (moneromooo-monero)
Diffstat (limited to 'src/rpc/core_rpc_server.cpp')
-rw-r--r-- | src/rpc/core_rpc_server.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp index 0443f696e..3508208bc 100644 --- a/src/rpc/core_rpc_server.cpp +++ b/src/rpc/core_rpc_server.cpp @@ -208,6 +208,7 @@ namespace cryptonote res.was_bootstrap_ever_used = m_was_bootstrap_ever_used; } res.database_size = m_core.get_blockchain_storage().get_db().get_database_size(); + res.update_available = m_core.is_update_available(); return true; } //------------------------------------------------------------------------------------------------------------------------------ @@ -1595,6 +1596,7 @@ namespace cryptonote res.was_bootstrap_ever_used = m_was_bootstrap_ever_used; } res.database_size = m_core.get_blockchain_storage().get_db().get_database_size(); + res.update_available = m_core.is_update_available(); return true; } //------------------------------------------------------------------------------------------------------------------------------ |