[Bitcoin-development] Duplicate transactions vulnerability

Pieter Wuille pieter.wuille at gmail.com
Wed Feb 29 23:45:59 UTC 2012


On Wed, Feb 29, 2012 at 11:00:42PM +0000, Ben Reeves wrote:
> I'm not sure. What if they use a coinbase of a block that has already matured?

Indeed; duplicate an old coinbase, fork chain without dupe, and spend the old coinbase.
The 100-blocks maturity will not help against is.

I'm not sure how you intend to fix DisconnectBlock() to prevent this in a backward-
compatible way, though.

-- 
Pieter




More information about the bitcoin-dev mailing list