SlideShare a Scribd company logo
Prabhat Kashyap
Software Consultant
Knoldus Software LLP
Introduction
to
Agenda
● Cryptocurrency
● Blockchain
● Distributed Ledger
● Smart Contracts
● Consensus Algorithm
● Blockchain Technologies
● Use Cases
What is cryptocurrency?
● Crypt-o-currency is a form of digital
money that is designed to be secure and,
in many cases, anonymous.
What is cryptocurrency?
● Crypt-o-currency is a form of digital
money that is designed to be secure and,
in many cases, anonymous.
● The first cryptocurrency was bitcoin,
which was created in 2009 and is still
the best known.
What is cryptocurrency?
● Crypt-o-currency is a form of digital
money that is designed to be secure and,
in many cases, anonymous.
● The first cryptocurrency was bitcoin,
which was created in 2009 and is still
the best known.
● There has been a proliferation of
cryptocurrencies in the past decade and
there are now more than 900 available on
the internet.
Most common cryptocurrencies?
● Bitcoin: Bitcoin was the first and is the most commonly traded
cryptocurrency to date. The currency was developed by Satoshi Nakamoto in
2009, a mysterious figure who developed its blockchain. It has a market
capitalisation of around $45 billion as of July 2017.
Most common cryptocurrencies?
● Bitcoin: Bitcoin was the first and is the most commonly traded
cryptocurrency to date. The currency was developed by Satoshi Nakamoto in
2009, a mysterious figure who developed its blockchain. It has a market
capitalisation of around $45 billion as of July 2017.
● Ethereum: Developed in 2015, ethereum is the currency token used in the
ethereum blockchain, the second most popular and valuable cryptocurrency.
Ethereum has a market capitalisation of around $18bn as of July 2017.
However, ethereum has had a turbulent journey. After a major hack in 2016
it split into two currencies, while its value has in recent months reached
as high as $400 but crashed briefly to as low as 10 cents.
Most common cryptocurrencies?
● Bitcoin: Bitcoin was the first and is the most commonly traded
cryptocurrency to date. The currency was developed by Satoshi Nakamoto in
2009, a mysterious figure who developed its blockchain. It has a market
capitalisation of around $45 billion as of July 2017.
● Ethereum: Developed in 2015, ethereum is the currency token used in the
ethereum blockchain, the second most popular and valuable cryptocurrency.
Ethereum has a market capitalisation of around $18bn as of July 2017.
However, ethereum has had a turbulent journey. After a major hack in 2016
it split into two currencies, while its value has in recent months reached
as high as $400 but crashed briefly to as low as 10 cents.
● Ripple: Ripple is another distributed ledger system that was founded in
2012. Ripple can be used to track more kinds of transactions, not just of
the cryptocurrency. It has been used by banks including Santander and UBS
and has a market capitalisation of around $6.3 billion.
Most common cryptocurrencies?
● Bitcoin: Bitcoin was the first and is the most commonly traded cryptocurrency
to date. The currency was developed by Satoshi Nakamoto in 2009, a
mysterious figure who developed its blockchain. It has a market
capitalisation of around $45 billion as of July 2017.
● Ethereum: Developed in 2015, ethereum is the currency token used in the
ethereum blockchain, the second most popular and valuable cryptocurrency.
Ethereum has a market capitalisation of around $18bn as of July 2017.
However, ethereum has had a turbulent journey. After a major hack in 2016 it
split into two currencies, while its value has in recent months reached as
high as $400 but crashed briefly to as low as 10 cents.
● Ripple: Ripple is another distributed ledger system that was founded in 2012.
Ripple can be used to track more kinds of transactions, not just of the
cryptocurrency. It has been used by banks including Santander and UBS and has
a market capitalisation of around $6.3 billion.
● Litecoin: This currency is most similar in form to bitcoin, but has moved
more quickly to develop new innovations, including faster payments and
processes to allow many more transactions. The total value of all Litecoin is
around $2.1 billion.
Introduction to Blockchains
What is a Blockchain?
● “The blockchain is an incorruptible digital ledger of
economic transactions that can be programmed to
record not just financial transactions but virtually
everything of value.”
● Don & Alex Tapscott, authors Blockchain Revolution
What is a Blockchain?
● “The blockchain is an incorruptible digital ledger of economic
transactions that can be programmed to record not just
financial transactions but virtually everything of value.”
● Don & Alex Tapscott, authors Blockchain Revolution
● A blockchain is a shared ledger where transactions are
permanently recorded by appending blocks. The blockchain
serves as a historical record of all transactions that ever
occurred, from the genesis block to the latest block, hence
the name blockchain.
Introduction to Blockchains
A Distributed Ledger
● At the heart of a blockchain network is a
distributed ledger that records all the
transactions that take place on the network.
A Distributed Ledger
● At the heart of a blockchain network is a
distributed ledger that records all the
transactions that take place on the network.
● A blockchain ledger is often described as
decentralized because it is replicated across
many network participants, each of whom
collaborate in its maintenance.
Smart Contracts
● To support the consistent update of information – and to enable a whole
host of ledger functions (transacting, querying, etc) – a blockchain network
uses smart contracts to provide controlled access to the ledger.
Smart Contracts
● To support the consistent update of information – and to enable a whole
host of ledger functions (transacting, querying, etc) – a blockchain network
uses smart contracts to provide controlled access to the ledger.
● Smart contracts help you exchange money, property, shares, or anything
of value in a transparent, conflict-free way while avoiding the services of a
middleman.
Smart Contracts
● To support the consistent update of information – and to enable a whole
host of ledger functions (transacting, querying, etc) – a blockchain network
uses smart contracts to provide controlled access to the ledger.
● Smart contracts help you exchange money, property, shares, or anything
of value in a transparent, conflict-free way while avoiding the services of a
middleman.
● At core, these automated contracts work like any other computer
program’s if-then statements. They just happen to be doing it in a way that
interacts with real-world assets.
Introduction to Blockchains
Consensus Algorithm
● When we talk about the blockchain,
the first thing that came up in our
mind is the security and the
security because of the blockchain
consensus algorithm.
Consensus Algorithm
● When we talk about the blockchain,
the first thing that came up in our
mind is the security and the
security because of the blockchain
consensus algorithm.
● The ledger transactions
synchronized across the network.
Consensus Algorithm
● When we talk about the blockchain,
the first thing that came up in our
mind is the security and the
security because of the blockchain
consensus algorithm.
● The ledger transactions
synchronized across the network.
● In blockchains, participants in
network verifies the transaction.
Consensus Algorithm
Imagine that several divisions of the Byzantine army are camped outside an enemy city, each division commanded by its own
general. The generals can communicate with one another only by messenger. After observing the enemy, they must decide upon a
common plan of action. However, some of the generals may be traitors, trying to prevent the loyal generals from reaching
agreement. The generals must decide on when to attack the city, but they need a strong majority of their army to attack at
the same time. The generals must have an algorithm to guarantee that (a) all loyal generals decide upon the same plan of
action, and (b) a small number of traitors cannot cause the loyal generals to adopt a bad plan. The loyal generals will all
do what the algorithm says they should, but the traitors may do anything they wish. The algorithm must guarantee condition
(a) regardless of what the traitors do. The loyal generals should not only reach agreement, but should agree upon a
reasonable plan.
Consensus Algorithm
● PBFT - Practical Byzantine Fault Tolerance
Algorithm
Consensus Algorithm
● PBFT - Practical Byzantine Fault Tolerance
Algorithm
● PoW – Proof of Work
PoW
● Let’s say we are going to work on a string
“blockchain” and our target is to find a variation
of the variation of it that SHA-256 hashes to a
value beginning with ‘0000’.
● We vary the string by adding an integer value to
the end called a nonce and incrementing it each
time.
PoW Example
blockchain0 -- bd4824d8ee63fc82392a6441444166d22ed84eaa6dab11d4923075975acab938
blockchain1 -- db0b9c1cb5e9c680dfff7482f1a8efad0e786f41b6b89a758fb26d9e223e0a10
blockchain2 -- 8f0532cd22055fb7599aa48f38501dcd46e61712ab49a02f840f5545830e9260
blockchain3 -- eb61c3724d6da33605084d2d232bba0563cb82f4ad82c101b42f23c2e86277ef
blockchain4 -- 1af101f70897bf501779b7b2e413ae7144aba5b97e24890c71ba2a1d9c518d20
.
.
.
blockchain1038 -- 2eee57eaae45cc6a47c341facfe6cd1368e632cc065df9cb2c37fbe65478e29e
blockchain1039 -- 305c971ed5272a33940a09b72b2c101fdf51f36b96c77c0732ad2ed75319592d
blockchain1040 -- 3f1f04f2146bce225366fbe65da38a5acbde429777b2801e3ba0e6ae3d5c197a
blockchain1041 -- 00007f73e777e83b01302b5fd5bc9905960c6398c7b24d0f2cc6a3e0c5cd3522
Consensus Algorithm
● PBFT - Practical Byzantine Fault Tolerance
Algorithm
● PoW – Proof of Work
● PoS – Proof of Stake
Blockchain Technologies
● Hyperledger
Blockchain Technologies
● Hyperledger
● Ethereum
Blockchain Technologies
● Hyperledger
● Ethereum
● Quorum
Use Case Blockchains
● Supply Chains
● Online Voting
● Land Registries
● Cloud Storage
● and many more ...
References
● Bitcoin
● Blockgeeks
● PDForrest and Ordina Jworks
● Coindesk
● Wikipedia
Introduction to Blockchains

More Related Content

PPTX
EDUCATION ON CRYPTOGRAPHY
ODP
Bitcoin Talk at Rainbow
PDF
Introduction to blockchain and crypto currencies
PDF
Crypto and blockchain 2015
PPTX
Basics on Cryptocurrency and Bitcoin
PDF
Bitcoin, Blockchain and Crypto Contracts - Part 3
PPTX
Cryptocurrency
PDF
Math money
EDUCATION ON CRYPTOGRAPHY
Bitcoin Talk at Rainbow
Introduction to blockchain and crypto currencies
Crypto and blockchain 2015
Basics on Cryptocurrency and Bitcoin
Bitcoin, Blockchain and Crypto Contracts - Part 3
Cryptocurrency
Math money

What's hot (20)

PPTX
Bitcoin Transactions Examples
PPTX
Bitcoin, Blockchain and the Crypto Contracts - Part 2
PDF
Introduction to blockchain and cryptocurrency technologies
PDF
Can we safely adapt the construction of permissionless blockchain to user dem...
PDF
Polkadot ideation
PDF
Are Cryptocurrencies the Future Global Currency System?
PDF
Kyber network de fi whitepaper
PPTX
Ethereum Intro
ODP
Intro to Blockchain - And, by the way, what the heck is proof-of-work?
PDF
Smart contracts & dApps
PPTX
Bitcoin lightning network and ethereum protocols
PPTX
Blockchain Corporate Style
PPTX
Crypto Currency
PDF
Pandora Boxchain: AI & Blockchain Project
PDF
gething started - ethereum & using the geth golang client
PDF
CryptocurrencyProject
PDF
Bitcoin Blockchain - Under the Hood
PDF
From Crypto Kitties to non fungible token to ERC721 standard
PDF
Using data to evaluate the health of cryptonetworks
PPTX
Explain Ethereum smart contract hacking like i am a five
Bitcoin Transactions Examples
Bitcoin, Blockchain and the Crypto Contracts - Part 2
Introduction to blockchain and cryptocurrency technologies
Can we safely adapt the construction of permissionless blockchain to user dem...
Polkadot ideation
Are Cryptocurrencies the Future Global Currency System?
Kyber network de fi whitepaper
Ethereum Intro
Intro to Blockchain - And, by the way, what the heck is proof-of-work?
Smart contracts & dApps
Bitcoin lightning network and ethereum protocols
Blockchain Corporate Style
Crypto Currency
Pandora Boxchain: AI & Blockchain Project
gething started - ethereum & using the geth golang client
CryptocurrencyProject
Bitcoin Blockchain - Under the Hood
From Crypto Kitties to non fungible token to ERC721 standard
Using data to evaluate the health of cryptonetworks
Explain Ethereum smart contract hacking like i am a five
Ad

Similar to Introduction to Blockchains (20)

PPTX
Blockchain, smart contracts - introduction
PDF
Let’s Talk Crypto
PDF
Iceic2019 final presented
PPTX
Transaction speed
PPT
crypto ppt.ppt
PPTX
Final presentation (1)
PDF
LVLUPKL - My Life on The Blockchain
PPTX
OVERVIEW ON CRYPTOCURRENCY
PPTX
Blockchain and Cryptocurrencies
PDF
[ETHCon Korea 2019] Lee heungno 이흥노
PPTX
Cryptocurrency
PDF
2019 blockchain economy
PDF
“As a layperson -let us understand- cryptocurrency and how it works.pdf
PDF
What is a blockchain?
PPTX
Blockchain for NGOs
PPTX
CRYPTO.pptx
PPTX
what is crypto currency.pptx
PPTX
Top 8 blockchain based smart contract platforms
PDF
Cryptocurrency - A Complete Article CQL.pdf
PPTX
How To Pick The Best Crypto Asset To Invest In
Blockchain, smart contracts - introduction
Let’s Talk Crypto
Iceic2019 final presented
Transaction speed
crypto ppt.ppt
Final presentation (1)
LVLUPKL - My Life on The Blockchain
OVERVIEW ON CRYPTOCURRENCY
Blockchain and Cryptocurrencies
[ETHCon Korea 2019] Lee heungno 이흥노
Cryptocurrency
2019 blockchain economy
“As a layperson -let us understand- cryptocurrency and how it works.pdf
What is a blockchain?
Blockchain for NGOs
CRYPTO.pptx
what is crypto currency.pptx
Top 8 blockchain based smart contract platforms
Cryptocurrency - A Complete Article CQL.pdf
How To Pick The Best Crypto Asset To Invest In
Ad

More from Knoldus Inc. (20)

PPTX
Angular Hydration Presentation (FrontEnd)
PPTX
Optimizing Test Execution: Heuristic Algorithm for Self-Healing
PPTX
Self-Healing Test Automation Framework - Healenium
PPTX
Kanban Metrics Presentation (Project Management)
PPTX
Java 17 features and implementation.pptx
PPTX
Chaos Mesh Introducing Chaos in Kubernetes
PPTX
GraalVM - A Step Ahead of JVM Presentation
PPTX
Nomad by HashiCorp Presentation (DevOps)
PPTX
Nomad by HashiCorp Presentation (DevOps)
PPTX
DAPR - Distributed Application Runtime Presentation
PPTX
Introduction to Azure Virtual WAN Presentation
PPTX
Introduction to Argo Rollouts Presentation
PPTX
Intro to Azure Container App Presentation
PPTX
Insights Unveiled Test Reporting and Observability Excellence
PPTX
Introduction to Splunk Presentation (DevOps)
PPTX
Code Camp - Data Profiling and Quality Analysis Framework
PPTX
AWS: Messaging Services in AWS Presentation
PPTX
Amazon Cognito: A Primer on Authentication and Authorization
PPTX
ZIO Http A Functional Approach to Scalable and Type-Safe Web Development
PPTX
Managing State & HTTP Requests In Ionic.
Angular Hydration Presentation (FrontEnd)
Optimizing Test Execution: Heuristic Algorithm for Self-Healing
Self-Healing Test Automation Framework - Healenium
Kanban Metrics Presentation (Project Management)
Java 17 features and implementation.pptx
Chaos Mesh Introducing Chaos in Kubernetes
GraalVM - A Step Ahead of JVM Presentation
Nomad by HashiCorp Presentation (DevOps)
Nomad by HashiCorp Presentation (DevOps)
DAPR - Distributed Application Runtime Presentation
Introduction to Azure Virtual WAN Presentation
Introduction to Argo Rollouts Presentation
Intro to Azure Container App Presentation
Insights Unveiled Test Reporting and Observability Excellence
Introduction to Splunk Presentation (DevOps)
Code Camp - Data Profiling and Quality Analysis Framework
AWS: Messaging Services in AWS Presentation
Amazon Cognito: A Primer on Authentication and Authorization
ZIO Http A Functional Approach to Scalable and Type-Safe Web Development
Managing State & HTTP Requests In Ionic.

Recently uploaded (20)

PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
KodekX | Application Modernization Development
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
Spectroscopy.pptx food analysis technology
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PPT
Teaching material agriculture food technology
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Electronic commerce courselecture one. Pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Understanding_Digital_Forensics_Presentation.pptx
MYSQL Presentation for SQL database connectivity
Review of recent advances in non-invasive hemoglobin estimation
The Rise and Fall of 3GPP – Time for a Sabbatical?
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Unlocking AI with Model Context Protocol (MCP)
KodekX | Application Modernization Development
Spectral efficient network and resource selection model in 5G networks
Spectroscopy.pptx food analysis technology
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Per capita expenditure prediction using model stacking based on satellite ima...
“AI and Expert System Decision Support & Business Intelligence Systems”
20250228 LYD VKU AI Blended-Learning.pptx
The AUB Centre for AI in Media Proposal.docx
Teaching material agriculture food technology
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Electronic commerce courselecture one. Pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...

Introduction to Blockchains

  • 1. Prabhat Kashyap Software Consultant Knoldus Software LLP Introduction to
  • 2. Agenda ● Cryptocurrency ● Blockchain ● Distributed Ledger ● Smart Contracts ● Consensus Algorithm ● Blockchain Technologies ● Use Cases
  • 3. What is cryptocurrency? ● Crypt-o-currency is a form of digital money that is designed to be secure and, in many cases, anonymous.
  • 4. What is cryptocurrency? ● Crypt-o-currency is a form of digital money that is designed to be secure and, in many cases, anonymous. ● The first cryptocurrency was bitcoin, which was created in 2009 and is still the best known.
  • 5. What is cryptocurrency? ● Crypt-o-currency is a form of digital money that is designed to be secure and, in many cases, anonymous. ● The first cryptocurrency was bitcoin, which was created in 2009 and is still the best known. ● There has been a proliferation of cryptocurrencies in the past decade and there are now more than 900 available on the internet.
  • 6. Most common cryptocurrencies? ● Bitcoin: Bitcoin was the first and is the most commonly traded cryptocurrency to date. The currency was developed by Satoshi Nakamoto in 2009, a mysterious figure who developed its blockchain. It has a market capitalisation of around $45 billion as of July 2017.
  • 7. Most common cryptocurrencies? ● Bitcoin: Bitcoin was the first and is the most commonly traded cryptocurrency to date. The currency was developed by Satoshi Nakamoto in 2009, a mysterious figure who developed its blockchain. It has a market capitalisation of around $45 billion as of July 2017. ● Ethereum: Developed in 2015, ethereum is the currency token used in the ethereum blockchain, the second most popular and valuable cryptocurrency. Ethereum has a market capitalisation of around $18bn as of July 2017. However, ethereum has had a turbulent journey. After a major hack in 2016 it split into two currencies, while its value has in recent months reached as high as $400 but crashed briefly to as low as 10 cents.
  • 8. Most common cryptocurrencies? ● Bitcoin: Bitcoin was the first and is the most commonly traded cryptocurrency to date. The currency was developed by Satoshi Nakamoto in 2009, a mysterious figure who developed its blockchain. It has a market capitalisation of around $45 billion as of July 2017. ● Ethereum: Developed in 2015, ethereum is the currency token used in the ethereum blockchain, the second most popular and valuable cryptocurrency. Ethereum has a market capitalisation of around $18bn as of July 2017. However, ethereum has had a turbulent journey. After a major hack in 2016 it split into two currencies, while its value has in recent months reached as high as $400 but crashed briefly to as low as 10 cents. ● Ripple: Ripple is another distributed ledger system that was founded in 2012. Ripple can be used to track more kinds of transactions, not just of the cryptocurrency. It has been used by banks including Santander and UBS and has a market capitalisation of around $6.3 billion.
  • 9. Most common cryptocurrencies? ● Bitcoin: Bitcoin was the first and is the most commonly traded cryptocurrency to date. The currency was developed by Satoshi Nakamoto in 2009, a mysterious figure who developed its blockchain. It has a market capitalisation of around $45 billion as of July 2017. ● Ethereum: Developed in 2015, ethereum is the currency token used in the ethereum blockchain, the second most popular and valuable cryptocurrency. Ethereum has a market capitalisation of around $18bn as of July 2017. However, ethereum has had a turbulent journey. After a major hack in 2016 it split into two currencies, while its value has in recent months reached as high as $400 but crashed briefly to as low as 10 cents. ● Ripple: Ripple is another distributed ledger system that was founded in 2012. Ripple can be used to track more kinds of transactions, not just of the cryptocurrency. It has been used by banks including Santander and UBS and has a market capitalisation of around $6.3 billion. ● Litecoin: This currency is most similar in form to bitcoin, but has moved more quickly to develop new innovations, including faster payments and processes to allow many more transactions. The total value of all Litecoin is around $2.1 billion.
  • 11. What is a Blockchain? ● “The blockchain is an incorruptible digital ledger of economic transactions that can be programmed to record not just financial transactions but virtually everything of value.” ● Don & Alex Tapscott, authors Blockchain Revolution
  • 12. What is a Blockchain? ● “The blockchain is an incorruptible digital ledger of economic transactions that can be programmed to record not just financial transactions but virtually everything of value.” ● Don & Alex Tapscott, authors Blockchain Revolution ● A blockchain is a shared ledger where transactions are permanently recorded by appending blocks. The blockchain serves as a historical record of all transactions that ever occurred, from the genesis block to the latest block, hence the name blockchain.
  • 14. A Distributed Ledger ● At the heart of a blockchain network is a distributed ledger that records all the transactions that take place on the network.
  • 15. A Distributed Ledger ● At the heart of a blockchain network is a distributed ledger that records all the transactions that take place on the network. ● A blockchain ledger is often described as decentralized because it is replicated across many network participants, each of whom collaborate in its maintenance.
  • 16. Smart Contracts ● To support the consistent update of information – and to enable a whole host of ledger functions (transacting, querying, etc) – a blockchain network uses smart contracts to provide controlled access to the ledger.
  • 17. Smart Contracts ● To support the consistent update of information – and to enable a whole host of ledger functions (transacting, querying, etc) – a blockchain network uses smart contracts to provide controlled access to the ledger. ● Smart contracts help you exchange money, property, shares, or anything of value in a transparent, conflict-free way while avoiding the services of a middleman.
  • 18. Smart Contracts ● To support the consistent update of information – and to enable a whole host of ledger functions (transacting, querying, etc) – a blockchain network uses smart contracts to provide controlled access to the ledger. ● Smart contracts help you exchange money, property, shares, or anything of value in a transparent, conflict-free way while avoiding the services of a middleman. ● At core, these automated contracts work like any other computer program’s if-then statements. They just happen to be doing it in a way that interacts with real-world assets.
  • 20. Consensus Algorithm ● When we talk about the blockchain, the first thing that came up in our mind is the security and the security because of the blockchain consensus algorithm.
  • 21. Consensus Algorithm ● When we talk about the blockchain, the first thing that came up in our mind is the security and the security because of the blockchain consensus algorithm. ● The ledger transactions synchronized across the network.
  • 22. Consensus Algorithm ● When we talk about the blockchain, the first thing that came up in our mind is the security and the security because of the blockchain consensus algorithm. ● The ledger transactions synchronized across the network. ● In blockchains, participants in network verifies the transaction.
  • 23. Consensus Algorithm Imagine that several divisions of the Byzantine army are camped outside an enemy city, each division commanded by its own general. The generals can communicate with one another only by messenger. After observing the enemy, they must decide upon a common plan of action. However, some of the generals may be traitors, trying to prevent the loyal generals from reaching agreement. The generals must decide on when to attack the city, but they need a strong majority of their army to attack at the same time. The generals must have an algorithm to guarantee that (a) all loyal generals decide upon the same plan of action, and (b) a small number of traitors cannot cause the loyal generals to adopt a bad plan. The loyal generals will all do what the algorithm says they should, but the traitors may do anything they wish. The algorithm must guarantee condition (a) regardless of what the traitors do. The loyal generals should not only reach agreement, but should agree upon a reasonable plan.
  • 24. Consensus Algorithm ● PBFT - Practical Byzantine Fault Tolerance Algorithm
  • 25. Consensus Algorithm ● PBFT - Practical Byzantine Fault Tolerance Algorithm ● PoW – Proof of Work
  • 26. PoW ● Let’s say we are going to work on a string “blockchain” and our target is to find a variation of the variation of it that SHA-256 hashes to a value beginning with ‘0000’. ● We vary the string by adding an integer value to the end called a nonce and incrementing it each time.
  • 27. PoW Example blockchain0 -- bd4824d8ee63fc82392a6441444166d22ed84eaa6dab11d4923075975acab938 blockchain1 -- db0b9c1cb5e9c680dfff7482f1a8efad0e786f41b6b89a758fb26d9e223e0a10 blockchain2 -- 8f0532cd22055fb7599aa48f38501dcd46e61712ab49a02f840f5545830e9260 blockchain3 -- eb61c3724d6da33605084d2d232bba0563cb82f4ad82c101b42f23c2e86277ef blockchain4 -- 1af101f70897bf501779b7b2e413ae7144aba5b97e24890c71ba2a1d9c518d20 . . . blockchain1038 -- 2eee57eaae45cc6a47c341facfe6cd1368e632cc065df9cb2c37fbe65478e29e blockchain1039 -- 305c971ed5272a33940a09b72b2c101fdf51f36b96c77c0732ad2ed75319592d blockchain1040 -- 3f1f04f2146bce225366fbe65da38a5acbde429777b2801e3ba0e6ae3d5c197a blockchain1041 -- 00007f73e777e83b01302b5fd5bc9905960c6398c7b24d0f2cc6a3e0c5cd3522
  • 28. Consensus Algorithm ● PBFT - Practical Byzantine Fault Tolerance Algorithm ● PoW – Proof of Work ● PoS – Proof of Stake
  • 32. Use Case Blockchains ● Supply Chains ● Online Voting ● Land Registries ● Cloud Storage ● and many more ...
  • 33. References ● Bitcoin ● Blockgeeks ● PDForrest and Ordina Jworks ● Coindesk ● Wikipedia

Editor's Notes

  • #25: In 1999, Miguel Castro and Barbara Liskov introduced the “Practical Byzantine Fault Tolerance” (PBFT) algorithm, which provides high-performance Byzantine state machine replication, processing thousands of requests per second with sub-millisecond increases in latency.