Added 'save_bc' command in daemon for saving blockchain remotely

This commit is contained in:
Neozaru 2014-05-16 00:26:35 +02:00
parent 4690670031
commit eb2db3cf61

View file

@ -280,9 +280,7 @@ namespace cryptonote
CHECK_CORE_READY();
if( !m_core.get_blockchain_storage().store_blockchain() )
{
// TODO
res.status = "Error while storing blockhain";
return true;
}
res.status = CORE_RPC_STATUS_OK;