Is the hash of the previous block included in the block header?

1

What the title says above, but for more clarification I am asking whether the hash of the previous block header is part of what is hashed to create the header of the new block? Like what are all the components that are hashed together to get the block header hash?

Thanks.

James P.

Posted 2017-07-11T22:50:49.310

Reputation: 102

possible duplicate of https://bitcoin.stackexchange.com/q/41610/5406, related: https://bitcoin.stackexchange.com/a/13347/5406

– Murch – 2017-07-12T06:11:07.060

Answers

3

The block header is 80 bytes:

  • Version number: 4 bytes
  • Previous block header hash: 32 bytes
  • Merkle root: 32 bytes
  • Timestamp: 4 bytes
  • Bits: 4 bytes
  • Nonce: 4 bytes

The merkle tree hashes all the transactions in the block, the bits field is used to compute the target hash for the header, finally, the nonce is used as a counter to generate new block headers from a given merkle tree.

alcio

Posted 2017-07-11T22:50:49.310

Reputation: 1 194