Unit 2 – Technologies Borrowed in Blockchain · 18
Blocks and Block Structure
A block contains a header and an ordered set of transactions. In Bitcoin, the header includes such fields as the previous block hash, Merkle root, timestamp, difficulty target and nonce; the exact structure varies across chains.
Animated diagram
A block is a bound page: the header is its index card and the transaction list is the page’s contents
The idea in one line
Make the invisible feel visible.
A block contains a header and an ordered set of transactions. In Bitcoin, the header includes such fields as the previous block hash, Merkle root, timestamp, difficulty target and nonce; the exact structure varies across chains.
Real-life lens
Think of it like this
A block is a bound page: the header is its index card and the transaction list is the page’s contents.
Under the hood
How it works, step by step
Start with the idea
A block contains a header and an ordered set of transactions. In Bitcoin, the header includes such fields as the previous block hash, Merkle root, timestamp, difficulty target and nonce; the exact structure varies across chains.
Follow the example
Bitcoin nodes check a candidate block’s header proof of work, previous-block link, Merkle root, transactions and consensus rules.
Notice the benefit
Batching records makes it possible to summarize and link many transactions efficiently.
Check the limitation
A block format is protocol-specific, and compact metadata does not remove the need to validate its transactions.
Make it concrete
Blocks and Block Structure in practice
Blocks and Block Structure in practice
Bitcoin nodes check a candidate block’s header proof of work, previous-block link, Merkle root, transactions and consensus rules.
Key point: A block format is protocol-specific, and compact metadata does not remove the need to validate its transactions.
Balanced view
Advantages & disadvantages
Advantages
- Batching records makes it possible to summarize and link many transactions efficiently.
Disadvantages
- A block format is protocol-specific, and compact metadata does not remove the need to validate its transactions.
Keep these close
Takeaways & common traps
What to remember
- A block contains a header and an ordered set of transactions. In Bitcoin, the header includes such fields as the previous block hash, Merkle root, timestamp, difficulty target and nonce; the exact structure varies across chains.
- Batching records makes it possible to summarize and link many transactions efficiently.
- A block format is protocol-specific, and compact metadata does not remove the need to validate its transactions.
Watch out for
- Do not assume blocks and block structure guarantees more than its design can prove.
- Do not ignore the trade-off: A block format is protocol-specific, and compact metadata does not remove the need to validate its transactions.
Quick check
Questions people ask
Why is blocks and block structure useful?
Batching records makes it possible to summarize and link many transactions efficiently.
What is an important limitation?
A block format is protocol-specific, and compact metadata does not remove the need to validate its transactions.