Blockchain Scalability and its Foundations in Distributed Systems
Book information
Description
This practical new book offers the distributed-computing fundamental knowledge for individuals to connect with one another in a more secure and efficient way than with traditional blockchains. These new forms of secure, scalable blockchains promise to replace centralized institutions to connect individuals without the risks of user manipulations or data extortions. The techniques taught herein consist of enhancing blockchain security and making blockchain scalable by relying on the observation that no blockchain can exist without solving the consensus problem. First, the state-of-the-art of consensus protocols are analyzed, hence motivating the need for a new family of consensus protocols offering strong (deterministic) guarantees. Second, a didactic series of classic blockchain vulnerabilities is presented to illustrate the importance of novel designs better suited for the adversarial environment of open networks. These cutting-edge solutions are illustrated through the Redbelly blockchain design, which solves a different problem from the classic Byzantine consensus problem of 1982 and which delivers—in the modern blockchain context—high performance at large scale. Preface Contents Chapter 1 Introduction Chapter 2 Consensus in Blockchain 2.1 A Brief History 2.2 What is Blockchain? 2.2.1 The blockchain abstraction as a directed acyclic graph 2.2.2 Signed transactions 2.2.3 Distributed implementation of the blockchain abstraction 2.3 Double spending 2.3.1 Forks as disagreements on the blocks at a given index 2.3.2 From forks to double spending 2.3.3 How to avoid forks? 2.4 Conclusion 2.5 Bibliographic notes 2.6 Exercises References Chapter 3 Blockchain Fundamentals 3.1 Introduction 3.2 Failures and communication 3.3 Properties of consensus 3.4 Impossibility to solve consensus in asynchronous networks 3.4.1 Failure detectors 3.4.2 Randomized consensus 3.4.3 Deterministic termination 3.4.4 Additional synchrony 3.4.5 Impossibility to solve consensus with too many failures 3.5 Proof of work and mining 3.5.1 Proposing to the consensus 3.5.2 Decided blocks and committed transactions 3.6 Resolving forks 3.7 The 51% Attack 3.8 The GHOST protocol 3.9 Conclusion 3.10 Bibliographic notes 3.11 Exercises References Chapter 4 Consensus Fundamentals 4.1 Introduction 4.2 Consensus without failures 4.2.1 Consensus algorithm without failures and with synchrony 4.2.2 Correctness of the consensus algorithm without failures 4.2.3 Complexities of the consensus algorithm without failures 4.3 Consensus with crash failures 4.3.1 Correctness of the consensus algorithm with crash failures 4.3.2 Complexity of the consensus algorithm with crash failures 4.4 Consensus with Byzantine failures 4.4.1 The problem of consensus with Byzantine failures 4.4.2 The EIG algorithm 4.4.3 Example with n = 4 and f = 1 4.4.4 Complexity of the EIG algorithm 4.5 Conclusion 4.6 Bibliographic notes 4.7 Exercises References Chapter 5 Making Blockchains Secure 5.1 Introduction 5.2 Beyond synchrony 5.3 The Balance Attack 5.4 Double spending in Ethereum 5.4.1 Double spending is easy in case of route hijacking 5.4.2 Partitioning Ethereum mining pools turns out to be hard 5.5 Proof-of-Authority and permissioned sealers of Ethereum 5.5.1 The Aura algorithm 5.5.2 The Attack of the Clones 5.6 Accountability 5.7 Conclusion 5.8 Bibliographic notes 5.9 Exercises References Chapter 6 Making Blockchains Scale 6.1 Introduction 6.2 Consensus without synchrony 6.2.1 The seminal Practical Byzantine Fault Tolerance 6.2.2 Complexities 6.2.3 Changes required by the scale of the consensus network 6.3 Leveraging bandwidth 6.3.1 The time complexity of a leader-based propagation 6.3.2 The time complexity of a leaderless propagation 6.3.3 Bypassing the leader bottleneck with the superblock optimization 6.4 The Set Byzantine Consensus problem 6.5 Democratic Byzantine fault tolerance 6.5.1 The binary Byzantine consensus problem 6.5.2 The binary Byzantine consensus algorithm of DBFT 6.5.3 Safety proof of the binary Byzantine consensus 6.6 Red Belly Blockchain 6.6.1 Reducing the computation at small scale 6.6.2 Leveraging bandwidth at larger scales 6.6.3 Assigning roles to nodes 6.6.4 From DBFT to Red Belly Blockchain 6.6.5 Binary Byzantine consensus of RBBC 6.6.6 Proof of Correctness 6.7 Conclusion 6.8 Bibliographic notes 6.9 Exercises References Chapter 7 Concluding Remarks References Chapter 8 Glossary
Similar books
Networked Systems: First International Conference, NETYS 2013, Marrakech, Morocco, May 2-4, 2013, Revised Selected Papers
2013 · PDF
Middleware 2011: ACM/IFIP/USENIX 12th International Middleware Conference, Lisbon, Portugal, December 12-16, 2011. Proceedings
2011 · PDF
MySQL® Notes for Professionals book
2018 · PDF
MrExcel 2022: Boosting Excel
2022 · PDF
MrExcel 2022: Boosting Excel
2022 · PDF
Session C11: Ancient Cultural Landscapes in South Europe – their Ecological Setting and Evolution, Session C22: Gardeners from South America, Session S04: Agro-Pastoralism and Early Metallurgy Sessions, Session WS29: The Idea of Enclosure in Recent Iberian Prehistory, Session C88: Rhytmes et causalites des dynamiques de l'anthropisation en Europe entre 6500 ET 500 BC: Hypotheses socio-culturelles et/ou climatiques: Proceedings of the XV UISPP World Congress (Lisbon 4-9 September 2006) / Actes du XV Congrès Mondial (Lisbonne 4-9 Septembre 2006) Vol.36
2010 · PDF
THE BRITISH ARMY IN INDIA: ITS PRESERVATION BY AN APPROPRIATE CLOTHING, HOUSING, LOCATING, RECREATIVE EMPLOYMENT, AND HOPEFUL ENCOURAGEMENT OF THE TROOPS. with AN APPENDIX ON INDIA : THE CLIMATE OP ITS HILLS ; THE DEVELOPMENT OF ITS RESODRCBS, INDUSTRY, AND ARTS ; THE ADMINISTRATION OF JUSTICE ; THE BLACK ACT ; THE PROGRESS OF CHRISTIANITY ; THE TRAFFIC IN OPIUM ; THE VALUE OF INDIA ; PERMANENT CAUSES OF DISAFFECTION, AND OF THE RECENT REBELLION ; THE TRADITIONARY POLICY; MISGOVERNMENT BY NATIVE RULERS ; ANNEXATIONS OF THEIR TERRITORY, ETC.
1858 · PDF
Idries Shah 27 Books Collection : A Perfumed Scorpion, A Veiled Gazelle, Caravan of Dreams, Darkest England, Destination Mecca, Evenings with Idries Shah, Knowing How to Know, Learning How to Learn, Letters and Lectures of Idries Shah, Neglected aspects of Sufi study, Observations, Oriental Magic, Reflections, Seeker after Truth, Special Illumination, Special Problems in the study of Sufi ideas, Sufi thought and action, Tales of the Dervishes, The Dermis Probe, The Elephant in the Dark, The Englishman Handbook, Idries Shah Antology, The Magic Monastery, The natives are restless, wisdom of the Idiots PDF.
2022 · PDF