P2PServer: load peers from DNS

This commit is contained in:
SChernykh
2021-09-07 21:30:52 +02:00
parent 3244925c66
commit a332ac7d26
6 changed files with 71 additions and 6 deletions

View File

@@ -33,7 +33,7 @@ struct Params
bool m_lightMode = false;
Wallet m_wallet{ nullptr };
std::string m_stratumAddresses{ "[::]:3333,0.0.0.0:3333" };
std::string m_p2pAddresses{ "[::]:37890,0.0.0.0:37890" };
std::string m_p2pAddresses{ "[::]:37889,0.0.0.0:37889" };
std::string m_p2pPeerList;
std::string m_config;
std::string m_apiPath;