diff options
| author | Gavin Andresen <[email protected]> | 2013-01-26 14:38:40 -0500 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2013-01-26 14:38:40 -0500 |
| commit | 6f8730752cf92ff8269812c01a6d9d35fff82e75 (patch) | |
| tree | a953b277d1a81881b15449b54d11ad2f3203f841 /src/rpcmining.cpp | |
| parent | Merge pull request #2222 from sipa/check288 (diff) | |
| download | discoin-6f8730752cf92ff8269812c01a6d9d35fff82e75.tar.xz discoin-6f8730752cf92ff8269812c01a6d9d35fff82e75.zip | |
Treat non-final transactions as non-standard
At least one service that accepted zero-confirmation transactions
was vulnerable because an attacker could send a transaction
with a lock time far in the future, and then have plenty of time in
which to get a double-spend mined (perhaps from a miner who wasn't
on the network when the first transaction was broadcast).
That is a variation on the "Finney attack". We still don't
recommend anybody accept 0-confirmation transactions as final
payment for anything. This change keeps non-final transactions
from appearing in the wallet, and, assuming most of the network
accepts this change, will prevent them from being relayed until
they are final.
Diffstat (limited to 'src/rpcmining.cpp')
0 files changed, 0 insertions, 0 deletions