aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-12-07 21:05:50 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-12-07 21:05:50 +0000
commit6c44f5c6ebca5eb99996694fbfdefd7661a8e51a (patch)
tree56315aad77d2bb9df40ea02586e2e05f96d3eae9 /utils
parentMerge pull request #1403 (diff)
downloadmonero-6c44f5c6ebca5eb99996694fbfdefd7661a8e51a.tar.xz
wallet: send 0 change to a random address where necessary with rct
If a rct transaction would cause no change to be generated, a zero change output is added, and sent to a randomly generated address. This ensures that no transaction will be sent with just one output, which could cause the receiver to be able to determine which of the inputs in the sent rings is the real one. This is very rare, since it requires the sum of outputs to be equal to the sum of outputs plus the fee, which is now a function of the last few blocks.
Diffstat (limited to 'utils')
0 files changed, 0 insertions, 0 deletions