mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-26 19:23:26 -03:00
remove unused UPnP code from main.h
This commit is contained in:
parent
3d7399cb17
commit
1c24187b51
1 changed files with 0 additions and 6 deletions
|
@ -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…
Add table
Reference in a new issue