diff options
author | Riccardo Spagni <ric@spagni.net> | 2015-12-25 21:48:22 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2015-12-25 21:48:25 +0200 |
commit | 719a6a89c63506f129036b07c519dcbd770aeffb (patch) | |
tree | 1dc9792e843f859d74b08e4e06fde923f1d8c63e /src/wallet/wallet_rpc_server_commands_defs.h | |
parent | Merge pull request #560 (diff) | |
parent | changed height to uint64_t (diff) | |
download | monero-719a6a89c63506f129036b07c519dcbd770aeffb.tar.xz |
Merge pull request #557
791e7fb changed height to uint64_t (Brendan Telzrow)
4cd7913 added RPC wallet command getheight (Brendan Telzrow)
Diffstat (limited to 'src/wallet/wallet_rpc_server_commands_defs.h')
-rw-r--r-- | src/wallet/wallet_rpc_server_commands_defs.h | 17 |
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..a20c8b969 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 + { + uint64_t height; + BEGIN_KV_SERIALIZE_MAP() + KV_SERIALIZE(height) + END_KV_SERIALIZE_MAP() + }; + }; + struct transfer_destination { uint64_t amount; |