rpc: get_info - add 'synchronized' field

This commit is contained in:
xiphon 2020-11-19 12:51:31 +00:00
parent 83f1d863bd
commit 0363476ee3
2 changed files with 4 additions and 1 deletions

View file

@ -486,6 +486,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;