diff options
| author | Pieter Wuille <[email protected]> | 2012-02-17 17:58:02 +0100 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2012-03-03 18:26:36 +0100 |
| commit | a206b0ea12eb4606b93323268fc81a4f1f952531 (patch) | |
| tree | 9691c6cfc013c7efb7692502a5f43b283ba6e42a /src/util.cpp | |
| parent | Updated Mac build process (diff) | |
| download | discoin-a206b0ea12eb4606b93323268fc81a4f1f952531.tar.xz discoin-a206b0ea12eb4606b93323268fc81a4f1f952531.zip | |
Do not allow overwriting unspent transactions (BIP 30)
Introduce the following network rule:
* a block is not valid if it contains a transaction whose hash
already exists in the block chain, unless all that transaction's
outputs were already spent before said block.
Warning: this is effectively a network rule change, with potential
risk for forking the block chain. Leaving this unfixed carries the
same risk however, for attackers that can cause a reorganisation
in part of the network.
Thanks to Russell O'Connor and Ben Reeves.
Diffstat (limited to 'src/util.cpp')
0 files changed, 0 insertions, 0 deletions