summaryrefslogtreecommitdiffstats
path: root/cli/cli-miner.cpp
diff options
context:
space:
mode:
authorpsychocrypt <psychocryptHPC@gmail.com>2018-05-16 17:20:26 +0200
committerpsychocrypt <psychocryptHPC@gmail.com>2018-05-17 09:32:45 +0200
commit84d3748550296ec0737588cf96b480927e5230d1 (patch)
tree459f520f6ab7b85d560f32f4a82151b02e5274ea /cli/cli-miner.cpp
parent94d41580e0b0400e93a2f0226eb71476b891f4a7 (diff)
downloadxmr-stak-84d3748550296ec0737588cf96b480927e5230d1.zip
xmr-stak-84d3748550296ec0737588cf96b480927e5230d1.tar.gz
avoid out of order job processing
The login result of a pool contains the first job for the miner. In the case where the pool is sending very fast after the pool login result a new job it is possible that the newer job is processed faster than the job within the login result. The result will be that the miner is mining an older job instead the newest (last received). - enumerate all received messages - trace the message id of the last procssed job - skip all jobs where the message id is older than the last procesed id
Diffstat (limited to 'cli/cli-miner.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud