diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-02-06 19:00:26 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-01-07 18:06:58 +0200 |
commit | 02ccf69dd6b772423acb343d16ef2bdbb3e3da03 (patch) | |
tree | 105a82f38003a255a4c9df8e713155455a2e130f /src/net.h | |
parent | 4b8b71e630415647c75fa95d5407690b372bceff (diff) |
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.h | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -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 |