aboutsummaryrefslogtreecommitdiff
path: root/src/miner/simpleminer_protocol_defs.h
diff options
context:
space:
mode:
authormydesktop <dev.mc2@gmail.com>2014-05-03 12:19:43 -0400
committermydesktop <dev.mc2@gmail.com>2014-05-03 12:19:43 -0400
commit333f975760c156727dd7408f87e937af856d8bf1 (patch)
tree1928b27eaac60f0b528f17abbc52d5ad812013d0 /src/miner/simpleminer_protocol_defs.h
parentMerge branch 'master' of github.com:monero-project/bitmonero (diff)
downloadmonero-333f975760c156727dd7408f87e937af856d8bf1.tar.xz
initial [broken] update
Diffstat (limited to 'src/miner/simpleminer_protocol_defs.h')
-rw-r--r--src/miner/simpleminer_protocol_defs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/miner/simpleminer_protocol_defs.h b/src/miner/simpleminer_protocol_defs.h
index 9b70f8cbf..06b6a9053 100644
--- a/src/miner/simpleminer_protocol_defs.h
+++ b/src/miner/simpleminer_protocol_defs.h
@@ -36,10 +36,12 @@ namespace mining
{
std::string login;
std::string pass;
+ std::string agent;
BEGIN_KV_SERIALIZE_MAP()
KV_SERIALIZE(login)
KV_SERIALIZE(pass)
+ KV_SERIALIZE(agent)
END_KV_SERIALIZE_MAP()
};
@@ -82,11 +84,13 @@ namespace mining
{
std::string id;
std::string nonce;
+ std::string result;
std::string job_id;
BEGIN_KV_SERIALIZE_MAP()
KV_SERIALIZE(id)
KV_SERIALIZE(nonce)
+ KV_SERIALIZE(result)
KV_SERIALIZE(job_id)
END_KV_SERIALIZE_MAP()
};