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-03-26 23:22:57 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-03-26 23:29:29 +0000
commit0be6e08dd0faf5f7e3492652f00b8904e7e8216d (patch)
tree43fc8ecc3bcd436548faf0342a3db5d95dc3f3d3 /src/wallet/wallet_rpc_server_commands_defs.h
parentwallet: change sweep_dust to sweep_unmixable (diff)
downloadmonero-0be6e08dd0faf5f7e3492652f00b8904e7e8216d.tar.xz
wallet: do not leak owned amounts to the daemon unless --trusted-daemon
This will be slower, though more private. New trusted_daemon parameter to the matching RPC call, false by default.
Diffstat (limited to 'src/wallet/wallet_rpc_server_commands_defs.h')
-rw-r--r--src/wallet/wallet_rpc_server_commands_defs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/wallet_rpc_server_commands_defs.h b/src/wallet/wallet_rpc_server_commands_defs.h
index 40d6fd8f8..2c4e26406 100644
--- a/src/wallet/wallet_rpc_server_commands_defs.h
+++ b/src/wallet/wallet_rpc_server_commands_defs.h
@@ -178,9 +178,11 @@ namespace wallet_rpc
struct request
{
bool get_tx_keys;
+ bool trusted_daemon;
BEGIN_KV_SERIALIZE_MAP()
KV_SERIALIZE(get_tx_keys)
+ KV_SERIALIZE(trusted_daemon)
END_KV_SERIALIZE_MAP()
};