Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: mustyoshi on July 13, 2013, 05:38:24 AM



Title: How many blocks have no unspent outputs?
Post by: mustyoshi on July 13, 2013, 05:38:24 AM
Other than the initial blocks with only the coinbase, do any blocks even have the luxury of having all their transactions being spent by now?


Title: Re: How many blocks have no unspent outputs?
Post by: gmaxwell on July 14, 2013, 11:35:26 PM
I'm sure quite a few do— since there are many with just a couple outputs beyond the coinbase.  But why do you care?


Title: Re: How many blocks have no unspent outputs?
Post by: DeathAndTaxes on July 14, 2013, 11:38:37 PM
Other than the initial blocks with only the coinbase, do any blocks even have the luxury of having all their transactions being spent by now?

As gmaxwell indicated it doesn't really matter.  You can prune the tx in a block which are spent (it doesn't need to be all or nothing).  Regardless you need to keep the block header to validate the chain integrity.