Bitcoin Tutorials - Herong's Tutorial Examples - v1.06, by Herong Yang
Bitcoin Block Data Structure
This chapter introduces Bitcoin block data structure.
Data Components of Bitcoin Block
Data Properties of Bitcoin Block
Calculate Double-SHA256 Hash with Python
Verify Merkle Root of 2 Transactions
Verify Merkle Root of 7 Transactions
Data Structure of Bitcoin Block
"getblock blockhash 0" - Serialized Hex Block Data
Block Hash Calculation Algorithm
Takeaways:
Table of Contents