“Developing Blockchain Software”
summary
Explains how Bitcoin (UTXO, mining, longest-chain) and Ripple (2011 consensus ledgers, arbitrary assets) solve double‑spend and cross‑ledger payments, and why C++ is used: move semantics, lambdas, compile‑time polymorphism and header‑only libraries for performance and determinism. Describes PBFT/Byzantine tradeoffs for high‑value atomicity, Interledger escrow that locks then releases across ledgers, a cache strategy that pins hot objects with strong/weak pointers, and NewDB, a key‑value store that targets one IO for misses and two IOs for hits.
AI-written summary · about
chapters (24)
- 0:00Introduction
- 1:22Blockchains
- 8:34Ripple
- 13:50Virtual Assets
- 21:31One Ledger to Rule Them All
- 22:39Inter Ledger
- 28:33Byzantine Generals Problem
- 34:49Blockchain Experts
- 34:59Blockchain Challenges
- 38:41Managing Resources
- 42:21C Content
- 44:41Compiler Time Polymorphism
- 45:13Type Composition
- 45:39Code Isolation
- 46:09Tools
- 46:31Hand Optimization
- 48:02Slicing
- 48:24Solutions
- 49:57Examples
- 52:00NewDB
- 55:07Data
- 56:41Static assert
- 57:39Polymorphic currency
- 58:30Templates
related talks
27mBlockchain Beyond the Hype
24mState of Blockchain
23mBlockchain
40mBlockchain and smart contracts explained (and simplified)
43mSolving Blockchain’s Interoperability Challenges
54mBlockchain – a paradigm shift for business
03mBlockchains and cryptocurrencies: New paradigms for shared data
44mSolving real-world problems with distributed ledger technology
