diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-11-07 18:50:05 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-11-07 18:59:30 +0000 |
commit | c80f4d416d2a392dbf7c61b500672a6156b4b77d (patch) | |
tree | e826151a8a199655b37702ea3bdf0b675c0ed599 /src/crypto/random.c | |
parent | Merge pull request #1295 (diff) | |
download | monero-c80f4d416d2a392dbf7c61b500672a6156b4b77d.tar.xz |
wallet: fix output collision detection for view wallets
View wallets do not have the spend secret key, and are thus
unable to derive key images for incoming outputs. Moreover,
a previous patch set key images to zero as a means to mark
an output as having an unknown key image, so they could be
filled in when importing key images at a later time. That
later patch caused spurious collisions. We now use public
keys to detect duplicate outputs. Public keys obtained from
the blockchain are checked to be identical to the ones
derived locally, so can't be spoofed.
Diffstat (limited to 'src/crypto/random.c')
0 files changed, 0 insertions, 0 deletions