aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-02-06 19:00:26 +0200
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-01-07 18:06:58 +0200
commit02ccf69dd6b772423acb343d16ef2bdbb3e3da03 (patch)
tree105a82f38003a255a4c9df8e713155455a2e130f /src/net.h
parent4b8b71e630415647c75fa95d5407690b372bceff (diff)
downloadbitcoin-02ccf69dd6b772423acb343d16ef2bdbb3e3da03.tar.xz
refactor: Move port mapping code to its own module
This commit does not change behavior.
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/net.h b/src/net.h
index acc1da49a5..6827c6897f 100644
--- a/src/net.h
+++ b/src/net.h
@@ -67,12 +67,6 @@ static const int MAX_BLOCK_RELAY_ONLY_CONNECTIONS = 2;
static const int MAX_FEELER_CONNECTIONS = 1;
/** -listen default */
static const bool DEFAULT_LISTEN = true;
-/** -upnp default */
-#ifdef USE_UPNP
-static const bool DEFAULT_UPNP = USE_UPNP;
-#else
-static const bool DEFAULT_UPNP = false;
-#endif
/** The maximum number of peer connections to maintain. */
static const unsigned int DEFAULT_MAX_PEER_CONNECTIONS = 125;
/** The default for -maxuploadtarget. 0 = Unlimited */
@@ -181,9 +175,6 @@ enum class ConnectionType {
};
void Discover();
-void StartMapPort();
-void InterruptMapPort();
-void StopMapPort();
uint16_t GetListenPort();
enum