|
|
|
@ -211,6 +211,7 @@ namespace cryptonote
|
|
|
|
|
}
|
|
|
|
|
res.database_size = m_core.get_blockchain_storage().get_db().get_database_size();
|
|
|
|
|
res.update_available = m_core.is_update_available();
|
|
|
|
|
res.version = m_restricted ? "" : MONERO_VERSION;
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
//------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
@ -1613,6 +1614,7 @@ namespace cryptonote
|
|
|
|
|
}
|
|
|
|
|
res.database_size = m_core.get_blockchain_storage().get_db().get_database_size();
|
|
|
|
|
res.update_available = m_core.is_update_available();
|
|
|
|
|
res.version = m_restricted ? "" : MONERO_VERSION;
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
//------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|