aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server_commands_defs.h
diff options
context:
space:
mode:
authorBrendan Telzrow <telzrowb@gmail.com>2015-12-23 10:04:04 -0600
committerBrendan Telzrow <telzrowb@gmail.com>2015-12-23 10:04:04 -0600
commit4cd7913a047b799728d6b04289c45c300c0ff613 (patch)
treeb43332c5263b27ea92d7531b37f2c65601d15dee /src/wallet/wallet_rpc_server_commands_defs.h
parentMerge pull request #556 (diff)
downloadmonero-4cd7913a047b799728d6b04289c45c300c0ff613.tar.xz
added RPC wallet command getheight
Diffstat (limited to 'src/wallet/wallet_rpc_server_commands_defs.h')
-rw-r--r--src/wallet/wallet_rpc_server_commands_defs.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/wallet/wallet_rpc_server_commands_defs.h b/src/wallet/wallet_rpc_server_commands_defs.h
index e12c4bfa8..678e2d2ca 100644
--- a/src/wallet/wallet_rpc_server_commands_defs.h
+++ b/src/wallet/wallet_rpc_server_commands_defs.h
@@ -78,6 +78,23 @@ namespace wallet_rpc
};
};
+ struct COMMAND_RPC_GET_HEIGHT
+ {
+ struct request
+ {
+ BEGIN_KV_SERIALIZE_MAP()
+ END_KV_SERIALIZE_MAP()
+ };
+
+ struct response
+ {
+ std::string height;
+ BEGIN_KV_SERIALIZE_MAP()
+ KV_SERIALIZE(height)
+ END_KV_SERIALIZE_MAP()
+ };
+ };
+
struct transfer_destination
{
uint64_t amount;