diff options
author | Alexander Blair <snipa@jagtech.io> | 2020-12-04 13:21:36 -0800 |
---|---|---|
committer | Alexander Blair <snipa@jagtech.io> | 2020-12-04 13:21:36 -0800 |
commit | ce564e7ebf3795c6c6a9ba32f04cbae2eb3e9e17 (patch) | |
tree | 1490e205e08e24c9024a849327dacfb1a4e3720c /src/rpc/core_rpc_server.cpp | |
parent | Merge pull request #7017 (diff) | |
parent | rpc: get_info - add 'synchronized' field (diff) | |
download | monero-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.cpp | 1 |
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; |