aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server_commands_defs.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-08-19 20:59:44 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-08-19 21:11:48 +0100
commit6c995710d8cdc8dbbb3da2d11dc8dfe335074ec9 (patch)
treead354dd1a0f409e9acfa8959d4faa382d4f94bd1 /src/wallet/wallet_rpc_server_commands_defs.h
parentMerge pull request #379 (diff)
downloadmonero-6c995710d8cdc8dbbb3da2d11dc8dfe335074ec9.tar.xz
make tx keys available to the user
They are also stored in the cache file, to be retrieved using a new get_tx_key command.
Diffstat (limited to 'src/wallet/wallet_rpc_server_commands_defs.h')
-rw-r--r--src/wallet/wallet_rpc_server_commands_defs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wallet/wallet_rpc_server_commands_defs.h b/src/wallet/wallet_rpc_server_commands_defs.h
index 7786ab009..ed62f0cfe 100644
--- a/src/wallet/wallet_rpc_server_commands_defs.h
+++ b/src/wallet/wallet_rpc_server_commands_defs.h
@@ -110,9 +110,11 @@ namespace wallet_rpc
struct response
{
std::string tx_hash;
+ std::string tx_key;
BEGIN_KV_SERIALIZE_MAP()
KV_SERIALIZE(tx_hash)
+ KV_SERIALIZE(tx_key)
END_KV_SERIALIZE_MAP()
};
};
@@ -141,9 +143,11 @@ namespace wallet_rpc
struct response
{
std::list<std::string> tx_hash_list;
+ std::list<std::string> tx_key_list;
BEGIN_KV_SERIALIZE_MAP()
KV_SERIALIZE(tx_hash_list)
+ KV_SERIALIZE(tx_key_list)
END_KV_SERIALIZE_MAP()
};
};
@@ -159,9 +163,11 @@ namespace wallet_rpc
struct response
{
std::list<std::string> tx_hash_list;
+ std::list<std::string> tx_key_list;
BEGIN_KV_SERIALIZE_MAP()
KV_SERIALIZE(tx_hash_list)
+ KV_SERIALIZE(tx_key_list)
END_KV_SERIALIZE_MAP()
};
};