set quick height for syncing

pull/461/head
wowario 1 year ago
parent 970ec88436
commit 84f49bed65
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111

@ -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…
Cancel
Save