summaryrefslogtreecommitdiffstats
path: root/xmrstak/rapidjson/internal/stack.h
diff options
context:
space:
mode:
authorpsychocrypt <psychocryptHPC@gmail.com>2018-05-16 17:20:26 +0200
committerTimothy Pearson <tpearson@raptorengineering.com>2018-06-04 21:07:11 +0000
commit34deee35bd12c6ece4829adeb584fa91b3dd5c36 (patch)
treef1b34606aa621c809740e93f0caec8cf6c953f4e /xmrstak/rapidjson/internal/stack.h
parent3989c6cc041859d11316da4933ae499b7515fc9f (diff)
downloadxmr-stak-34deee35bd12c6ece4829adeb584fa91b3dd5c36.zip
xmr-stak-34deee35bd12c6ece4829adeb584fa91b3dd5c36.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 'xmrstak/rapidjson/internal/stack.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud