aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/core_rpc_server.cpp
diff options
context:
space:
mode:
authorAlexander Blair <snipa@jagtech.io>2020-12-04 13:21:36 -0800
committerAlexander Blair <snipa@jagtech.io>2020-12-04 13:21:36 -0800
commitce564e7ebf3795c6c6a9ba32f04cbae2eb3e9e17 (patch)
tree1490e205e08e24c9024a849327dacfb1a4e3720c /src/rpc/core_rpc_server.cpp
parentMerge pull request #7017 (diff)
parentrpc: get_info - add 'synchronized' field (diff)
downloadmonero-ce564e7ebf3795c6c6a9ba32f04cbae2eb3e9e17.tar.xz
Merge pull request #7030
0363476ee rpc: get_info - add 'synchronized' field (xiphon)
Diffstat (limited to 'src/rpc/core_rpc_server.cpp')
-rw-r--r--src/rpc/core_rpc_server.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp
index 98e8e8c66..264a50040 100644
--- a/src/rpc/core_rpc_server.cpp
+++ b/src/rpc/core_rpc_server.cpp
@@ -498,6 +498,7 @@ namespace cryptonote
res.database_size = round_up(res.database_size, 5ull* 1024 * 1024 * 1024);
res.update_available = restricted ? false : m_core.is_update_available();
res.version = restricted ? "" : MONERO_VERSION_FULL;
+ res.synchronized = check_core_ready();
res.status = CORE_RPC_STATUS_OK;
return true;