CHAPTER 10Java Programming for Blockchain Applications
You can fool all the people some of the time and some of the people all the time, but you cannot fool all the people all the time.
—Abraham Lincoln
- 10.1 What Is Blockchain?
- 10.2 How Do You Validate a Blockchain?
- 10.3 How Do You Mine the Blocks?
- 10.4 How Does Blockchain Work?
- 10.5 Uses of Blockchain
- 10.6 Issues with Blockchain
- 10.7 Java Blockchain Examples
- 10.8 Java Blockchain Transaction Examples
- 10.9 Java BitcoinJ Example
- 10.10 Java Web3j Examples
- 10.11 Java EthereumJ Examples
- 10.12 Java Ethereum Smart Contract Examples
- 10.13 Go Further: Choosing a Blockchain Platform
- 10.14 Summary
- 10.15 Chapter Review Questions
10.1 What Is Blockchain?
Blockchain is another one of the hottest buzzwords at the moment. What is blockchain, and what has it to do with Bitcoin? Well, blockchain is a technology that was invented in 2008 by the mysterious Satoshi Nakamoto, whose real identity is still unknown. (It is largely believed to be a person or a group of people living in Japan.) The original purpose of blockchain technology was to serve as the distributed, digital, public transaction ledger of the cryptocurrency Bitcoin to solve the double-spending problem. In digital currency, double-spending occurs when the same single digital token can be spent more than once. With a public ledger, when you try to spend the same digital token the second time, the transaction will not be validated. But today, blockchain has shown potential in ...
Get Practical Java Programming for IoT, AI, and Blockchain now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.