mirror of
https://github.com/monero-project/monero.git
synced 2025-07-29 13:08:37 -04:00
Fix receive order leakage with tx fluffing
This commit is contained in:
parent
4764d18eeb
commit
e719760253
2 changed files with 15 additions and 8 deletions
|
@ -358,7 +358,10 @@ namespace levin
|
|||
});
|
||||
|
||||
for (auto& connection : connections)
|
||||
{
|
||||
std::sort(connection.first.begin(), connection.first.end()); // don't leak receive order
|
||||
make_payload_send_txs(*zone_->p2p, std::move(connection.first), connection.second, zone_->pad_txs);
|
||||
}
|
||||
|
||||
if (next_flush != std::chrono::steady_clock::time_point::max())
|
||||
fluff_flush::queue(std::move(zone_), next_flush);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue