Updated for 1.0.15
This commit is contained in:
parent
783f5dd534
commit
08758cf8f7
|
@ -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
4
db.h
|
@ -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)
|
||||
{
|
||||
|
|
2
main.cpp
2
main.cpp
|
@ -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;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue