Beginning Blockchain a beginner's guide to building Blockchain solutions

Understand the nuts and bolts of Blockchain, its different flavors with simple use cases, and cryptographic fundamentals. You will also learn some design considerations that can help you build custom solutions. Beginning Blockchain is a beginner's guide to understanding the core concepts of Blo...

Full description

Bibliographic Details
Main Authors: Singhal, Bikramaditya, Dhameja, Gautam (Author), Panda, Priyansu Sekhar (Author)
Format: eBook
Language:English
Published: New York, NY Apress 2018
Subjects:
Online Access:
Collection: O'Reilly - Collection details see MPG.ReNa
Table of Contents:
  • Intro; Table of Contents; About the Authors; About the Technical Reviewer; Acknowledgments; Introduction; Chapter 1: Introduction to Blockchain; Backstory of Blockchain; What is Blockchain?; Centralized vs. Decentralized Systems; Centralized Systems; Decentralized Systems; Layers of Blockchain; Application Layer; Execution Layer; Semantic Layer; Propagation Layer; Consensus Layer; Why is Blockchain Important?; Limitations of Centralized Systems; Blockchain Adoption So Far; Blockchain Uses and Use Cases; Summary; References; Chapter 2: How Blockchain Works; Laying the Blockchain Foundation
  • Includes bibliographical references and index
  • CryptographySymmetric Key Cryptography; Kerckhoff's Principle and XOR Function; Stream Ciphers vs. Block Cipher; One-Time Pad; Data Encryption Standard; Advanced Encryption Standard; Challenges in Symmetric Key Cryptography; Cryptographic Hash Functions; A Heads-up on Different Hash Functions; SHA-2; SHA-256 and SHA-512; RIPEMD; SHA-3; Applications of Hash Functions; Code Examples of Hash Functions; MAC and HMAC; Asymmetric Key Cryptography; RSA; Modular Arithmetic; Generation of Key Pairs; Encryption/Decryption Using Key Pair; Digital Signature Algorithm; Elliptic Curve Cryptography
  • Elliptic Curve Digital Signature AlgorithmKey Generation; Signature Generation; Signature Verification; Code Examples of Assymetric Key Cryptography; Diffie-Hellman Key Exchange; Symmetric vs. Asymmetric Key Cryptography; Game Theory; Nash Equilibrium; Prisoner's Dilemma; Byzantine Generals' Problem; Zero-Sum Games; Why to Study Game Theory; Computer Science Engineering; The Blockchain; Merkle Trees; Example Code Snippet for Merkletree; Putting It All Together; Properties of Blockchain Solutions; Immutability; Forgery Resistant; Democratic; Double-Spend Resistant
  • Putting It all TogetherBitcoin Scripts; Bitcoin Transactions Revisited; Scripts; Full Nodes vs. SPVs; Full Nodes; SPVs; Bitcoin Wallets; Summary; References; Chapter 4: How Ethereum Works; From Bitcoin to Ethereum; Ethereum as a Next-Gen Blockchain; Design Philosophy of Ethereum; Enter the Ethereum Blockchain; Ethereum Blockchain; Ethereum Accounts; Advantages of UTXOs; Advantages of Accounts; Account State; Trie Usage; Merkle Patricia Tree; RLP Encoding; Ethereum Transaction and Message Structure; Ethereum State Transaction Function; Gas and Transaction Cost; Ethereum Smart Contracts
  • Consistent State of the LedgerResilient; Auditable; Blockchain Transactions; Distributed Consensus Mechanisms; Proof of Work; Proof of Stake; PBFT; Blockchain Applications; Scaling Blockchain; Off-Chain Computation; Sharding Blockchain State; Summary; References; Chapter 3: How Bitcoin Works; The History of Money; Dawn of Bitcoin; What Is Bitcoin?; Working with Bitcoins; The Bitcoin Blockchain; Block Structure; Merkle Tree; Difficulty Target; The Genesis Block; The Bitcoin Network; Network Discovery for a New Node; Bitcoin Transactions; Consensus and Block Mining; Block Propagation