Changeset View
Changeset View
Standalone View
Standalone View
src/net.h
Show First 20 Lines • Show All 67 Lines • ▼ Show 20 Lines | |||||
/** Maximum number of addnode outgoing nodes */ | /** Maximum number of addnode outgoing nodes */ | ||||
static const int MAX_ADDNODE_CONNECTIONS = 8; | static const int MAX_ADDNODE_CONNECTIONS = 8; | ||||
/** Maximum number of block-relay-only outgoing connections */ | /** Maximum number of block-relay-only outgoing connections */ | ||||
static const int MAX_BLOCK_RELAY_ONLY_CONNECTIONS = 2; | static const int MAX_BLOCK_RELAY_ONLY_CONNECTIONS = 2; | ||||
/** | /** | ||||
* Maximum number of avalanche enabled outgoing connections by default. | * Maximum number of avalanche enabled outgoing connections by default. | ||||
* Can be overridden with the -maxavalancheoutbound option. | * Can be overridden with the -maxavalancheoutbound option. | ||||
*/ | */ | ||||
static const int DEFAULT_MAX_AVALANCHE_OUTBOUND_CONNECTIONS = 16; | static const int DEFAULT_MAX_AVALANCHE_OUTBOUND_CONNECTIONS = 300; | ||||
/** Maximum number of feeler connections */ | /** Maximum number of feeler connections */ | ||||
static const int MAX_FEELER_CONNECTIONS = 1; | static const int MAX_FEELER_CONNECTIONS = 1; | ||||
/** -listen default */ | /** -listen default */ | ||||
static const bool DEFAULT_LISTEN = true; | static const bool DEFAULT_LISTEN = true; | ||||
/** -upnp default */ | /** -upnp default */ | ||||
#ifdef USE_UPNP | #ifdef USE_UPNP | ||||
static const bool DEFAULT_UPNP = USE_UPNP; | static const bool DEFAULT_UPNP = USE_UPNP; | ||||
#else | #else | ||||
▲ Show 20 Lines • Show All 1,425 Lines • Show Last 20 Lines |