aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server_commans_defs.h
diff options
context:
space:
mode:
authorNeozaru <neozaru@mailoo.org>2014-05-25 00:20:46 +0200
committerNeozaru <neozaru@mailoo.org>2014-05-25 00:20:46 +0200
commit17a9ee3f8f2d8af23f9f4f3f27b38fd7f9d90c2b (patch)
tree36ee227e326183cadd8c877d2c7850ab10025663 /src/wallet/wallet_rpc_server_commans_defs.h
parentMerge pull request #1 from monero-project/master (diff)
downloadmonero-17a9ee3f8f2d8af23f9f4f3f27b38fd7f9d90c2b.tar.xz
'getaddress' wallet-rpc command
Diffstat (limited to 'src/wallet/wallet_rpc_server_commans_defs.h')
-rw-r--r--src/wallet/wallet_rpc_server_commans_defs.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/wallet/wallet_rpc_server_commans_defs.h b/src/wallet/wallet_rpc_server_commans_defs.h
index b99d92ca2..cc005b29c 100644
--- a/src/wallet/wallet_rpc_server_commans_defs.h
+++ b/src/wallet/wallet_rpc_server_commans_defs.h
@@ -34,6 +34,24 @@ namespace wallet_rpc
};
};
+ struct COMMAND_RPC_GET_ADDRESS
+ {
+ struct request
+ {
+ BEGIN_KV_SERIALIZE_MAP()
+ END_KV_SERIALIZE_MAP()
+ };
+
+ struct response
+ {
+ std::string address;
+
+ BEGIN_KV_SERIALIZE_MAP()
+ KV_SERIALIZE(address)
+ END_KV_SERIALIZE_MAP()
+ };
+ };
+
struct trnsfer_destination
{
uint64_t amount;