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
|
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;
|
size_t res = 0;
|
||||||
if (block_sync_size > 0)
|
if (block_sync_size > 0)
|
||||||
res = block_sync_size;
|
res = block_sync_size;
|
||||||
|
|
Loading…
Reference in New Issue