Updated for 1.0.15

This commit is contained in:
J62 2019-10-17 05:42:39 -07:00
parent 783f5dd534
commit 08758cf8f7
4 changed files with 20 additions and 20 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 180004 to request new IP addresses from,
but only reports good (180005) nodes.
* accepts nodes down to protocol version 180005 to request new IP addresses from,
but only reports good (180006) 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 180005
#define MINIMUM_VERSION_TO_AVOID_BAN_TIME 180004
#define REQUIRED_VERSION 180006
#define MINIMUM_VERSION_TO_AVOID_BAN_TIME 180005
static inline int GetRequireHeight(const bool testnet = fTestNet)
{

View File

@ -390,7 +390,7 @@ extern "C" void* ThreadStats(void*) {
return nullptr;
}
static const string mainnet_seeds[] = {"dnsseed.btcprivate.org","explorer.btcprivate.org",""};
static const string mainnet_seeds[] = {"dnsseed.btcprivate.org","explorer.btcprivate.org","dnsseed.interbiznw.com",""};
static const string testnet_seeds[] = {""};
static const string *seeds = mainnet_seeds;

View File

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