Bitcoin Block Data Structure

This chapter introduces Bitcoin block data structure.

Data Components of Bitcoin Block

Data Properties of Bitcoin Block

Merkle Root 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

Block Hash Calculation in Python

Calculate Double-SHA256 Hash with Java

Conclusion:

Table of Contents

 About This Book

 Introduction of Bitcoin

 Bitcoin Blockchain

 Bitcoin Wallet

 Bitcoin Core

 Bitcoin Transaction

 Bitcoin-Qt - Bitcoin Core GUI

 Bitcoin Mining

 Bitcoin Consensus Rules

Bitcoin Block Data Structure

 Bitcoin Transaction Data Structure

 blockexplorer.com API

 Copay - Bitcoin Wallet

 References

 PDF Printing Version