SlideShare ist ein Scribd-Unternehmen logo
1 von 21
1
Blockchain 101
with Imran Bashir
Outline
• Describing the fundamentals of distributed systems
• Defining blockchain technology
• Understanding how blockchain technology was developed
• Detailing the elements of a blockchain
• Identifying the benefits and limitations of blockchain technology
2
Introduction
Blockchain is a new revolutionary
technology that will change our lives.
In this chapter we will cover the
theory of blockchain technology, and
its technical foundations.
3
Introducing distributed
computing
• A distributed system is a computing paradigm whereby
two or more nodes work with one another, in a
coordinated fashion, to achieve a common outcome.
• A distributed system is modeled in such a way that end
users see it as a single logical platform.
• Examples include clusters and clouds.
4
5
Design of a
distributed system
N4 is a Byzantine node, L2 is broken or a slow network link
6
CAP theorem
This states that a distributed system cannot
have all three of the desired
properties simultaneously; that is:
• Consistency
• Availability
• Partition tolerance
7
Types of faults in
distributed systems
Fail-stop faults (crash faults)
• Where components crash or cease to operate
• Simpler to deal with
Byzantine faults
• Where components are potentially untrustworthy
or malicious
• Difficult to deal with
8
Defining ‘Blockchain’
Layman's definition: Blockchain is an ever-growing, secure,
shared recordkeeping system in which each user of the data
holds a copy of the records, which can only be updated if all
parties involved in a transaction agree to update.
Technical definition: Blockchain is a peer-to-peer distributed
ledger that is cryptographically-secure, append-only, immutable
(extremely hard to change), and updateable only via consensus
or agreement among peers.
9
Blockchain definition
• Peer-to-peer
• Distributed ledger
• Cryptographically secure
• Append only
• Updateable via consensus (consensus-driven)
How did blockchain
technology develop?
• 1991 – Secure timestamping of digital
documents.
• 1992 – Hashcash idea to combat junk emails
• 1994 – S/KEY application for Unix login.
• 1997/2002 – Hashcash
• 2008/2009 – Bitcoin (the first blockchain)
• 1950s – Hash functions
• 1970s – Merkle trees - hashes in a tree structure
• 1970s continued – Research in
distributed systems, consensus, state machine
replication
• 1980s – Hash chains for secure logins
• 1990s – e-Cash for e-payments
12
Architectural view
of Blockchain
13
Genesis block
Transactions &
other data
Block 1
Transactions &
other data
Previous hash
Block 2
Transactions &
other data
Previous hash
. . . . .
Block N
Transactions
& other data
Previous
hash
Generic structure of a
blockchain
14
13
Generic elements of a
blockchain • Addresses
• Accounts
• Transactions
• Blocks
• Peer-to-peer network
• Scripting or programming language
• Virtual machine
• State machine
• Nodes
• Smart contracts
14
How a blockchain works
1. User X transacts with User Y
Smart contract or transfer of value
2. Transaction broadcast 3. Find new block (mining) 4. New block found (mined)
5. Add new block to
the blockchain
Generic block structure
17
16
Benefits of Blockchain
• Decentralization
• Transparency
• Trust
• Immutability
• High availability
• Highly secure
• Simplification of current paradigms
• Faster transactions
• Cost saving
17
Limitations of blockchain
• Scalability
• Adaptability
• Regulation
• Relatively immature technology
• Privacy
Features of a blockchain
• Distributed consensus
• Transaction verification
• Platform for smart contracts
• Transferring value between peers
• Generation of cryptocurrency
• Provider of security
• Immutability
• Uniqueness
20
Exercise
• Think about a scenario where blockchain can solve a
challenge at your place of work or education, or in your
community.
• Read the Bitcoin paper at
https://bitcoin.org/bitcoin.pdf
21
20
Summary
In this presentation, we:
• Covered the design of a distributed system and faults in distributed systems.
• Defined blockchain as a distributed ledger—a replicated digital ledger which is immutable
and updateable only via consensus.
• Introduced precursors to blockchain technology such as hash functions, consensus
mechanisms, Hashcash, and e-cash schemes.
• Explored various elements of a blockchain, such as addresses, peer-to-peer networks,
blocks, and transactions.
• Considered the benefits and limitations of blockchain technology.
Book Links
Amazon:
https://www.amazon.com/Masterin
g-Blockchain-distributed-
consensus-
cryptocurrencies/dp/1839213191
Packt:
https://www.packtpub.com/product
/mastering-blockchain-third-
edition/9781839213199
21

Weitere ähnliche Inhalte

Was ist angesagt?

Block chain technology
Block chain technologyBlock chain technology
Block chain technologyMd. Syful Azam
 
Blockchain Fundamentals - Top Rated for Beginners
Blockchain Fundamentals - Top Rated for Beginners Blockchain Fundamentals - Top Rated for Beginners
Blockchain Fundamentals - Top Rated for Beginners 101 Blockchains
 
Overview of blockchain technology and architecture
Overview of blockchain technology and   architectureOverview of blockchain technology and   architecture
Overview of blockchain technology and architectureEY
 
Blockchain: The New Technology and Its Applications for Libraries
Blockchain: The New Technology and Its Applications for LibrariesBlockchain: The New Technology and Its Applications for Libraries
Blockchain: The New Technology and Its Applications for LibrariesBohyun Kim
 
An Introduction to Blockchain Technology
An Introduction to Blockchain Technology An Introduction to Blockchain Technology
An Introduction to Blockchain Technology Niuversity
 
Blockchain Technology ppt project.pptx
Blockchain Technology ppt project.pptxBlockchain Technology ppt project.pptx
Blockchain Technology ppt project.pptxSahilBansal648873
 
Everything Blockchain Presentation - Feb 2022
Everything Blockchain Presentation -  Feb 2022Everything Blockchain Presentation -  Feb 2022
Everything Blockchain Presentation - Feb 2022RedChip Companies, Inc.
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain TechnologyPalakGulati10
 
IoT and Blockchain Challenges and Risks
IoT and Blockchain Challenges and RisksIoT and Blockchain Challenges and Risks
IoT and Blockchain Challenges and RisksAhmed Banafa
 
Examples of Smart Contracts
Examples of Smart ContractsExamples of Smart Contracts
Examples of Smart Contracts101 Blockchains
 
Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...
Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...
Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...Edureka!
 
Blockchain in Banking, Business and Beyond
Blockchain in Banking, Business and BeyondBlockchain in Banking, Business and Beyond
Blockchain in Banking, Business and BeyondMichael Novak
 

Was ist angesagt? (20)

Block chain technology
Block chain technologyBlock chain technology
Block chain technology
 
Blockchain
BlockchainBlockchain
Blockchain
 
Blockchain use cases
Blockchain use casesBlockchain use cases
Blockchain use cases
 
Blockchain Fundamentals - Top Rated for Beginners
Blockchain Fundamentals - Top Rated for Beginners Blockchain Fundamentals - Top Rated for Beginners
Blockchain Fundamentals - Top Rated for Beginners
 
Overview of blockchain technology and architecture
Overview of blockchain technology and   architectureOverview of blockchain technology and   architecture
Overview of blockchain technology and architecture
 
Smart contracts
Smart contractsSmart contracts
Smart contracts
 
Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to Blockchain
 
Blockchain: The New Technology and Its Applications for Libraries
Blockchain: The New Technology and Its Applications for LibrariesBlockchain: The New Technology and Its Applications for Libraries
Blockchain: The New Technology and Its Applications for Libraries
 
BLOCKCHAIN
BLOCKCHAINBLOCKCHAIN
BLOCKCHAIN
 
An Introduction to Blockchain Technology
An Introduction to Blockchain Technology An Introduction to Blockchain Technology
An Introduction to Blockchain Technology
 
Blockchain by Aman Thakur.pptx
Blockchain by Aman Thakur.pptxBlockchain by Aman Thakur.pptx
Blockchain by Aman Thakur.pptx
 
Blockchain Technology ppt project.pptx
Blockchain Technology ppt project.pptxBlockchain Technology ppt project.pptx
Blockchain Technology ppt project.pptx
 
Blockchain
BlockchainBlockchain
Blockchain
 
Everything Blockchain Presentation - Feb 2022
Everything Blockchain Presentation -  Feb 2022Everything Blockchain Presentation -  Feb 2022
Everything Blockchain Presentation - Feb 2022
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain Technology
 
What is Block chain
What is Block chain What is Block chain
What is Block chain
 
IoT and Blockchain Challenges and Risks
IoT and Blockchain Challenges and RisksIoT and Blockchain Challenges and Risks
IoT and Blockchain Challenges and Risks
 
Examples of Smart Contracts
Examples of Smart ContractsExamples of Smart Contracts
Examples of Smart Contracts
 
Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...
Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...
Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...
 
Blockchain in Banking, Business and Beyond
Blockchain in Banking, Business and BeyondBlockchain in Banking, Business and Beyond
Blockchain in Banking, Business and Beyond
 

Ähnlich wie Blockchain 101 by imran bashir

Blockchain Application Design and Development, and the Case of Programmable M...
Blockchain Application Design and Development, and the Case of Programmable M...Blockchain Application Design and Development, and the Case of Programmable M...
Blockchain Application Design and Development, and the Case of Programmable M...Ingo Weber
 
Blockchain - Things you need to know
Blockchain - Things you need to knowBlockchain - Things you need to know
Blockchain - Things you need to knowNAAPBOOKS
 
Distributed systems and blockchain technology
Distributed systems and blockchain technologyDistributed systems and blockchain technology
Distributed systems and blockchain technologyAlket Cecaj
 
Blockchain Fundamental_KIPMI_2022.02.26.pdf
Blockchain Fundamental_KIPMI_2022.02.26.pdfBlockchain Fundamental_KIPMI_2022.02.26.pdf
Blockchain Fundamental_KIPMI_2022.02.26.pdfadinugroho751867
 
Agile Network India | Block Chain - New usecases | Abhilash Aravind
Agile Network India | Block Chain - New usecases | Abhilash AravindAgile Network India | Block Chain - New usecases | Abhilash Aravind
Agile Network India | Block Chain - New usecases | Abhilash AravindAgileNetwork
 
A Breathless Tour of Blockchain
A Breathless Tour of BlockchainA Breathless Tour of Blockchain
A Breathless Tour of BlockchainEoin Woods
 
Blockchain
BlockchainBlockchain
BlockchainSai Nath
 
Blockchain Technology by : Ali H.Ahmed
Blockchain Technology  by :  Ali H.AhmedBlockchain Technology  by :  Ali H.Ahmed
Blockchain Technology by : Ali H.Ahmedalihassaah1994
 
C13_blockchain introduction public (1).pptx
C13_blockchain introduction public (1).pptxC13_blockchain introduction public (1).pptx
C13_blockchain introduction public (1).pptxhaifaazka
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain TechnologyRashi Singh
 
blockchain .technology.pptx
blockchain .technology.pptxblockchain .technology.pptx
blockchain .technology.pptxAmit Kumar
 
blockchain-introduction-public.pptx
blockchain-introduction-public.pptxblockchain-introduction-public.pptx
blockchain-introduction-public.pptxAyushVerma584677
 
Introduction to Blockchain and Smart Contracts
Introduction to Blockchain and Smart ContractsIntroduction to Blockchain and Smart Contracts
Introduction to Blockchain and Smart ContractsSaad Zaher
 
Introduction to Blockchain Governance Models
Introduction to Blockchain Governance ModelsIntroduction to Blockchain Governance Models
Introduction to Blockchain Governance ModelsGokul Alex
 
Block chain fundamentals and hyperledger
Block chain fundamentals and hyperledgerBlock chain fundamentals and hyperledger
Block chain fundamentals and hyperledgersendhilkumarks
 

Ähnlich wie Blockchain 101 by imran bashir (20)

module-1.pptx
module-1.pptxmodule-1.pptx
module-1.pptx
 
BCT.pptx
BCT.pptxBCT.pptx
BCT.pptx
 
Blockchain Application Design and Development, and the Case of Programmable M...
Blockchain Application Design and Development, and the Case of Programmable M...Blockchain Application Design and Development, and the Case of Programmable M...
Blockchain Application Design and Development, and the Case of Programmable M...
 
Blockchain - Things you need to know
Blockchain - Things you need to knowBlockchain - Things you need to know
Blockchain - Things you need to know
 
Distributed systems and blockchain technology
Distributed systems and blockchain technologyDistributed systems and blockchain technology
Distributed systems and blockchain technology
 
Blockchain Fundamental_KIPMI_2022.02.26.pdf
Blockchain Fundamental_KIPMI_2022.02.26.pdfBlockchain Fundamental_KIPMI_2022.02.26.pdf
Blockchain Fundamental_KIPMI_2022.02.26.pdf
 
Blockchain technology | Bitcoins
Blockchain technology | BitcoinsBlockchain technology | Bitcoins
Blockchain technology | Bitcoins
 
Agile Network India | Block Chain - New usecases | Abhilash Aravind
Agile Network India | Block Chain - New usecases | Abhilash AravindAgile Network India | Block Chain - New usecases | Abhilash Aravind
Agile Network India | Block Chain - New usecases | Abhilash Aravind
 
A Breathless Tour of Blockchain
A Breathless Tour of BlockchainA Breathless Tour of Blockchain
A Breathless Tour of Blockchain
 
Blockchain
BlockchainBlockchain
Blockchain
 
Blockchain Technology by : Ali H.Ahmed
Blockchain Technology  by :  Ali H.AhmedBlockchain Technology  by :  Ali H.Ahmed
Blockchain Technology by : Ali H.Ahmed
 
C13_blockchain introduction public (1).pptx
C13_blockchain introduction public (1).pptxC13_blockchain introduction public (1).pptx
C13_blockchain introduction public (1).pptx
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain Technology
 
blockchain .technology.pptx
blockchain .technology.pptxblockchain .technology.pptx
blockchain .technology.pptx
 
Day 1.pptx
Day 1.pptxDay 1.pptx
Day 1.pptx
 
blockchain-introduction-public.pptx
blockchain-introduction-public.pptxblockchain-introduction-public.pptx
blockchain-introduction-public.pptx
 
Introduction to Blockchain and Smart Contracts
Introduction to Blockchain and Smart ContractsIntroduction to Blockchain and Smart Contracts
Introduction to Blockchain and Smart Contracts
 
BLOCK CHAIN
BLOCK CHAINBLOCK CHAIN
BLOCK CHAIN
 
Introduction to Blockchain Governance Models
Introduction to Blockchain Governance ModelsIntroduction to Blockchain Governance Models
Introduction to Blockchain Governance Models
 
Block chain fundamentals and hyperledger
Block chain fundamentals and hyperledgerBlock chain fundamentals and hyperledger
Block chain fundamentals and hyperledger
 

Kürzlich hochgeladen

DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 

Kürzlich hochgeladen (20)

DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 

Blockchain 101 by imran bashir

  • 2. Outline • Describing the fundamentals of distributed systems • Defining blockchain technology • Understanding how blockchain technology was developed • Detailing the elements of a blockchain • Identifying the benefits and limitations of blockchain technology 2
  • 3. Introduction Blockchain is a new revolutionary technology that will change our lives. In this chapter we will cover the theory of blockchain technology, and its technical foundations. 3
  • 4. Introducing distributed computing • A distributed system is a computing paradigm whereby two or more nodes work with one another, in a coordinated fashion, to achieve a common outcome. • A distributed system is modeled in such a way that end users see it as a single logical platform. • Examples include clusters and clouds. 4
  • 5. 5 Design of a distributed system N4 is a Byzantine node, L2 is broken or a slow network link
  • 6. 6 CAP theorem This states that a distributed system cannot have all three of the desired properties simultaneously; that is: • Consistency • Availability • Partition tolerance
  • 7. 7 Types of faults in distributed systems Fail-stop faults (crash faults) • Where components crash or cease to operate • Simpler to deal with Byzantine faults • Where components are potentially untrustworthy or malicious • Difficult to deal with
  • 8. 8 Defining ‘Blockchain’ Layman's definition: Blockchain is an ever-growing, secure, shared recordkeeping system in which each user of the data holds a copy of the records, which can only be updated if all parties involved in a transaction agree to update. Technical definition: Blockchain is a peer-to-peer distributed ledger that is cryptographically-secure, append-only, immutable (extremely hard to change), and updateable only via consensus or agreement among peers.
  • 9. 9 Blockchain definition • Peer-to-peer • Distributed ledger • Cryptographically secure • Append only • Updateable via consensus (consensus-driven)
  • 10. How did blockchain technology develop? • 1991 – Secure timestamping of digital documents. • 1992 – Hashcash idea to combat junk emails • 1994 – S/KEY application for Unix login. • 1997/2002 – Hashcash • 2008/2009 – Bitcoin (the first blockchain) • 1950s – Hash functions • 1970s – Merkle trees - hashes in a tree structure • 1970s continued – Research in distributed systems, consensus, state machine replication • 1980s – Hash chains for secure logins • 1990s – e-Cash for e-payments 12
  • 12. Genesis block Transactions & other data Block 1 Transactions & other data Previous hash Block 2 Transactions & other data Previous hash . . . . . Block N Transactions & other data Previous hash Generic structure of a blockchain 14
  • 13. 13 Generic elements of a blockchain • Addresses • Accounts • Transactions • Blocks • Peer-to-peer network • Scripting or programming language • Virtual machine • State machine • Nodes • Smart contracts
  • 14. 14 How a blockchain works 1. User X transacts with User Y Smart contract or transfer of value 2. Transaction broadcast 3. Find new block (mining) 4. New block found (mined) 5. Add new block to the blockchain
  • 16. 16 Benefits of Blockchain • Decentralization • Transparency • Trust • Immutability • High availability • Highly secure • Simplification of current paradigms • Faster transactions • Cost saving
  • 17. 17 Limitations of blockchain • Scalability • Adaptability • Regulation • Relatively immature technology • Privacy
  • 18. Features of a blockchain • Distributed consensus • Transaction verification • Platform for smart contracts • Transferring value between peers • Generation of cryptocurrency • Provider of security • Immutability • Uniqueness 20
  • 19. Exercise • Think about a scenario where blockchain can solve a challenge at your place of work or education, or in your community. • Read the Bitcoin paper at https://bitcoin.org/bitcoin.pdf 21
  • 20. 20 Summary In this presentation, we: • Covered the design of a distributed system and faults in distributed systems. • Defined blockchain as a distributed ledger—a replicated digital ledger which is immutable and updateable only via consensus. • Introduced precursors to blockchain technology such as hash functions, consensus mechanisms, Hashcash, and e-cash schemes. • Explored various elements of a blockchain, such as addresses, peer-to-peer networks, blocks, and transactions. • Considered the benefits and limitations of blockchain technology.