Build a Blockchain from Scratch in Go
- Length: 316 pages
- Edition: 1
- Language: English
- Publication Date: 2021-03-21
Learn how blockchain components work behind the scenes and expand your programming skills and career.
What can you expect?
This eBook is not specific to any particular blockchain. Opposite. It contains various peer-to-peer, blockchain and cryptographical design patterns useful for any software developer who wants to expand his programming career and learn new concepts. Majority of the components are from Bitcoin and Ethereum blockchain implementations.
I can’t promise the blockchain way of programming will be easy, but this eBook will turn you into a blockchain developer, expand your career prospects, and open you up to a whole new community of amazing forward thinkers.
Table of Contents Foreword Why Start Blockchain Development? Getting Started 01 | The MVP Database User 1, Andrej 02 | Mutating Global DB State Dead Party Bonus for BabaYaga 03 | Monolithic Event vs Transaction Andrej Programming Building a Command-Line-Interface (CLI) 04 | Humans Are Greedy Typical business greediness 05 | Why We Need Blockchain BabaYaga Seeks Justice 06 | L'Hash de Immutable How to Program an Immutable Database? Immutability via Hash Functions Implementing the DB Content Hashing 07 | The Blockchain Programming Model Improving Performance of an Immutable DB Batch + Hash + Linked List Blocks How adding a TX into a Block works Migrating from TX.db to BLOCKS.db 08 | Transparent Database Flexible DB Directory Centralized Public HTTP API Deploying TBB Program to AWS Burned-out 09 | It Takes Two Nodes To Tango Distributing the DB to Customers Designing a Peer-to-Peer Sync Algorithm 10 | Programming a Peer-to-Peer DB Sync Algorithm Each Block Has a Number Tell Me Your State Bootstrap Nodes and Peer List The Search for a Peer with New Blocks Give Me Your Blocks or Life! Trust but Verify 11 | The Autonomous Database Brain The P2P Heaven: The Fastest to Rule Them All How does Bitcoin Mining Works? Programming Bitcoin Mining Algorithm The Slow Elephant in the Bitcoin Room How are Bitcoins created? Programming Bitcoin Mining Reward in 4 Steps Writing Tests for Proof of Work Blockchain Releases are Complicated Migrating to PoW DB 12 | Madam/Sir Your Cryptographic Signature Please Hacking a User Balance Current State of Web Authentication Asymmetric Cryptography in Nutshell Blockchain Authentication with go-Ethereum Programming a Cryptocurrency Wallet MySQL vs Blockchain Authorization Madam/Sir, Sign this Database Change Programming Signed Transactions Digital Signature Replay Attack Celebrating a Secure Blockchain 13 | Official TBB Training Ledger Create a new Account Connect your Node to the TBB Training Ledger Query The Blockchain Bar customer balances Request 1000 TBB testing tokens 14 | Bonus: Why a Transaction Costs Gas What's Gas? How much is 1 Gas? Spamming the network Setting a ``Gas Cost'' and a ``Gas Price'' Where do the Gas fees go? Coding the Gas Fees Do you want 1000 TBB testing tokens?
Donate to keep this site alive
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.