set quick height for syncing

This commit is contained in:
wowario 2023-01-31 10:22:40 +03:00
parent c1ef123bad
commit 8498370447
No known key found for this signature in database
GPG key ID: 793504B449C69220

View file

@ -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;