Paweł Bylica
8 years ago
No known key found for this signature in database
GPG Key ID: 7A0C037434FE77EF
2 changed files with
8 additions and
1 deletions
-
ethminer/MinerAux.h
-
libethash-cl/ethash_cl_miner.h
|
|
@ -958,9 +958,13 @@ private: |
|
|
|
if (client.isConnected()) |
|
|
|
{ |
|
|
|
if (client.current()) |
|
|
|
{ |
|
|
|
minelog << "Mining on PoWhash" << "#" + (client.currentHeaderHash().hex().substr(0, 8)) << ": " << mp << f.getSolutionStats(); |
|
|
|
} |
|
|
|
else if (client.waitState() == MINER_WAIT_STATE_WORK) |
|
|
|
{ |
|
|
|
minelog << "Waiting for work package..."; |
|
|
|
} |
|
|
|
} |
|
|
|
this_thread::sleep_for(chrono::milliseconds(m_farmRecheckPeriod)); |
|
|
|
} |
|
|
@ -993,9 +997,13 @@ private: |
|
|
|
if (client.isConnected()) |
|
|
|
{ |
|
|
|
if (client.current()) |
|
|
|
{ |
|
|
|
minelog << "Mining on PoWhash" << "#" + (client.currentHeaderHash().hex().substr(0, 8)) << ": " << mp << f.getSolutionStats(); |
|
|
|
} |
|
|
|
else if (client.waitState() == MINER_WAIT_STATE_WORK) |
|
|
|
{ |
|
|
|
minelog << "Waiting for work package..."; |
|
|
|
} |
|
|
|
} |
|
|
|
this_thread::sleep_for(chrono::milliseconds(m_farmRecheckPeriod)); |
|
|
|
} |
|
|
|
|
|
@ -10,7 +10,6 @@ |
|
|
|
#elif defined(__GNUC__) |
|
|
|
#pragma GCC diagnostic push |
|
|
|
#pragma GCC diagnostic ignored "-Wignored-qualifiers" |
|
|
|
#pragma GCC diagnostic ignored "-Wignored-attributes" |
|
|
|
#endif |
|
|
|
|
|
|
|
#include "CL/cl.hpp" |
|
|
|