diff options
author | Alexander Blair <snipa@jagtech.io> | 2020-12-10 17:56:53 -0800 |
---|---|---|
committer | Alexander Blair <snipa@jagtech.io> | 2020-12-10 17:56:53 -0800 |
commit | d6b2c676a94864913c72c8fcdb70034e4d22b2e4 (patch) | |
tree | 4761157826e2109654f1a32dc23fe4373ebf9001 /src/cryptonote_config.h | |
parent | Merge pull request #7116 (diff) | |
parent | protocol: add a sanity check to the number of block hashes sent (diff) | |
download | monero-d6b2c676a94864913c72c8fcdb70034e4d22b2e4.tar.xz |
Merge pull request #7118
ef1524ecc protocol: add a sanity check to the number of block hashes sent (moneromooo-monero)
Diffstat (limited to '')
-rw-r--r-- | src/cryptonote_config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cryptonote_config.h b/src/cryptonote_config.h index 13f0c471b..21f2bf81e 100644 --- a/src/cryptonote_config.h +++ b/src/cryptonote_config.h @@ -93,6 +93,7 @@ #define BLOCKS_IDS_SYNCHRONIZING_DEFAULT_COUNT 10000 //by default, blocks ids count in synchronizing +#define BLOCKS_IDS_SYNCHRONIZING_MAX_COUNT 25000 //max blocks ids count in synchronizing #define BLOCKS_SYNCHRONIZING_DEFAULT_COUNT_PRE_V4 100 //by default, blocks count in blocks downloading #define BLOCKS_SYNCHRONIZING_DEFAULT_COUNT 20 //by default, blocks count in blocks downloading #define BLOCKS_SYNCHRONIZING_MAX_COUNT 2048 //must be a power of 2, greater than 128, equal to SEEDHASH_EPOCH_BLOCKS |