Post
Topic
Board Beginners & Help
Re: What are the transactions of a merkle tree for an *unsolved* block?
by
Maged
on 02/09/2011, 21:46:58 UTC
The question now is: How can the block have the generation transaction when generation has happened yet?
It's much simpler than you think it is. First off, a block is generated by your client locally using whatever transactions it knows and feels like using, as well as a transaction for yourself to claim the block reward plus fees. Your client then attempts to "solve" this block. Only if it is "solved", does whatever was in the block matter to the rest of the network.

Put simply, your client always assumes that it will find a block first until it doesn't. Then it just moves on to the next one.

I hope this makes sense....