diff options
author | Gleb <naumenko.gs@gmail.com> | 2018-05-21 12:02:40 -0700 |
---|---|---|
committer | User <naumenko.gs@gmail.com> | 2018-07-13 23:14:35 -0700 |
commit | d45b344ffd46b0226449cbd46cdaff9577402cf0 (patch) | |
tree | 0b23b028d113acce4c57faf3d8f931deba5436d9 /src/validation.h | |
parent | 287e4edc2fd2514a0095273f01fe66b85ce10856 (diff) |
Bucket for inbound when scheduling invs to hide tx time
Diffstat (limited to 'src/validation.h')
-rw-r--r-- | src/validation.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/validation.h b/src/validation.h index b9c2f6c023..cd29083f21 100644 --- a/src/validation.h +++ b/src/validation.h @@ -104,20 +104,6 @@ static const unsigned int DATABASE_WRITE_INTERVAL = 60 * 60; static const unsigned int DATABASE_FLUSH_INTERVAL = 24 * 60 * 60; /** Maximum length of reject messages. */ static const unsigned int MAX_REJECT_MESSAGE_LENGTH = 111; -/** Average delay between local address broadcasts in seconds. */ -static const unsigned int AVG_LOCAL_ADDRESS_BROADCAST_INTERVAL = 24 * 60 * 60; -/** Average delay between peer address broadcasts in seconds. */ -static const unsigned int AVG_ADDRESS_BROADCAST_INTERVAL = 30; -/** Average delay between trickled inventory transmissions in seconds. - * Blocks and whitelisted receivers bypass this, outbound peers get half this delay. */ -static const unsigned int INVENTORY_BROADCAST_INTERVAL = 5; -/** Maximum number of inventory items to send per transmission. - * Limits the impact of low-fee transaction floods. */ -static const unsigned int INVENTORY_BROADCAST_MAX = 7 * INVENTORY_BROADCAST_INTERVAL; -/** Average delay between feefilter broadcasts in seconds. */ -static const unsigned int AVG_FEEFILTER_BROADCAST_INTERVAL = 10 * 60; -/** Maximum feefilter broadcast delay after significant change. */ -static const unsigned int MAX_FEEFILTER_CHANGE_DELAY = 5 * 60; /** Block download timeout base, expressed in millionths of the block interval (i.e. 10 min) */ static const int64_t BLOCK_DOWNLOAD_TIMEOUT_BASE = 1000000; /** Additional block download timeout per parallel downloading peer (i.e. 5 min) */ |