danicoin/src/wallet
moneromooo-monero c7b96b91ed
wallet: check a key image isn't already present when adding one
If it is, it points to reuse of a tx key, which isn't meant to happen.
If it does, a key image collision means that only one of those
outputs is spendable, so the wallet selects the larger amount,
unless that output was spent already.

This causes a discrepancy betewen reported received inputs and
payment total.

Since tx keys are 256 bits, this should never happen except if
done on purpose, or if a sender uses a bad PRNG.
2016-02-05 16:24:23 +00:00
..
CMakeLists.txt updated copyright year 2015-12-31 08:39:56 +02:00
wallet2.cpp wallet: check a key image isn't already present when adding one 2016-02-05 16:24:23 +00:00
wallet2.h Merge pull request #634 2016-01-31 15:21:45 +02:00
wallet_errors.h wallet: detect and handle failed outgoing transfers 2016-01-29 19:44:48 +00:00
wallet_rpc_server.cpp updated copyright year 2015-12-31 08:39:56 +02:00
wallet_rpc_server.h updated copyright year 2015-12-31 08:39:56 +02:00
wallet_rpc_server_commands_defs.h updated copyright year 2015-12-31 08:39:56 +02:00
wallet_rpc_server_error_codes.h updated copyright year 2015-12-31 08:39:56 +02:00