aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_config.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-09-17 10:26:12 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-09-17 10:26:12 +0100
commit7f2f6ee1c974d7d4cd58fae257f072f7d8d77e43 (patch)
treee9aba1247f49303c90a40ebe0272d7f63980ffd6 /src/cryptonote_config.h
parentMerge pull request #2438 (diff)
downloadmonero-7f2f6ee1c974d7d4cd58fae257f072f7d8d77e43.tar.xz
protocol: remove hop count on block propagation
It is unused, as it was apparently a future optimization, and it leaks some information (though since pools publish thei blocks they find, that amount seems small).
Diffstat (limited to 'src/cryptonote_config.h')
-rw-r--r--src/cryptonote_config.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cryptonote_config.h b/src/cryptonote_config.h
index 8ff01cf8b..c40bd9019 100644
--- a/src/cryptonote_config.h
+++ b/src/cryptonote_config.h
@@ -91,7 +91,6 @@
#define BLOCKS_IDS_SYNCHRONIZING_DEFAULT_COUNT 10000 //by default, 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 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
#define CRYPTONOTE_MEMPOOL_TX_FROM_ALT_BLOCK_LIVETIME 604800 //seconds, one week