mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-05-14 13:50:34 +02:00
remove unused UPnP code from main.h
This commit is contained in:
parent
3d7399cb17
commit
1c24187b51
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user