aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-11-07 18:50:05 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-11-07 18:59:30 +0000
commitc80f4d416d2a392dbf7c61b500672a6156b4b77d (patch)
treee826151a8a199655b37702ea3bdf0b675c0ed599 /src/wallet/api
parentMerge pull request #1295 (diff)
downloadmonero-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/wallet/api')
0 files changed, 0 insertions, 0 deletions