mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-22 13:38:52 +00:00
set quick height for syncing
This commit is contained in:
parent
463de38ef5
commit
9c3fb6c243
@ -1220,7 +1220,7 @@ namespace cryptonote
|
||||
//-----------------------------------------------------------------------------------------------
|
||||
size_t core::get_block_sync_size(uint64_t height) const
|
||||
{
|
||||
static const uint64_t quick_height = m_nettype == TESTNET ? 801219 : m_nettype == MAINNET ? 1220516 : 0;
|
||||
static const uint64_t quick_height = m_nettype == TESTNET ? 0 : m_nettype == MAINNET ? 53666 : 0;
|
||||
size_t res = 0;
|
||||
if (block_sync_size > 0)
|
||||
res = block_sync_size;
|
||||
|
Loading…
Reference in New Issue
Block a user