Browse Source

Fix defualt endpoint in ethminer.

cl-refactor
Gav Wood 10 years ago
parent
commit
c094c3652e
  1. 4
      ethminer/main.cpp

4
ethminer/main.cpp

@ -74,7 +74,7 @@ void help()
<< "Options:" << endl << endl << "Options:" << endl << endl
#if ETH_JSONRPC || !ETH_TRUE #if ETH_JSONRPC || !ETH_TRUE
<< "Work farming mode:" << endl << "Work farming mode:" << endl
<< " -F,--farm <url> Put into mining farm mode with the work server at URL (default: http://127.0.0.1:8080)" << endl << " -F,--farm <url> Put into mining farm mode with the work server at URL (default: http://127.0.0.1:8545)" << endl
<< " --farm-recheck <n> Leave n ms between checks for changed work (default: 500)." << endl << " --farm-recheck <n> Leave n ms between checks for changed work (default: 500)." << endl
#endif #endif
<< "Benchmarking mode:" << endl << "Benchmarking mode:" << endl
@ -316,7 +316,7 @@ int main(int argc, char** argv)
unsigned benchmarkTrials = 5; unsigned benchmarkTrials = 5;
/// Farm params /// Farm params
string farmURL = "http://127.0.0.1:8080"; string farmURL = "http://127.0.0.1:8545";
unsigned farmRecheckPeriod = 500; unsigned farmRecheckPeriod = 500;
for (int i = 1; i < argc; ++i) for (int i = 1; i < argc; ++i)

Loading…
Cancel
Save