diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-05-30 15:37:27 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-05-30 21:48:05 +0100 |
commit | a62daebba523395ad4c446c0c0f77752c2b5319e (patch) | |
tree | 7bf6a4567fe039667f8149fe255ab477b9e4c8b1 /src/wallet/wallet_rpc_server_commands_defs.h | |
parent | wallet: add a sweep_dust command (diff) | |
download | monero-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.h | 18 |
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 |