updated for 1.0.14

This commit is contained in:
J62 2019-09-17 05:16:09 -07:00
parent f84485b688
commit 63a3a8941e
3 changed files with 5 additions and 5 deletions

View File

@ -7,8 +7,8 @@ of reliable nodes via a built-in DNS server.
Features:
* regularly revisits known nodes to check their availability
* bans nodes after enough failures, or bad behaviour
* accepts nodes down to protocol version 170002 to request new IP addresses from,
but only reports good (180004) nodes.
* accepts nodes down to protocol version 180004 to request new IP addresses from,
but only reports good (180005) nodes.
* keeps statistics over (exponential) windows of 2 hours, 8 hours,
1 day and 1 week, to base decisions on.
* very low memory (a few tens of megabytes) and cpu requirements.

4
db.h
View File

@ -12,8 +12,8 @@
#define MIN_RETRY 1000
#define REQUIRED_VERSION 180004
#define MINIMUM_VERSION_TO_AVOID_BAN_TIME 170002
#define REQUIRED_VERSION 180005
#define MINIMUM_VERSION_TO_AVOID_BAN_TIME 180004
static inline int GetRequireHeight(const bool testnet = fTestNet)
{

View File

@ -60,7 +60,7 @@ class CDataStream;
class CAutoFile;
static const unsigned int MAX_SIZE = 0x02000000;
static const int PROTOCOL_VERSION = 180004;
static const int PROTOCOL_VERSION = 180005;
// Used to bypass the rule against non-const reference to temporary
// where it makes sense with wrappers such as CFlatData or CTxDB