I've tried doing research on this and found bits and bobs but would like someone to give me a definitive answer please. Is this correct:
Version - Can't be changed
Prev. Block - Can't be changed * please see below
Merkle Root - Can be changed according to amount of transactions and their hashes (I've seen trees of people trying to illustrate on how to
calculate this but fail to understand. Is it as simple as = hash(hash(Tx 1) + hash(Tx 2)) please see below **
Time - Can be changed. 2 hours max + greater than median of past 11 blocks
Bits - Not sure. Is this only adjusted every 2016 blocks and I have to keep to this value eg 3/21/13 8:09:35, 436434426
Nonce - Can be changed. This is incremented + 1 to find correct nonce for block
Yes that is correct. The bits can only change every 2016 blocks at the difficulty retarget.
The coinbase transaction can also have an extranonce which miners use to change the coinbase and thus the merkle root.
* what determines that a certain set of transactions are allocated to a certain previous block (ie does this have to do with the coinbase transaction? What if there are 2 coinbase transaction in this)
This doesn't entirely make sense.
A transaction can only be included in a block once. The miner must have analysed the full blockhain and determined what transactions are already included. Then the next block will be filled with transactions that have not been included. It has nothing to do with the coinbase.
There can only be one coinbase transaction and it just be the first transaction in a block.
T 1 = 7f3f451eb12a38d09f0d1c9064187bff0a6066f3b6cd01ee1f658110a2830b89 =
afc04b2992fe6cdd6024a0c5acb895f46c5fb9056e43ad8505e3e98e94b67dc7
T 2 = e82c735b579d93a07b64692e497487e25c59c944270ee473b0a7e36a0e0ec1e2 =
0f01f48aff2d2c65787bb12f2d380555f5fa1c4106caa65b0b35aa5f651f805f
concatenate + hash = cd3ed269c34d6408fe96c4a70ba002962c9cf442e0cc194dc11c5795b3375446 Is this correct?
Thanks all
What are these hashes of?