Merge pull request #7030

0363476ee rpc: get_info - add 'synchronized' field (xiphon)
This commit is contained in:
Alexander Blair 2020-12-04 13:21:36 -08:00
commit ce564e7ebf
No known key found for this signature in database
GPG key ID: C64552D877C32479
2 changed files with 4 additions and 1 deletions

View file

@ -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;