Added 'save_bc' command in daemon for saving blockchain remotely
This commit is contained in:
parent
4690670031
commit
eb2db3cf61
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue