aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/core_rpc_server_commands_defs.h
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-08-19 17:33:08 -0500
committerluigi1111 <luigi1111w@gmail.com>2019-08-19 17:33:08 -0500
commit56b98c7003e0f758d6ea6e89897726ead36b27aa (patch)
tree65a0801538b5212bcc7068f058c5ef6f9a9d25da /src/rpc/core_rpc_server_commands_defs.h
parentMerge pull request #5727 (diff)
parentrpc: get_block_template add optional extra_nonce (diff)
downloadmonero-56b98c7003e0f758d6ea6e89897726ead36b27aa.tar.xz
Merge pull request #5728
6560bfa rpc: get_block_template add optional extra_nonce (jtgrassie)
Diffstat (limited to 'src/rpc/core_rpc_server_commands_defs.h')
-rw-r--r--src/rpc/core_rpc_server_commands_defs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rpc/core_rpc_server_commands_defs.h b/src/rpc/core_rpc_server_commands_defs.h
index 7ae0c77b2..05bfb1a6a 100644
--- a/src/rpc/core_rpc_server_commands_defs.h
+++ b/src/rpc/core_rpc_server_commands_defs.h
@@ -924,11 +924,13 @@ namespace cryptonote
uint64_t reserve_size; //max 255 bytes
std::string wallet_address;
std::string prev_block;
+ std::string extra_nonce;
BEGIN_KV_SERIALIZE_MAP()
KV_SERIALIZE(reserve_size)
KV_SERIALIZE(wallet_address)
KV_SERIALIZE(prev_block)
+ KV_SERIALIZE(extra_nonce)
END_KV_SERIALIZE_MAP()
};
typedef epee::misc_utils::struct_init<request_t> request;