SlideShare a Scribd company logo
The Blockchain
Technology
The Next Internet?
———————
Alket Cecaj PhD
Understanding Blockchain Technology
Understanding distributed systems is essential in order to
understand blockchain technology.
Blockchain at its core is a distributed system, more precisely is a dece
Distributed systems are a computing paradigm whereby two or
more nodes work with each other in a coordinated fashion in
order to achieve a common outcome
Distributed Systems
In a distributed system a node is an individual player
Nodes are capable of sending messages to and from each
other
Nodes can be honest, faulty or malicious and have their own
memory and processor
A node that can exhibit an arbitrary or malicious behavior is
also known as a Byzantine node.
A Byzantine node can be detrimental to the operation of the
network because of its behavior
Distributed Systems and the Blockchain Technology
The main challenge in distributed systems design is coordination
between nodes and fault tolerance. Even if some of the nodes
become faulty the d.s. should continue to work flawlessy in order
to achieve the desired results.
Design Challenges in Distributed Systems and
CAP Theorem
• Any distributed system cannot have Consistency,
Availability, and Partition tolerance simultaneously
Cap Theorem and the Blockchain
• It seems that the CAP theorem is violated in blockchain but this is
not true.
• In blockchain the Consistency is sacrificed in favor of Availability and
Partition tolerance
• In the most famous blockchain application, bitcoin, Consistency is
not achieved simultaneously with Partition Tolerance and Availability
• In Bitcoin blockchain consistency is achieved as a result of validation
from multiple nodes over time.
• For this purpose the concept of mining was introduced, which
facilities the achievement of consensus through a mechanism called
PoW (Proof of Work)
Introduction to Blockchain Technology
• The blockchain technology definition highly depends on how you
look at it. Business view or technical view.
• The blockchain technology is a peer-to-peer distributed ledger that
is cryptographically secure, append only, immutable and up-
dateable only via consensus among peers
• Different consensus mechanisms allow the nodes to agree on the
new state of the distributed ledger.
Blockchain technology under different
perspectives:network
Blockchain is a layer of a
distributed peer-to-peer
network running on top of the
Internet, just like SMTP,
HTTP, or FTP running on top
of TCP/IP.
Blockchain technology under different
perspectives: business
• The Blockchain technology as a platform whereby
peers can exchange values using transactions
without the need for a central trusted arbitrator.
• A powerful concept which has a tsunamic potential
as it allows for decentralized consensus where no
central authority is needed.
Blockchain technology under different
perspectives: data structure
• Blockchain is a data structure just like a linked list that
uses hash pointers instead of normal pointers. Hash
pointers are used to point to the previous block.
Blockchain Elements
• Addresses are unique identifiers that are used in a transaction
on the blockchain to denote senders and recipients.
• A transaction is the fundamental unit of a blockchain and
represents a transfer of value from one address to another.
• A block = multiple transactions, previous block hash (hash
pointer), timestamp, and nonce.
• A node in a blockchain network can have different roles. It can
propose and validate transactions and perform mining. Make
simple payments etc..
• A smart contract is a program that runs on top of the
blockchain and encapsulate the business logic to be executed
when certain conditions are met. A very desirable feature due
to the flexibility and power it provides to
Features of a blockchain
• Distributed consensus enables a blockchain to present a single
version of the truth without the requirement of a central authority
• Transactions posted from nodes are verified based on a
predetermined set of rules. Only valid transactions are selected for
inclusion in a block
• A blockchain is a platform where programs can run that execute
business logic on behalf of the users, the so called smart contracts
• Blockchain enables the transfer of value between its users via
tokens. Tokens can be thought of as a carrier of value
• This is an optional feature depending on the type of blockchain
used. A blockchain can generate cryptocurrency as an incentive to
its miners who validate the transactions and spend resources in
order to secure the blockchain.
Blockchain Types
• Public Blockchain
• Private Blockchain
• Semi-private Blockchain
• Sidechain
• Tokenized Blockchain
• Tokenless Blockchain
Consensus Mechanisms
• The choice of the consensus mechanism is conditioned by the
type of blockchain.
• Two types of consensus mechanisms
➢ Proof-based
➢ Votes based
Consensus Mechanisms
• Proof of work
• Proof of stake
• Delegated Proof of Stake
• Proof of Elapsed Time
• Deposit-based consensus
• Proof of importance
• Federated consensus or federated Byzantine consensus
Consensus Mechanisms and Performance
Votes based Proof based
Speed Good Poor
Scalability Moderate Good
Finality Good Poor
Blockchain Demo
There is a great demo showing how a blockchain
works and in particular it explains concepts like
cryptography, hashing of a transaction, elements of a
block and how they are appended to the blockchain
etc..
The demo can be found here
https://anders.com/blockchain/hash.html
Example – Bitcoin
• The Bitcoin blockchain: understanding the
blockchain technology through its most famous
application, bitcoin.
Bitcoin Transactions
Bitcoin Transactions
Bitcoin Transactions
The math behind digital signatures
Account balances
Mining
Bitcoin generation and Halving
The reward of miners, every 4 years gets halved. At the
end there will be only 21 million bitcoins
Ad

More Related Content

What's hot (20)

Consensus Algorithms.pptx
Consensus Algorithms.pptxConsensus Algorithms.pptx
Consensus Algorithms.pptx
Rajapriya82
 
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
Bohyun Kim
 
Blockchain concepts
Blockchain conceptsBlockchain concepts
Blockchain concepts
Murughan Palaniachari
 
Disadvantages of Blockchain
Disadvantages of BlockchainDisadvantages of Blockchain
Disadvantages of Blockchain
101 Blockchains
 
The Blockchain - The Technology behind Bitcoin
The Blockchain - The Technology behind Bitcoin The Blockchain - The Technology behind Bitcoin
The Blockchain - The Technology behind Bitcoin
Jérôme Kehrli
 
Blockchain in cyber security
Blockchain in cyber securityBlockchain in cyber security
Blockchain in cyber security
Prateek Panda
 
Blockchain 101 | Blockchain Tutorial | Blockchain Smart Contracts | Blockchai...
Blockchain 101 | Blockchain Tutorial | Blockchain Smart Contracts | Blockchai...Blockchain 101 | Blockchain Tutorial | Blockchain Smart Contracts | Blockchai...
Blockchain 101 | Blockchain Tutorial | Blockchain Smart Contracts | Blockchai...
Edureka!
 
Blockchain
BlockchainBlockchain
Blockchain
Sai Nath
 
Blockchain Introduction Presentation
Blockchain Introduction PresentationBlockchain Introduction Presentation
Blockchain Introduction Presentation
Amr Alaa Yassen
 
Blockchain ppt
Blockchain pptBlockchain ppt
Blockchain ppt
abhi sharma
 
How does blockchain work
How does blockchain workHow does blockchain work
How does blockchain work
Shishir Aryal
 
Blockchain and Decentralization
Blockchain and DecentralizationBlockchain and Decentralization
Blockchain and Decentralization
Priyab Satoshi
 
An Introduction to Blockchain
An Introduction to BlockchainAn Introduction to Blockchain
An Introduction to Blockchain
NexThoughts Technologies
 
Ppt on blockchain technology
Ppt on blockchain technologyPpt on blockchain technology
Ppt on blockchain technology
RATAN AGARWALA
 
Smart contracts
Smart contractsSmart contracts
Smart contracts
removed_5ef8f4100b1d7e8bfe3d2dc557fe10d0
 
Understanding Blockchain: Distributed Ledger Technology
Understanding Blockchain: Distributed Ledger TechnologyUnderstanding Blockchain: Distributed Ledger Technology
Understanding Blockchain: Distributed Ledger Technology
Suraj Kumar Jana
 
Block chain technology and its applications
Block chain technology and its applications Block chain technology and its applications
Block chain technology and its applications
ABHISHEK JAIN
 
Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to Blockchain
Malak Abu Hammad
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain Technology
Nimmy Solomon
 
Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to Blockchain
AIMDek Technologies
 
Consensus Algorithms.pptx
Consensus Algorithms.pptxConsensus Algorithms.pptx
Consensus Algorithms.pptx
Rajapriya82
 
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
Bohyun Kim
 
Disadvantages of Blockchain
Disadvantages of BlockchainDisadvantages of Blockchain
Disadvantages of Blockchain
101 Blockchains
 
The Blockchain - The Technology behind Bitcoin
The Blockchain - The Technology behind Bitcoin The Blockchain - The Technology behind Bitcoin
The Blockchain - The Technology behind Bitcoin
Jérôme Kehrli
 
Blockchain in cyber security
Blockchain in cyber securityBlockchain in cyber security
Blockchain in cyber security
Prateek Panda
 
Blockchain 101 | Blockchain Tutorial | Blockchain Smart Contracts | Blockchai...
Blockchain 101 | Blockchain Tutorial | Blockchain Smart Contracts | Blockchai...Blockchain 101 | Blockchain Tutorial | Blockchain Smart Contracts | Blockchai...
Blockchain 101 | Blockchain Tutorial | Blockchain Smart Contracts | Blockchai...
Edureka!
 
Blockchain
BlockchainBlockchain
Blockchain
Sai Nath
 
Blockchain Introduction Presentation
Blockchain Introduction PresentationBlockchain Introduction Presentation
Blockchain Introduction Presentation
Amr Alaa Yassen
 
How does blockchain work
How does blockchain workHow does blockchain work
How does blockchain work
Shishir Aryal
 
Blockchain and Decentralization
Blockchain and DecentralizationBlockchain and Decentralization
Blockchain and Decentralization
Priyab Satoshi
 
Ppt on blockchain technology
Ppt on blockchain technologyPpt on blockchain technology
Ppt on blockchain technology
RATAN AGARWALA
 
Understanding Blockchain: Distributed Ledger Technology
Understanding Blockchain: Distributed Ledger TechnologyUnderstanding Blockchain: Distributed Ledger Technology
Understanding Blockchain: Distributed Ledger Technology
Suraj Kumar Jana
 
Block chain technology and its applications
Block chain technology and its applications Block chain technology and its applications
Block chain technology and its applications
ABHISHEK JAIN
 
Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to Blockchain
Malak Abu Hammad
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain Technology
Nimmy Solomon
 

Similar to Distributed systems and blockchain technology (20)

chapter01.pptxlllllllllllllllllllllllllllllllllllll
chapter01.pptxlllllllllllllllllllllllllllllllllllllchapter01.pptxlllllllllllllllllllllllllllllllllllll
chapter01.pptxlllllllllllllllllllllllllllllllllllll
Rishabh332761
 
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
adinugroho751867
 
Blockchain definition ,introduction ,types and mechanism used
Blockchain definition ,introduction ,types and mechanism usedBlockchain definition ,introduction ,types and mechanism used
Blockchain definition ,introduction ,types and mechanism used
PushpalathaB10
 
Presentation about Blockchain technology
Presentation about Blockchain technologyPresentation about Blockchain technology
Presentation about Blockchain technology
Zakaria Hossain
 
Blockchain (1).pptx
Blockchain (1).pptxBlockchain (1).pptx
Blockchain (1).pptx
MeetPBarasara
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain Technology
Rashi Singh
 
Architecture and operations.pptx
Architecture and operations.pptxArchitecture and operations.pptx
Architecture and operations.pptx
harshitmittal737363
 
BLOCK CHAIN
BLOCK CHAINBLOCK CHAIN
BLOCK CHAIN
Saima Mustafa
 
BCT.pptx
BCT.pptxBCT.pptx
BCT.pptx
ssuser3a47cb
 
module-1.pptx
module-1.pptxmodule-1.pptx
module-1.pptx
Raju385766
 
Block chain and its basic terminology include mining
Block chain and its basic terminology include miningBlock chain and its basic terminology include mining
Block chain and its basic terminology include mining
AvinashAvuthu2
 
Introduction to Blockchain Governance Models
Introduction to Blockchain Governance ModelsIntroduction to Blockchain Governance Models
Introduction to Blockchain Governance Models
Gokul Alex
 
Introduction to Blockchain ..................
Introduction to  Blockchain ..................Introduction to  Blockchain ..................
Introduction to Blockchain ..................
shdeshmukhcomp
 
Blockchain Ecosystem and Cryptocurrency Regulations
Blockchain Ecosystem and Cryptocurrency RegulationsBlockchain Ecosystem and Cryptocurrency Regulations
Blockchain Ecosystem and Cryptocurrency Regulations
Amir Rafati
 
New Microsoft PowerPoint Presentation.pptx
New Microsoft PowerPoint Presentation.pptxNew Microsoft PowerPoint Presentation.pptx
New Microsoft PowerPoint Presentation.pptx
meena466141
 
Introduction to Blockchain Technology
Introduction to Blockchain TechnologyIntroduction to Blockchain Technology
Introduction to Blockchain Technology
Md. Hasan Basri (Angel)
 
Blockchain
BlockchainBlockchain
Blockchain
SarveshKumar177
 
Blockchain 101 by imran bashir
Blockchain 101  by imran bashirBlockchain 101  by imran bashir
Blockchain 101 by imran bashir
Imran Bashir
 
BlockChain (1).pptxbhbhbhhbhjbhbhgghbhjbhhg
BlockChain (1).pptxbhbhbhhbhjbhbhgghbhjbhhgBlockChain (1).pptxbhbhbhhbhjbhbhgghbhjbhhg
BlockChain (1).pptxbhbhbhhbhjbhbhgghbhjbhhg
DevkumarKardamVIT
 
slides-nancy-liao-brief-intro-to-blockchain-iac-101217.pdf
slides-nancy-liao-brief-intro-to-blockchain-iac-101217.pdfslides-nancy-liao-brief-intro-to-blockchain-iac-101217.pdf
slides-nancy-liao-brief-intro-to-blockchain-iac-101217.pdf
RavjjkNsbsjs
 
chapter01.pptxlllllllllllllllllllllllllllllllllllll
chapter01.pptxlllllllllllllllllllllllllllllllllllllchapter01.pptxlllllllllllllllllllllllllllllllllllll
chapter01.pptxlllllllllllllllllllllllllllllllllllll
Rishabh332761
 
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
adinugroho751867
 
Blockchain definition ,introduction ,types and mechanism used
Blockchain definition ,introduction ,types and mechanism usedBlockchain definition ,introduction ,types and mechanism used
Blockchain definition ,introduction ,types and mechanism used
PushpalathaB10
 
Presentation about Blockchain technology
Presentation about Blockchain technologyPresentation about Blockchain technology
Presentation about Blockchain technology
Zakaria Hossain
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain Technology
Rashi Singh
 
Architecture and operations.pptx
Architecture and operations.pptxArchitecture and operations.pptx
Architecture and operations.pptx
harshitmittal737363
 
Block chain and its basic terminology include mining
Block chain and its basic terminology include miningBlock chain and its basic terminology include mining
Block chain and its basic terminology include mining
AvinashAvuthu2
 
Introduction to Blockchain Governance Models
Introduction to Blockchain Governance ModelsIntroduction to Blockchain Governance Models
Introduction to Blockchain Governance Models
Gokul Alex
 
Introduction to Blockchain ..................
Introduction to  Blockchain ..................Introduction to  Blockchain ..................
Introduction to Blockchain ..................
shdeshmukhcomp
 
Blockchain Ecosystem and Cryptocurrency Regulations
Blockchain Ecosystem and Cryptocurrency RegulationsBlockchain Ecosystem and Cryptocurrency Regulations
Blockchain Ecosystem and Cryptocurrency Regulations
Amir Rafati
 
New Microsoft PowerPoint Presentation.pptx
New Microsoft PowerPoint Presentation.pptxNew Microsoft PowerPoint Presentation.pptx
New Microsoft PowerPoint Presentation.pptx
meena466141
 
Blockchain 101 by imran bashir
Blockchain 101  by imran bashirBlockchain 101  by imran bashir
Blockchain 101 by imran bashir
Imran Bashir
 
BlockChain (1).pptxbhbhbhhbhjbhbhgghbhjbhhg
BlockChain (1).pptxbhbhbhhbhjbhbhgghbhjbhhgBlockChain (1).pptxbhbhbhhbhjbhbhgghbhjbhhg
BlockChain (1).pptxbhbhbhhbhjbhbhgghbhjbhhg
DevkumarKardamVIT
 
slides-nancy-liao-brief-intro-to-blockchain-iac-101217.pdf
slides-nancy-liao-brief-intro-to-blockchain-iac-101217.pdfslides-nancy-liao-brief-intro-to-blockchain-iac-101217.pdf
slides-nancy-liao-brief-intro-to-blockchain-iac-101217.pdf
RavjjkNsbsjs
 
Ad

More from Alket Cecaj (9)

Presentation of PhD thesis on Location Data Fusion
Presentation of PhD thesis on Location Data Fusion Presentation of PhD thesis on Location Data Fusion
Presentation of PhD thesis on Location Data Fusion
Alket Cecaj
 
Data fusion for city live event detection
Data fusion for city live event detectionData fusion for city live event detection
Data fusion for city live event detection
Alket Cecaj
 
Joomla
Joomla Joomla
Joomla
Alket Cecaj
 
Elaborazione e rappresentazione grafica e interattiva dell'informazione
Elaborazione e rappresentazione grafica e interattiva dell'informazioneElaborazione e rappresentazione grafica e interattiva dell'informazione
Elaborazione e rappresentazione grafica e interattiva dell'informazione
Alket Cecaj
 
Collective awareness for human ict collaboration in smart cities
Collective awareness for human ict collaboration in smart citiesCollective awareness for human ict collaboration in smart cities
Collective awareness for human ict collaboration in smart cities
Alket Cecaj
 
Algorithms presentation
Algorithms presentationAlgorithms presentation
Algorithms presentation
Alket Cecaj
 
Re-identification of Anomized CDR datasets using Social networlk Data
Re-identification of Anomized CDR datasets using Social networlk DataRe-identification of Anomized CDR datasets using Social networlk Data
Re-identification of Anomized CDR datasets using Social networlk Data
Alket Cecaj
 
Information Fusion Methods for Location Data Analysis
Information Fusion Methods for Location Data AnalysisInformation Fusion Methods for Location Data Analysis
Information Fusion Methods for Location Data Analysis
Alket Cecaj
 
Bridges innovcampdk
Bridges innovcampdkBridges innovcampdk
Bridges innovcampdk
Alket Cecaj
 
Presentation of PhD thesis on Location Data Fusion
Presentation of PhD thesis on Location Data Fusion Presentation of PhD thesis on Location Data Fusion
Presentation of PhD thesis on Location Data Fusion
Alket Cecaj
 
Data fusion for city live event detection
Data fusion for city live event detectionData fusion for city live event detection
Data fusion for city live event detection
Alket Cecaj
 
Elaborazione e rappresentazione grafica e interattiva dell'informazione
Elaborazione e rappresentazione grafica e interattiva dell'informazioneElaborazione e rappresentazione grafica e interattiva dell'informazione
Elaborazione e rappresentazione grafica e interattiva dell'informazione
Alket Cecaj
 
Collective awareness for human ict collaboration in smart cities
Collective awareness for human ict collaboration in smart citiesCollective awareness for human ict collaboration in smart cities
Collective awareness for human ict collaboration in smart cities
Alket Cecaj
 
Algorithms presentation
Algorithms presentationAlgorithms presentation
Algorithms presentation
Alket Cecaj
 
Re-identification of Anomized CDR datasets using Social networlk Data
Re-identification of Anomized CDR datasets using Social networlk DataRe-identification of Anomized CDR datasets using Social networlk Data
Re-identification of Anomized CDR datasets using Social networlk Data
Alket Cecaj
 
Information Fusion Methods for Location Data Analysis
Information Fusion Methods for Location Data AnalysisInformation Fusion Methods for Location Data Analysis
Information Fusion Methods for Location Data Analysis
Alket Cecaj
 
Bridges innovcampdk
Bridges innovcampdkBridges innovcampdk
Bridges innovcampdk
Alket Cecaj
 
Ad

Recently uploaded (20)

Relations and Functions – Understanding the Foundation of Mathematics.pptx
Relations and Functions – Understanding the Foundation of Mathematics.pptxRelations and Functions – Understanding the Foundation of Mathematics.pptx
Relations and Functions – Understanding the Foundation of Mathematics.pptx
srmvalliammaicse2
 
Compiler Design_Code generation techniques.pptx
Compiler Design_Code generation techniques.pptxCompiler Design_Code generation techniques.pptx
Compiler Design_Code generation techniques.pptx
RushaliDeshmukh2
 
Compiler Design_Code Optimization tech.pptx
Compiler Design_Code Optimization tech.pptxCompiler Design_Code Optimization tech.pptx
Compiler Design_Code Optimization tech.pptx
RushaliDeshmukh2
 
Routing Riverdale - A New Bus Connection
Routing Riverdale - A New Bus ConnectionRouting Riverdale - A New Bus Connection
Routing Riverdale - A New Bus Connection
jzb7232
 
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdfRICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
MohamedAbdelkader115
 
NOMA analysis in 5G communication systems
NOMA analysis in 5G communication systemsNOMA analysis in 5G communication systems
NOMA analysis in 5G communication systems
waleedali330654
 
Machine Learning basics POWERPOINT PRESENETATION
Machine Learning basics POWERPOINT PRESENETATIONMachine Learning basics POWERPOINT PRESENETATION
Machine Learning basics POWERPOINT PRESENETATION
DarrinBright1
 
The Gaussian Process Modeling Module in UQLab
The Gaussian Process Modeling Module in UQLabThe Gaussian Process Modeling Module in UQLab
The Gaussian Process Modeling Module in UQLab
Journal of Soft Computing in Civil Engineering
 
Compiler Design_Syntax Directed Translation.pptx
Compiler Design_Syntax Directed Translation.pptxCompiler Design_Syntax Directed Translation.pptx
Compiler Design_Syntax Directed Translation.pptx
RushaliDeshmukh2
 
Reese McCrary_ The Role of Perseverance in Engineering Success.pdf
Reese McCrary_ The Role of Perseverance in Engineering Success.pdfReese McCrary_ The Role of Perseverance in Engineering Success.pdf
Reese McCrary_ The Role of Perseverance in Engineering Success.pdf
Reese McCrary
 
最新版加拿大魁北克大学蒙特利尔分校毕业证(UQAM毕业证书)原版定制
最新版加拿大魁北克大学蒙特利尔分校毕业证(UQAM毕业证书)原版定制最新版加拿大魁北克大学蒙特利尔分校毕业证(UQAM毕业证书)原版定制
最新版加拿大魁北克大学蒙特利尔分校毕业证(UQAM毕业证书)原版定制
Taqyea
 
seninarppt.pptx1bhjiikjhggghjykoirgjuyhhhjj
seninarppt.pptx1bhjiikjhggghjykoirgjuyhhhjjseninarppt.pptx1bhjiikjhggghjykoirgjuyhhhjj
seninarppt.pptx1bhjiikjhggghjykoirgjuyhhhjj
AjijahamadKhaji
 
6th International Conference on Big Data, Machine Learning and IoT (BMLI 2025)
6th International Conference on Big Data, Machine Learning and IoT (BMLI 2025)6th International Conference on Big Data, Machine Learning and IoT (BMLI 2025)
6th International Conference on Big Data, Machine Learning and IoT (BMLI 2025)
ijflsjournal087
 
Resistance measurement and cfd test on darpa subboff model
Resistance measurement and cfd test on darpa subboff modelResistance measurement and cfd test on darpa subboff model
Resistance measurement and cfd test on darpa subboff model
INDIAN INSTITUTE OF TECHNOLOGY KHARAGPUR
 
Surveying through global positioning system
Surveying through global positioning systemSurveying through global positioning system
Surveying through global positioning system
opneptune5
 
SICPA: Fabien Keller - background introduction
SICPA: Fabien Keller - background introductionSICPA: Fabien Keller - background introduction
SICPA: Fabien Keller - background introduction
fabienklr
 
Design of Variable Depth Single-Span Post.pdf
Design of Variable Depth Single-Span Post.pdfDesign of Variable Depth Single-Span Post.pdf
Design of Variable Depth Single-Span Post.pdf
Kamel Farid
 
Compiler Design_Intermediate code generation new ppt.pptx
Compiler Design_Intermediate code generation new ppt.pptxCompiler Design_Intermediate code generation new ppt.pptx
Compiler Design_Intermediate code generation new ppt.pptx
RushaliDeshmukh2
 
Evonik Overview Visiomer Specialty Methacrylates.pdf
Evonik Overview Visiomer Specialty Methacrylates.pdfEvonik Overview Visiomer Specialty Methacrylates.pdf
Evonik Overview Visiomer Specialty Methacrylates.pdf
szhang13
 
Prediction of Flexural Strength of Concrete Produced by Using Pozzolanic Mate...
Prediction of Flexural Strength of Concrete Produced by Using Pozzolanic Mate...Prediction of Flexural Strength of Concrete Produced by Using Pozzolanic Mate...
Prediction of Flexural Strength of Concrete Produced by Using Pozzolanic Mate...
Journal of Soft Computing in Civil Engineering
 
Relations and Functions – Understanding the Foundation of Mathematics.pptx
Relations and Functions – Understanding the Foundation of Mathematics.pptxRelations and Functions – Understanding the Foundation of Mathematics.pptx
Relations and Functions – Understanding the Foundation of Mathematics.pptx
srmvalliammaicse2
 
Compiler Design_Code generation techniques.pptx
Compiler Design_Code generation techniques.pptxCompiler Design_Code generation techniques.pptx
Compiler Design_Code generation techniques.pptx
RushaliDeshmukh2
 
Compiler Design_Code Optimization tech.pptx
Compiler Design_Code Optimization tech.pptxCompiler Design_Code Optimization tech.pptx
Compiler Design_Code Optimization tech.pptx
RushaliDeshmukh2
 
Routing Riverdale - A New Bus Connection
Routing Riverdale - A New Bus ConnectionRouting Riverdale - A New Bus Connection
Routing Riverdale - A New Bus Connection
jzb7232
 
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdfRICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
MohamedAbdelkader115
 
NOMA analysis in 5G communication systems
NOMA analysis in 5G communication systemsNOMA analysis in 5G communication systems
NOMA analysis in 5G communication systems
waleedali330654
 
Machine Learning basics POWERPOINT PRESENETATION
Machine Learning basics POWERPOINT PRESENETATIONMachine Learning basics POWERPOINT PRESENETATION
Machine Learning basics POWERPOINT PRESENETATION
DarrinBright1
 
Compiler Design_Syntax Directed Translation.pptx
Compiler Design_Syntax Directed Translation.pptxCompiler Design_Syntax Directed Translation.pptx
Compiler Design_Syntax Directed Translation.pptx
RushaliDeshmukh2
 
Reese McCrary_ The Role of Perseverance in Engineering Success.pdf
Reese McCrary_ The Role of Perseverance in Engineering Success.pdfReese McCrary_ The Role of Perseverance in Engineering Success.pdf
Reese McCrary_ The Role of Perseverance in Engineering Success.pdf
Reese McCrary
 
最新版加拿大魁北克大学蒙特利尔分校毕业证(UQAM毕业证书)原版定制
最新版加拿大魁北克大学蒙特利尔分校毕业证(UQAM毕业证书)原版定制最新版加拿大魁北克大学蒙特利尔分校毕业证(UQAM毕业证书)原版定制
最新版加拿大魁北克大学蒙特利尔分校毕业证(UQAM毕业证书)原版定制
Taqyea
 
seninarppt.pptx1bhjiikjhggghjykoirgjuyhhhjj
seninarppt.pptx1bhjiikjhggghjykoirgjuyhhhjjseninarppt.pptx1bhjiikjhggghjykoirgjuyhhhjj
seninarppt.pptx1bhjiikjhggghjykoirgjuyhhhjj
AjijahamadKhaji
 
6th International Conference on Big Data, Machine Learning and IoT (BMLI 2025)
6th International Conference on Big Data, Machine Learning and IoT (BMLI 2025)6th International Conference on Big Data, Machine Learning and IoT (BMLI 2025)
6th International Conference on Big Data, Machine Learning and IoT (BMLI 2025)
ijflsjournal087
 
Surveying through global positioning system
Surveying through global positioning systemSurveying through global positioning system
Surveying through global positioning system
opneptune5
 
SICPA: Fabien Keller - background introduction
SICPA: Fabien Keller - background introductionSICPA: Fabien Keller - background introduction
SICPA: Fabien Keller - background introduction
fabienklr
 
Design of Variable Depth Single-Span Post.pdf
Design of Variable Depth Single-Span Post.pdfDesign of Variable Depth Single-Span Post.pdf
Design of Variable Depth Single-Span Post.pdf
Kamel Farid
 
Compiler Design_Intermediate code generation new ppt.pptx
Compiler Design_Intermediate code generation new ppt.pptxCompiler Design_Intermediate code generation new ppt.pptx
Compiler Design_Intermediate code generation new ppt.pptx
RushaliDeshmukh2
 
Evonik Overview Visiomer Specialty Methacrylates.pdf
Evonik Overview Visiomer Specialty Methacrylates.pdfEvonik Overview Visiomer Specialty Methacrylates.pdf
Evonik Overview Visiomer Specialty Methacrylates.pdf
szhang13
 

Distributed systems and blockchain technology

  • 1. The Blockchain Technology The Next Internet? ——————— Alket Cecaj PhD
  • 2. Understanding Blockchain Technology Understanding distributed systems is essential in order to understand blockchain technology. Blockchain at its core is a distributed system, more precisely is a dece Distributed systems are a computing paradigm whereby two or more nodes work with each other in a coordinated fashion in order to achieve a common outcome
  • 3. Distributed Systems In a distributed system a node is an individual player Nodes are capable of sending messages to and from each other Nodes can be honest, faulty or malicious and have their own memory and processor A node that can exhibit an arbitrary or malicious behavior is also known as a Byzantine node. A Byzantine node can be detrimental to the operation of the network because of its behavior
  • 4. Distributed Systems and the Blockchain Technology The main challenge in distributed systems design is coordination between nodes and fault tolerance. Even if some of the nodes become faulty the d.s. should continue to work flawlessy in order to achieve the desired results.
  • 5. Design Challenges in Distributed Systems and CAP Theorem • Any distributed system cannot have Consistency, Availability, and Partition tolerance simultaneously
  • 6. Cap Theorem and the Blockchain • It seems that the CAP theorem is violated in blockchain but this is not true. • In blockchain the Consistency is sacrificed in favor of Availability and Partition tolerance • In the most famous blockchain application, bitcoin, Consistency is not achieved simultaneously with Partition Tolerance and Availability • In Bitcoin blockchain consistency is achieved as a result of validation from multiple nodes over time. • For this purpose the concept of mining was introduced, which facilities the achievement of consensus through a mechanism called PoW (Proof of Work)
  • 7. Introduction to Blockchain Technology • The blockchain technology definition highly depends on how you look at it. Business view or technical view. • The blockchain technology is a peer-to-peer distributed ledger that is cryptographically secure, append only, immutable and up- dateable only via consensus among peers • Different consensus mechanisms allow the nodes to agree on the new state of the distributed ledger.
  • 8. Blockchain technology under different perspectives:network Blockchain is a layer of a distributed peer-to-peer network running on top of the Internet, just like SMTP, HTTP, or FTP running on top of TCP/IP.
  • 9. Blockchain technology under different perspectives: business • The Blockchain technology as a platform whereby peers can exchange values using transactions without the need for a central trusted arbitrator. • A powerful concept which has a tsunamic potential as it allows for decentralized consensus where no central authority is needed.
  • 10. Blockchain technology under different perspectives: data structure • Blockchain is a data structure just like a linked list that uses hash pointers instead of normal pointers. Hash pointers are used to point to the previous block.
  • 11. Blockchain Elements • Addresses are unique identifiers that are used in a transaction on the blockchain to denote senders and recipients. • A transaction is the fundamental unit of a blockchain and represents a transfer of value from one address to another. • A block = multiple transactions, previous block hash (hash pointer), timestamp, and nonce. • A node in a blockchain network can have different roles. It can propose and validate transactions and perform mining. Make simple payments etc.. • A smart contract is a program that runs on top of the blockchain and encapsulate the business logic to be executed when certain conditions are met. A very desirable feature due to the flexibility and power it provides to
  • 12. Features of a blockchain • Distributed consensus enables a blockchain to present a single version of the truth without the requirement of a central authority • Transactions posted from nodes are verified based on a predetermined set of rules. Only valid transactions are selected for inclusion in a block • A blockchain is a platform where programs can run that execute business logic on behalf of the users, the so called smart contracts • Blockchain enables the transfer of value between its users via tokens. Tokens can be thought of as a carrier of value • This is an optional feature depending on the type of blockchain used. A blockchain can generate cryptocurrency as an incentive to its miners who validate the transactions and spend resources in order to secure the blockchain.
  • 13. Blockchain Types • Public Blockchain • Private Blockchain • Semi-private Blockchain • Sidechain • Tokenized Blockchain • Tokenless Blockchain
  • 14. Consensus Mechanisms • The choice of the consensus mechanism is conditioned by the type of blockchain. • Two types of consensus mechanisms ➢ Proof-based ➢ Votes based
  • 15. Consensus Mechanisms • Proof of work • Proof of stake • Delegated Proof of Stake • Proof of Elapsed Time • Deposit-based consensus • Proof of importance • Federated consensus or federated Byzantine consensus
  • 16. Consensus Mechanisms and Performance Votes based Proof based Speed Good Poor Scalability Moderate Good Finality Good Poor
  • 17. Blockchain Demo There is a great demo showing how a blockchain works and in particular it explains concepts like cryptography, hashing of a transaction, elements of a block and how they are appended to the blockchain etc.. The demo can be found here https://anders.com/blockchain/hash.html
  • 18. Example – Bitcoin • The Bitcoin blockchain: understanding the blockchain technology through its most famous application, bitcoin.
  • 21. Bitcoin Transactions The math behind digital signatures
  • 24. Bitcoin generation and Halving The reward of miners, every 4 years gets halved. At the end there will be only 21 million bitcoins