mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
set quick height for syncing
This commit is contained in:
parent
c1ef123bad
commit
8498370447
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue