|
@ -123,6 +123,7 @@ public: |
|
|
else if ((arg == "-FF" || arg == "-FS" || arg == "--farm-failover" || arg == "--stratum-failover") && i + 1 < argc) |
|
|
else if ((arg == "-FF" || arg == "-FS" || arg == "--farm-failover" || arg == "--stratum-failover") && i + 1 < argc) |
|
|
{ |
|
|
{ |
|
|
string url = argv[++i]; |
|
|
string url = argv[++i]; |
|
|
|
|
|
|
|
|
if (mode == OperationMode::Stratum) |
|
|
if (mode == OperationMode::Stratum) |
|
|
{ |
|
|
{ |
|
|
size_t p = url.find_last_of(":"); |
|
|
size_t p = url.find_last_of(":"); |
|
@ -137,6 +138,10 @@ public: |
|
|
m_farmFailOverURL = url; |
|
|
m_farmFailOverURL = url; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
else |
|
|
|
|
|
{ |
|
|
|
|
|
m_farmFailOverURL = url; |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
else if (arg == "--farm-recheck" && i + 1 < argc) |
|
|
else if (arg == "--farm-recheck" && i + 1 < argc) |
|
|
try { |
|
|
try { |
|
@ -1087,9 +1092,8 @@ private: |
|
|
string m_port; |
|
|
string m_port; |
|
|
string m_fuser = ""; |
|
|
string m_fuser = ""; |
|
|
string m_fpass = ""; |
|
|
string m_fpass = ""; |
|
|
string m_fport = ""; |
|
|
|
|
|
#endif |
|
|
#endif |
|
|
|
|
|
string m_fport = ""; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
char MinerCLI::s_dagDir[256] = ""; |
|
|
char MinerCLI::s_dagDir[256] = ""; |
|
|