summaryrefslogtreecommitdiffstats
path: root/xmrstak/net/msgstruct.hpp
diff options
context:
space:
mode:
authorUnknown <fireice2@o2.pl>2017-11-14 16:42:12 +0000
committerUnknown <fireice2@o2.pl>2017-11-14 16:42:12 +0000
commit608139ccde751eb053b54e8d41899aec9208017d (patch)
tree7e0cbccce341c24016aee17e5d4fcf2e872dfb17 /xmrstak/net/msgstruct.hpp
parent8f9eb8ef2e10872344ecf4281c9a0a0946b00e4c (diff)
downloadxmr-stak-608139ccde751eb053b54e8d41899aec9208017d.zip
xmr-stak-608139ccde751eb053b54e8d41899aec9208017d.tar.gz
Pass threadno up the food chain
Diffstat (limited to 'xmrstak/net/msgstruct.hpp')
-rw-r--r--xmrstak/net/msgstruct.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmrstak/net/msgstruct.hpp b/xmrstak/net/msgstruct.hpp
index 01aa76c..305f40b 100644
--- a/xmrstak/net/msgstruct.hpp
+++ b/xmrstak/net/msgstruct.hpp
@@ -30,9 +30,10 @@ struct job_result
uint8_t bResult[32];
char sJobID[64];
uint32_t iNonce;
+ uint32_t iThreadId;
job_result() {}
- job_result(const char* sJobID, uint32_t iNonce, const uint8_t* bResult) : iNonce(iNonce)
+ job_result(const char* sJobID, uint32_t iNonce, const uint8_t* bResult, uint32_t iThreadId) : iNonce(iNonce), iThreadId(iThreadId)
{
memcpy(this->sJobID, sJobID, sizeof(job_result::sJobID));
memcpy(this->bResult, bResult, sizeof(job_result::bResult));
OpenPOWER on IntegriCloud