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.
This commit is contained in:
moneromooo-monero
2016-03-26 23:29:29 +00:00
parent 12146daeed
commit 0be6e08dd0
5 changed files with 11 additions and 8 deletions
+1 -1
View File
@@ -347,7 +347,7 @@ namespace tools
try
{
std::vector<wallet2::pending_tx> ptx_vector = m_wallet.create_unmixable_sweep_transactions();
std::vector<wallet2::pending_tx> ptx_vector = m_wallet.create_unmixable_sweep_transactions(req.trusted_daemon);
m_wallet.commit_tx(ptx_vector);