mirror of
https://codeberg.org/wowario/wownero
synced 2026-11-20 13:04:11 +01:00
rpc: add a busy_syncing field to get_info
true if and pretty much only if new blocks are being added
This commit is contained in:
@@ -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.busy_syncing = m_p2p.get_payload_object().is_busy_syncing();
|
||||
|
||||
res.status = CORE_RPC_STATUS_OK;
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user