Block structure
Terms used in this lesson
- Proof-of-work target
- The maximum header-hash value accepted for a block; lowering it makes valid hashes harder to find.
- Coinbase transaction
- The special first transaction in a Bitcoin block, which claims permitted subsidy and fees and has no ordinary prior-output input.
- Transaction ID
- The identifier produced by hashing a Bitcoin transaction’s non-witness serialization.
- Identifier
- Identifier: a value used to distinguish one request, object, or participant from another.
- SHA-256
- A cryptographic hash function used throughout Bitcoin to produce fixed-size 256-bit digests.
A block header commits to version, prior block, transaction Merkle root, time, target, and nonce.
Loading lesson visuals...
Learn the idea
A Bitcoin block contains a header followed by transactions. The 80-byte header has version, previous-block hash, transaction Merkle root, time, encoded target, and nonce. The previous hash links history, while the Merkle root commits to the ordered transaction list.
Select valid transactions
A miner starts with a coinbase transaction and chooses other transactions whose dependencies and fees fit the candidate block.
Inspect every idea above to open it.
Proof establishes work on the header. Nodes separately validate all transactions and reject a high-work block that violates consensus.
The questions unlock after every required learning activity
Inspect every guided idea, open the worked example, rebuild its mechanism, and complete the deterministic lesson tool. Your progress is saved automatically.