Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Blockchain across Oracle

You're reading from  Blockchain across Oracle

Product type Book
Published in Oct 2018
Publisher Packt
ISBN-13 9781788474290
Pages 530 pages
Edition 1st Edition
Languages
Author (1):
Robert van Molken Robert van Molken
Profile icon Robert van Molken
Toc

Table of Contents (24) Chapters close

Title Page
Packt Upsell
Contributors
Preface
1. An Introduction to the Blockchain 2. How Blockchain Will Disrupt Your Organization 3. Blockchain 101 - Assets, Transactions, and Hashes 4. Blockchain 101 - Blocks, Chains, and Consensus 5. Blockchain 101 - Security, Privacy, and Smart Contracts 6. Understanding the Blockchain Data Flow 7. Public Versus Permissioned Blockchains and their Providers 8. Ethereum Versus Hyperledger 9. Building a Next-Generation Oracle B2B Platform 10. Introducing the Oracle Blockchain Cloud Service 11. Setting Up Your Permissioned Blockchain 12. Designing and Developing Your First Smart Contract 13. Deploying and Testing Your First Smart Contract 14. Configuring, Extending, and Monitoring Your Network 15. Blockchain Across the Financial Services Industry 16. Blockchain Across the Transportation Industry 17. Blockchain Across the Healthcare Industry 18. Future Industry and Technology Directions 1. Other Books You May Enjoy Index

Differences between public and private blockchains


When starting to develop applications to be run on the blockchain, the technologies that you will need depend on whether you will allow anyone to join and write data on your blockchain, or whether only known, (partly) trusted entities will be allowed to join and write data. Generally speaking, there are two kinds of blockchains: public, or permissionless, and private, or permissioned. A public blockchain is not specifically owned by anyone, whereas a private blockchain can be owned by a single entity or by a consortium (group of entities). As explained throughout this chapter, both public and private blockchains use the same technologies, but this is where the similarities end.

  • Public blockchains: When we talk about public blockchains, we generally mean that the distributed ledger is public, and virtually anyone, without having any permissions granted by a central authority, can write and/or read data to the ledger. Since a public blockchain is designed to be trustless (anyone can write to it), and participants don't need anyone's approval to add data to the ledger, it requires advanced mechanisms for arbitrating discrepancies and ways to defend itself against attacks, as there is no authority to decide what happens when someone misbehaves. To secure a public blockchain, anyone can choose to participate in the consensus (validation) process, assisting in validating transactions by determining which ones get added and by verifying the current form and status of the blockchain. Another advantage stemming from the fact that anyone can join a public blockchain (trustless) is that most are secured by crypto-economics, where participants receive economic incentives for the work they do to validate transactions. This makes it more interesting to join, and it creates a fully decentralized network. The downside of a public blockchain is that these mechanisms create more complexity and raise the cost of running this type of blockchain.
  • Private blockchains: Conversely, in a private blockchain, the distributed ledger is only accessible to participants who are known and trusted. The control over who can read verified transactions, who can submit transactions, and who can verify transactions, is done by a preselected set of nodes. Participants can only join after obtaining an invitation or gaining permission. An invitation can be sent by an existing participant, a certificate authority, or by a decision of the entire consortium.

The private blockchain is mandated when a consortium of parties wish to participate in trading, but sometimes do not fully trust one another, or when some information should only be accessible to some of the trading partners. Many of the mechanisms that a public blockchain needs to keep the data tamper-proof are not needed on a private blockchain,but are regulated by legal contracts. This dramatically impacts the technical decisions and changes the building blocks and mechanisms required to run the blockchain. It leads to lower costs and the faster throughput of data, since there are fewer nodes that need to reach consensus. Due to its controlled-access aspect, private blockchainsdeliver increased privacy so that mission-critical applications can also run on the blockchain. The downside of a private blockchain is that you have to decide which participants have the power of granting permissions.

I will discuss the differences between public and private blockchains and their advantages and challenges in more detail in Chapter 7, Public Versus Permissioned Blockchains and Their Providers.

You have been reading a chapter from
Blockchain across Oracle
Published in: Oct 2018 Publisher: Packt ISBN-13: 9781788474290
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime