|
|
@ -66,12 +66,6 @@ static const int MAX_BLOCKS_IN_TRANSIT_PER_PEER = 128; |
|
|
|
/** Timeout in seconds before considering a block download peer unresponsive. */ |
|
|
|
/** Timeout in seconds before considering a block download peer unresponsive. */ |
|
|
|
static const unsigned int BLOCK_DOWNLOAD_TIMEOUT = 60; |
|
|
|
static const unsigned int BLOCK_DOWNLOAD_TIMEOUT = 60; |
|
|
|
|
|
|
|
|
|
|
|
#ifdef USE_UPNP |
|
|
|
|
|
|
|
static const int fHaveUPnP = true; |
|
|
|
|
|
|
|
#else |
|
|
|
|
|
|
|
static const int fHaveUPnP = false; |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** "reject" message codes **/ |
|
|
|
/** "reject" message codes **/ |
|
|
|
static const unsigned char REJECT_MALFORMED = 0x01; |
|
|
|
static const unsigned char REJECT_MALFORMED = 0x01; |
|
|
|
static const unsigned char REJECT_INVALID = 0x10; |
|
|
|
static const unsigned char REJECT_INVALID = 0x10; |
|
|
|