aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server_commans_defs.h
diff options
context:
space:
mode:
authorpaybee <dev@payb.ee>2014-06-02 22:43:11 +0200
committerpaybee <dev@payb.ee>2014-06-02 22:43:11 +0200
commit133019cfc54f4842a030a346418056e513e6c581 (patch)
tree3a03a4efe97972c0bcb46370d4ab5506051d8393 /src/wallet/wallet_rpc_server_commans_defs.h
parentAdded incoming_transfers RPC API method (diff)
parentMerge pull request #21 from Neozaru/master (diff)
downloadmonero-133019cfc54f4842a030a346418056e513e6c581.tar.xz
fixed conflict
Diffstat (limited to 'src/wallet/wallet_rpc_server_commans_defs.h')
-rw-r--r--src/wallet/wallet_rpc_server_commans_defs.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/wallet/wallet_rpc_server_commans_defs.h b/src/wallet/wallet_rpc_server_commans_defs.h
index 7bdb49b2c..7ffbcfc18 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;
@@ -52,12 +70,14 @@ namespace wallet_rpc
uint64_t fee;
uint64_t mixin;
uint64_t unlock_time;
+ std::string payment_id;
BEGIN_KV_SERIALIZE_MAP()
KV_SERIALIZE(destinations)
KV_SERIALIZE(fee)
KV_SERIALIZE(mixin)
KV_SERIALIZE(unlock_time)
+ KV_SERIALIZE(payment_id)
END_KV_SERIALIZE_MAP()
};