From fa25f43ac5692082dba3f90456c501eb08f1b75c Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Mon, 10 Sep 2018 13:59:20 -0400 Subject: p2p: Remove BIP61 reject messages --- src/validation.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/validation.h') diff --git a/src/validation.h b/src/validation.h index 96d249b6d3..fbbe3757e0 100644 --- a/src/validation.h +++ b/src/validation.h @@ -102,8 +102,6 @@ static const unsigned int BLOCK_DOWNLOAD_WINDOW = 1024; static const unsigned int DATABASE_WRITE_INTERVAL = 60 * 60; /** Time to wait (in seconds) between flushing chainstate to disk. */ static const unsigned int DATABASE_FLUSH_INTERVAL = 24 * 60 * 60; -/** Maximum length of reject messages. */ -static const unsigned int MAX_REJECT_MESSAGE_LENGTH = 111; /** 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) */ -- cgit v1.2.3