summaryrefslogtreecommitdiffstats
path: root/xmrstak/net/msgstruct.hpp
diff options
context:
space:
mode:
authorpsychocrypt <psychocrypt@users.noreply.github.com>2017-11-16 12:12:40 +0100
committerGitHub <noreply@github.com>2017-11-16 12:12:40 +0100
commit1dc874c542a23c36dd65ea0f5b9cb65e3c3a572a (patch)
treebbebd1f9969dbd09283fba5cb3ef9fc170dc0400 /xmrstak/net/msgstruct.hpp
parent2c3a3484757f242cf20b8e2ca2d89cfe01f64888 (diff)
parent41eb0ad64e6d003368ccf8f3212f190a829aae10 (diff)
downloadxmr-stak-1dc874c542a23c36dd65ea0f5b9cb65e3c3a572a.zip
xmr-stak-1dc874c542a23c36dd65ea0f5b9cb65e3c3a572a.tar.gz
Merge pull request #115 from fireice-uk/topic-net-ext
Network extensions
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 4d8d845..9065fe3 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