Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: KeyserSoze on February 11, 2014, 04:33:53 PM



Title: Question about blockchain size
Post by: KeyserSoze on February 11, 2014, 04:33:53 PM
I'm curious about the effect of these malleable transaction rebroadcasts on the blockchain size. These rebroadcasts stay on the blockchain forever like any other transaction, right? If there were many folks who rebroadcast would the future blockchain grow exponentially with each actor or can a transaction only be rebroadcast once (effectively doubling the blockchain for future transactions)?


Title: Re: Question about blockchain size
Post by: meanig on February 11, 2014, 05:19:04 PM
Only one of the broadcasted transactions will make it to the blockchain. The malleable copies stay in the memory pool of miners for a while until they are deleted to make way for new transactions. Nothing to worry about.


Title: Re: Question about blockchain size
Post by: KeyserSoze on February 11, 2014, 05:25:41 PM
Only one of the broadcasted transactions will make it to the blockchain.

Thank you.


Title: Re: Question about blockchain size
Post by: DannyHamilton on February 14, 2014, 04:06:12 PM
Only one of the broadcasted transactions will make it to the blockchain. The malleable copies stay in the memory pool of miners for a while until they are deleted to make way for new transactions. Nothing to worry about.

Shouldn't the miners drop the malleable copies immediately upon receiving a solved block that spends the same inputs?


Title: Re: Question about blockchain size
Post by: deepceleron on February 14, 2014, 04:57:33 PM
Only one of the broadcasted transactions will make it to the blockchain. The malleable copies stay in the memory pool of miners for a while until they are deleted to make way for new transactions. Nothing to worry about.

Shouldn't the miners drop the malleable copies immediately upon receiving a solved block that spends the same inputs?

Not just miners, for everybody. Once UXTOs are spent in a blockchain-included transaction, any other transaction spending them are invalid. All non-useable transactions will be flushed upon receipt of the new block.

The blockchain only contains blocks, which are the accepted version of transactions that will likely be permanent.