Don't port forward Stratum port by default

Added a command line parameter to enable it
This commit is contained in:
SChernykh
2023-03-20 13:32:17 +01:00
parent bb4c7f0298
commit fe7ef30650
7 changed files with 40 additions and 28 deletions

View File

@@ -55,8 +55,10 @@ struct Params
uint32_t m_p2pExternalPort = 0;
#ifdef WITH_UPNP
bool m_upnp = true;
bool m_upnpStratum = false;
#else
bool m_upnp = false;
bool m_upnpStratum = false;
#endif
};