aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server_commands_defs.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-07-11 23:14:58 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-08-28 21:29:24 +0100
commite81a2b2cfabfb1ad9aaade752a863f1448fc89cd (patch)
treedb73ec65efcabf1d6d0d9dacda8de58b325d006c /src/wallet/wallet_rpc_server_commands_defs.h
parenttests: add basic tests for simple rct api (diff)
downloadmonero-e81a2b2cfabfb1ad9aaade752a863f1448fc89cd.tar.xz
port get_tx_key/check_tx_key to rct
Diffstat (limited to 'src/wallet/wallet_rpc_server_commands_defs.h')
-rw-r--r--src/wallet/wallet_rpc_server_commands_defs.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/wallet/wallet_rpc_server_commands_defs.h b/src/wallet/wallet_rpc_server_commands_defs.h
index d7f01d9ee..ea92a028e 100644
--- a/src/wallet/wallet_rpc_server_commands_defs.h
+++ b/src/wallet/wallet_rpc_server_commands_defs.h
@@ -132,10 +132,12 @@ namespace wallet_rpc
{
std::string tx_hash;
std::string tx_key;
+ std::list<std::string> amount_keys;
BEGIN_KV_SERIALIZE_MAP()
KV_SERIALIZE(tx_hash)
KV_SERIALIZE(tx_key)
+ KV_SERIALIZE(amount_keys)
END_KV_SERIALIZE_MAP()
};
};
@@ -165,14 +167,25 @@ namespace wallet_rpc
END_KV_SERIALIZE_MAP()
};
+ struct key_list
+ {
+ std::list<std::string> keys;
+
+ BEGIN_KV_SERIALIZE_MAP()
+ KV_SERIALIZE(keys)
+ END_KV_SERIALIZE_MAP()
+ };
+
struct response
{
std::list<std::string> tx_hash_list;
std::list<std::string> tx_key_list;
+ std::list<key_list> amount_key_list;
BEGIN_KV_SERIALIZE_MAP()
KV_SERIALIZE(tx_hash_list)
KV_SERIALIZE(tx_key_list)
+ KV_SERIALIZE(amount_key_list)
END_KV_SERIALIZE_MAP()
};
};
@@ -190,14 +203,25 @@ namespace wallet_rpc
END_KV_SERIALIZE_MAP()
};
+ struct key_list
+ {
+ std::list<std::string> keys;
+
+ BEGIN_KV_SERIALIZE_MAP()
+ KV_SERIALIZE(keys)
+ END_KV_SERIALIZE_MAP()
+ };
+
struct response
{
std::list<std::string> tx_hash_list;
std::list<std::string> tx_key_list;
+ std::list<key_list> amount_key_list;
BEGIN_KV_SERIALIZE_MAP()
KV_SERIALIZE(tx_hash_list)
KV_SERIALIZE(tx_key_list)
+ KV_SERIALIZE(amount_key_list)
END_KV_SERIALIZE_MAP()
};
};
@@ -225,14 +249,25 @@ namespace wallet_rpc
END_KV_SERIALIZE_MAP()
};
+ struct key_list
+ {
+ std::list<std::string> keys;
+
+ BEGIN_KV_SERIALIZE_MAP()
+ KV_SERIALIZE(keys)
+ END_KV_SERIALIZE_MAP()
+ };
+
struct response
{
std::list<std::string> tx_hash_list;
std::list<std::string> tx_key_list;
+ std::list<key_list> amount_key_list;
BEGIN_KV_SERIALIZE_MAP()
KV_SERIALIZE(tx_hash_list)
KV_SERIALIZE(tx_key_list)
+ KV_SERIALIZE(amount_key_list)
END_KV_SERIALIZE_MAP()
};
};