summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend/miner_work.hpp
diff options
context:
space:
mode:
authorfireice-uk <fireice-uk@users.noreply.github.com>2017-10-13 16:35:10 +0100
committerfireice-uk <fireice-uk@users.noreply.github.com>2017-10-22 13:12:52 +0100
commitf13f70c28eb9e4b38d3b4932f5845f1d5cc01906 (patch)
treedc2b85e4ddd9b02e35729502dd6ae96fc2443568 /xmrstak/backend/miner_work.hpp
parent610f4f0fa72c60daa14dc0661f58ba23563afb61 (diff)
downloadxmr-stak-f13f70c28eb9e4b38d3b4932f5845f1d5cc01906.zip
xmr-stak-f13f70c28eb9e4b38d3b4932f5845f1d5cc01906.tar.gz
Implement pool-controlled nonce allocation
Diffstat (limited to 'xmrstak/backend/miner_work.hpp')
-rw-r--r--xmrstak/backend/miner_work.hpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/xmrstak/backend/miner_work.hpp b/xmrstak/backend/miner_work.hpp
index aecbd70..6b5720c 100644
--- a/xmrstak/backend/miner_work.hpp
+++ b/xmrstak/backend/miner_work.hpp
@@ -15,7 +15,6 @@ namespace xmrstak
char sJobID[64];
uint8_t bWorkBlob[112];
uint32_t iWorkSize;
- uint32_t iResumeCnt;
uint64_t iTarget;
// \todo remove workaround needed for amd
uint32_t iTarget32;
@@ -25,8 +24,8 @@ namespace xmrstak
miner_work() : iWorkSize(0), bNiceHash(false), bStall(true), iPoolId(0) { }
- miner_work(const char* sJobID, const uint8_t* bWork, uint32_t iWorkSize, uint32_t iResumeCnt,
- uint64_t iTarget, bool bNiceHash, size_t iPoolId) : iWorkSize(iWorkSize), iResumeCnt(iResumeCnt),
+ miner_work(const char* sJobID, const uint8_t* bWork, uint32_t iWorkSize,
+ uint64_t iTarget, bool bNiceHash, size_t iPoolId) : iWorkSize(iWorkSize),
iTarget(iTarget), bNiceHash(bNiceHash), bStall(false), iPoolId(iPoolId)
{
assert(iWorkSize <= sizeof(bWorkBlob));
@@ -41,7 +40,6 @@ namespace xmrstak
assert(this != &from);
iWorkSize = from.iWorkSize;
- iResumeCnt = from.iResumeCnt;
iTarget = from.iTarget;
iTarget32 = from.iTarget32;
bNiceHash = from.bNiceHash;
@@ -68,7 +66,6 @@ namespace xmrstak
assert(this != &from);
iWorkSize = from.iWorkSize;
- iResumeCnt = from.iResumeCnt;
iTarget = from.iTarget;
iTarget32 = from.iTarget32;
bNiceHash = from.bNiceHash;
OpenPOWER on IntegriCloud