Bitcoin Tutorials - Herong's Tutorial Examples
∟Bitcoin Transaction Data Structure
This chapter introduces Bitcoin transaction data structure.
Data Properties of Bitcoin Transaction
Data Structure of Bitcoin Raw Transaction Format
Decode Bitcoin Raw Transaction Format
Data Structure of Coinbase Transaction
Calculate Transaction ID
Takeaways:
- Bitcoin transaction has a list of inputs and a list of outputs.
- A coinbase transaction is used to collect mining reward by the miner,
so it has a fake input.
- An input of a non-coinbase transaction must refer to a unspent output
of an old transaction and a signature from the sender.
- An output of a transaction must refer to a Bitcoin account address.
- The transaction ID is the Double-SHA256 hash of the raw transaction data.
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
Bitcoin Blockchain APIs
Copay - Bitcoin Wallet
Archived Tutorials
References
Full Version in PDF/EPUB