1 Blockchain basics


This chapter covers

  • Understanding blockchain

  • Discovering decentralized system infrastructure

  • Exploring distributed ledger technology

  • Analyzing trust-enabling protocol

  • Motivating blockchain applications with real-world scenarios

In the latter part of 2008 and early 2009, centralized systems of the world’s financial markets--enabled by large intermediaries such as banks and investment firms--failed and began to crumble. Trust in these systems eroded, and panic set in all over the world with the collapse of financial markets. It was at this juncture that a mysterious person or persons introduced to the world a working model of a peer-to-peer decentralized digital currency system (with no central authority or administration) called Bitcoin. The trust intermediation in this system was realized via software that would later be named blockchain. Blockchain provided the software-based verification, validation, recording, and integrity essentials for currency transfers.

Even though Bitcoin appeared to have launched suddenly in 2009, the idea of a working digital currency has been a quest since the dawn of computing. Bitcoin’s blockchain technology stands on a strong foundation of more than 40 years of scientific research in cryptography, hashing, peer-to-peer networks, and consensus protocols. Figure 1.1 provides a brief history of blockchain, its innovation and robust scientific foundation, and its transformative effect on modern networked systems.

1.1 From Bitcoin to blockchain

1.2 What is a blockchain?

1.3 Blockchain programming

1.3.1 Decentralized infrastructure

1.3.2 Distributed ledger technology

1.3.3 Disintermediation protocol

1.3.4 Trust enabler

1.4 Motivating scenarios

1.4.1 Automatic and consistent data collection

1.4.2 Timely information sharing

1.4.3 Verifiable compliance

1.4.4 Auditable actions for provenance

1.4.5 Guidance for governance

1.4.6 Attribution of actions

1.4.7 Pandemic management

1.5 Retrospective