wallet2: do not repeatedly ask for pool txes sent to us

This lets a passive attacker with access to the network link
between node and wallet perform traffic analysis to deduce
when an idle wallet receives a transaction.

Reported by Tramèr et al.
This commit is contained in:
moneromooo-monero 2019-10-15 09:12:24 +00:00
parent 4c9fd8d86d
commit 97ae7bb5cb
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -2968,11 +2968,6 @@ void wallet2::update_pool_state(bool refreshed)
LOG_PRINT_L1("We sent that one");
}
}
else
{
LOG_PRINT_L1("Already saw that one, it's for us");
txids.push_back({txid, true});
}
}
// get those txes