你可以通過這本由比特幣和比特幣編程領域的導師編寫的實踐指導書深入了解比特幣技術。作者向Pytllon程序員和開發(fā)人員展示了如何從零開始編寫比特幣庫。你將學習如何使用這個流行的加密貨幣及區(qū)塊鏈支付系統(tǒng)背后的基礎知識,包括數(shù)學、密碼學、區(qū)塊和交易規(guī)則。
通過《比特幣程序設計(影印版 英文版)》,你可以對比特幣庫所需的各種組件進行編碼,了解這種加密貨幣底層是如何工作的。學會如何創(chuàng)建比特幣交易、從P2P網(wǎng)絡獲取數(shù)據(jù)以及使用網(wǎng)絡協(xié)議發(fā)送交易。無論你是在為公司探索比特幣應用程序,還是在考慮一條新的職業(yè)道路,這本實用指南都能幫你入門。
分析、驗證和創(chuàng)建比特幣交易學習腳本(Script)——比特幣背后的智能合約語言通過每一章的練習從零開始構建一個比特幣庫了解工作量證明如何確保區(qū)塊鏈的安全使用Python3對比特幣編程了解簡化付款驗證和輕錢包的工作原理使用公鑰加密和加密原語
Foreword
Preface
1. Finite Fields
Learning Higher-Level Math
Finite Field Definition
Defining Finite Sets
Constructing a Finite Field in Python
Exercise 1
Modulo Arithmetic
Modulo Arithmetic in Python
Finite Field Addition and Subtraction
Exercise 2
Coding Addition and Subtraction in Python
Exercise 3
Finite Field Multiplication and Exponentiation
Exercise 4
Exercise 5
Coding Multiplication in Python
Exercise 6
Coding Exponentiation in Python
Exercise 7
Finite Field Division
Exercise 8
Exercise 9
Redefining Exponentiation
Conclusion
2. Elliptic Curves
Definition
Coding Elliptic Curves in Python
Exercise 1
Exercise 2
Point Addition
Math of Point Addition
Coding Point Addition
Exercise 3
Point Addition for When xl≠x2
Exercise 4
Coding Point Addition for When xl≠x2
Exercise 5
Point Addition for When P1=P2
Exercise 6
Coding Point Addition for When P1= P2
Exercise 7
Coding One More Exception
Conclusion
3. Elliptic Curve Cryptography
Elliptic Curves over Reals
Elliptic Curves over Finite Fields
Exercise 1
Coding Elliptic Curves over Finite Fields
……