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-05-30 15:37:27 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-05-30 21:48:05 +0100
commita62daebba523395ad4c446c0c0f77752c2b5319e (patch)
tree7bf6a4567fe039667f8149fe255ab477b9e4c8b1 /src/wallet/wallet_rpc_server_commands_defs.h
parentwallet: add a sweep_dust command (diff)
downloadmonero-a62daebba523395ad4c446c0c0f77752c2b5319e.tar.xz
wallet_rpc_server: add a sweep_dust RPC command as well
Diffstat (limited to 'src/wallet/wallet_rpc_server_commands_defs.h')
-rw-r--r--src/wallet/wallet_rpc_server_commands_defs.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/wallet/wallet_rpc_server_commands_defs.h b/src/wallet/wallet_rpc_server_commands_defs.h
index 35783a189..ecb3cc5e9 100644
--- a/src/wallet/wallet_rpc_server_commands_defs.h
+++ b/src/wallet/wallet_rpc_server_commands_defs.h
@@ -146,6 +146,24 @@ namespace wallet_rpc
};
};
+ struct COMMAND_RPC_SWEEP_DUST
+ {
+ struct request
+ {
+ BEGIN_KV_SERIALIZE_MAP()
+ END_KV_SERIALIZE_MAP()
+ };
+
+ struct response
+ {
+ std::list<std::string> tx_hash_list;
+
+ BEGIN_KV_SERIALIZE_MAP()
+ KV_SERIALIZE(tx_hash_list)
+ END_KV_SERIALIZE_MAP()
+ };
+ };
+
struct COMMAND_RPC_STORE
{
struct request