HomePhabricator

Do not allow overwriting unspent transactions (BIP 30)
a206b0ea12ebUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

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.

Details

Provenance
Pieter Wuille <pieter.wuille@gmail.com>Authored on Feb 17 2012, 16:58
deadalnixPushed on May 14 2017, 22:04
Parents
rABC50abb5516da5: Updated Mac build process
Branches
Unknown
Tags
Unknown

Event Timeline

Pieter Wuille <pieter.wuille@gmail.com> committed rABCa206b0ea12eb: Do not allow overwriting unspent transactions (BIP 30) (authored by Pieter Wuille <pieter.wuille@gmail.com>).Mar 3 2012, 17:26