1
0
mirror of https://github.com/bitcoinbook/bitcoinbook synced 2024-11-22 16:18:11 +00:00

Merge branch 'chapter/Chapter5'

This commit is contained in:
Andreas M. Antonopoulos 2014-05-21 19:48:37 -04:00
commit e1638034d1
5 changed files with 53 additions and 0 deletions

27
ch05.asciidoc Normal file
View File

@ -0,0 +1,27 @@
== Chapter 5 - Transactions
=== Introduction
=== ScriptPubKey and ScriptSig
[[scriptSig and scriptPubKey]]
.Combining scriptSig and scriptPubKey to evaluate a transaction script
image::images/scriptSig_and_scriptPubKey.png["scriptSig_and_scriptPubKey"]
=== Transaction Script Language
=== Stack-Based Script Evaluation
=== Common Transaction Scripts
==== Pay to Public Key Hash
[[P2PubKHash1]]
.Evaluating a script for a Pay-to-Public-Key-Hash transaction (Part 1 of 2)
image::images/Tx_Script_P2PubKeyHash_1.png["Tx_Script_P2PubKeyHash_1"]
[[P2PubKHash2]]
.Evaluating a script for a Pay-to-Public-Key-Hash transaction (Part 2 of 2)
image::images/Tx_Script_P2PubKeyHash_2.png["Tx_Script_P2PubKeyHash_2"]
=== Complex Transaction Scripts
=== P2SH Scripts
=== Multi-Signature Scripts
=== Transaction Malleability

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View File

@ -19,6 +19,10 @@ _The best way to get the right answer on the Internet is not to ask a question,
I hope you can help me find and publish the "right answer" by the time this book is ready to print. I hope you can help me find and publish the "right answer" by the time this book is ready to print.
The early-realease source code is published on Github: https://github.com/aantonop/bitcoinbook
File an "Issue", or fork, modify and create a "Pull Request" with your changes.
=== Why Are There Bugs On The Cover? === Why Are There Bugs On The Cover?
The Leafcutter Ant is a species that exhibits highly complex behavior in a colony super-organism, but each individual ant operates on a set of simple rules driven by social interaction and the exchange of chemical scents (pheromones). Per Wikipedia: "Next to humans, leafcutter ants form the largest and most complex animal societies on Earth." Leafcutter ants don't actually eat leaves, but rather use them to farm a fungus, which is the central food source for the colony. Get that? These ants are farming! The Leafcutter Ant is a species that exhibits highly complex behavior in a colony super-organism, but each individual ant operates on a set of simple rules driven by social interaction and the exchange of chemical scents (pheromones). Per Wikipedia: "Next to humans, leafcutter ants form the largest and most complex animal societies on Earth." Leafcutter ants don't actually eat leaves, but rather use them to farm a fungus, which is the central food source for the colony. Get that? These ants are farming!
@ -181,6 +185,28 @@ transaction::
wallet:: wallet::
((("wallet"))) ((("wallet")))
Software that holds all your addresses. Use it to send bitcoin and manage your keys. Software that holds all your addresses. Use it to send bitcoin and manage your keys.
++++
<?hard-pagebreak?>
++++
== Acknowledgments
=== Early Release Draft (Github Contributions)
Many contributors offered comments, corrections and additions to the early-release draft on Github. Thank you all for your contributions to this book. Notable contributors included the following:
==== (Name - Github ID)
* *Minh T. Nguyen - enderminh: Github contribution editor*
* Eric Winchell - winchell
* Sergej Kotliar - ziggamon
* Erik Wahlström - erikwam
* ishotjr
* Mihail Russu - MihailRussu