Added command line for merge mining

Start a merge mining client for each of the aux chains
This commit is contained in:
SChernykh
2023-11-10 15:52:38 +01:00
parent abd9c80e4d
commit e6b8292d5b
13 changed files with 77 additions and 25 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ void TCPServer::parse_address_list_internal(const std::string& address_list, Cal
}
}
const int port = strtol(address.substr(k2 + 1).c_str(), nullptr, 10);
const uint32_t port = std::stoul(address.substr(k2 + 1), nullptr, 10);
if ((port > 0) && (port < 65536)) {
callback(is_v6, address, ip, port);
}