diff options
author | Brendan Telzrow <telzrowb@gmail.com> | 2015-12-23 10:04:04 -0600 |
---|---|---|
committer | Brendan Telzrow <telzrowb@gmail.com> | 2015-12-23 10:04:04 -0600 |
commit | 4cd7913a047b799728d6b04289c45c300c0ff613 (patch) | |
tree | b43332c5263b27ea92d7531b37f2c65601d15dee /src/wallet/wallet_rpc_server_commands_defs.h | |
parent | Merge pull request #556 (diff) | |
download | monero-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.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..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; |