mirror of
https://github.com/monero-project/monero.git
synced 2025-12-10 07:22:34 +01:00
Added 'save_bc' command in daemon for saving blockchain remotely
This commit is contained in:
@@ -280,9 +280,7 @@ namespace cryptonote
|
|||||||
CHECK_CORE_READY();
|
CHECK_CORE_READY();
|
||||||
if( !m_core.get_blockchain_storage().store_blockchain() )
|
if( !m_core.get_blockchain_storage().store_blockchain() )
|
||||||
{
|
{
|
||||||
// TODO
|
|
||||||
res.status = "Error while storing blockhain";
|
res.status = "Error while storing blockhain";
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
res.status = CORE_RPC_STATUS_OK;
|
res.status = CORE_RPC_STATUS_OK;
|
||||||
|
|||||||
Reference in New Issue
Block a user