diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-08-13 11:35:53 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-08-13 11:36:39 +0200 |
commit | 13d51a2b615b1ee3da083b87e2c99984426d278a (patch) | |
tree | 3d56c9dc1a5dd6b13f9d2748172a7d0d5183666d /src/bench/verify_script.cpp | |
parent | b0d3e9b1025690051d31a0abaf331a7cbb54b650 (diff) | |
parent | 18f690ec2f7eb1b4aa51825bfed0cbfdadc93ac7 (diff) |
Merge #13808: wallet: shuffle coins before grouping, where warranted
18f690ec2f7eb1b4aa51825bfed0cbfdadc93ac7 wallet: shuffle coins before grouping, where warranted (Karl-Johan Alm)
Pull request description:
Coins are randomly shuffled in coin selection to avoid unintentional privacy leaks regarding the user's coin set. For the case where a user has a lot of coins with the same destination, these will be grouped into groups of 10 *before* the shuffling.
It is unclear whether this has any implications at all, but this PR plugs the potential issue, if there ever is one, by shuffling the coins before they are grouped.
Issue brought up in https://github.com/bitcoin/bitcoin/pull/12257#discussion_r204554549
Tree-SHA512: fb50ed4b5fc03ab4853d45b76e1c64476ad5bcd797497179bc37b9262885c974ed6811159fd8e581f1461b6cc6d0a66146f4b70a2777c0f5e818d1322e0edb89
Diffstat (limited to 'src/bench/verify_script.cpp')
0 files changed, 0 insertions, 0 deletions