diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-08-08 11:05:11 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-08-08 11:05:11 +0100 |
commit | 7007bd1489edcf7a50e9f2b2e079096557ef7a0a (patch) | |
tree | 14735a2c2b9a60277821f4eb5155449f8db1d302 /src/cryptonote_config.h | |
parent | Merge pull request #2247 (diff) | |
download | monero-7007bd1489edcf7a50e9f2b2e079096557ef7a0a.tar.xz |
Change default block sync size from 200 to 20
With the new sync algorithm, the network overhead will be masked
as the thread adding blocks isn't interrupted by network calls
anymore. This should reduce memory usage a lot during sync.
Diffstat (limited to '')
-rw-r--r-- | src/cryptonote_config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_config.h b/src/cryptonote_config.h index 8dbf1b53b..fd45c0822 100644 --- a/src/cryptonote_config.h +++ b/src/cryptonote_config.h @@ -89,7 +89,7 @@ #define BLOCKS_IDS_SYNCHRONIZING_DEFAULT_COUNT 10000 //by default, blocks ids count in synchronizing -#define BLOCKS_SYNCHRONIZING_DEFAULT_COUNT 200 //by default, blocks count in blocks downloading +#define BLOCKS_SYNCHRONIZING_DEFAULT_COUNT 20 //by default, blocks count in blocks downloading #define CRYPTONOTE_PROTOCOL_HOP_RELAX_COUNT 3 //value of hop, after which we use only announce of new block #define CRYPTONOTE_MEMPOOL_TX_LIVETIME 86400 //seconds, one day |