mirror of
https://github.com/monero-project/monero.git
synced 2025-08-15 18:10:15 -04:00
Cleanup test impact of adding safesyncmode() method
This commit is contained in:
parent
9a859844f4
commit
c22d22e2db
5 changed files with 16 additions and 2 deletions
|
@ -1037,6 +1037,11 @@ namespace cryptonote
|
|||
m_miner.on_synchronized();
|
||||
}
|
||||
//-----------------------------------------------------------------------------------------------
|
||||
void core::safesyncmode(const bool onoff)
|
||||
{
|
||||
m_blockchain_storage.safesyncmode(onoff);
|
||||
}
|
||||
//-----------------------------------------------------------------------------------------------
|
||||
bool core::add_new_block(const block& b, block_verification_context& bvc)
|
||||
{
|
||||
return m_blockchain_storage.add_new_block(b, bvc);
|
||||
|
|
|
@ -613,6 +613,13 @@ namespace cryptonote
|
|||
*/
|
||||
void on_synchronized();
|
||||
|
||||
/**
|
||||
* @copydoc Blockchain::safesyncmode
|
||||
*
|
||||
* 2note see Blockchain::safesyncmode
|
||||
*/
|
||||
void safesyncmode(const bool onoff);
|
||||
|
||||
/**
|
||||
* @brief sets the target blockchain height
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue