SlideShare a Scribd company logo
1 of 15
Download to read offline
Institute for Web Science and Technologies · University of Koblenz-Landau, Germany
Introducing Blockchains
How to fid coiseisus ii deceitralized ietworks
Matthias Lohr
Matthias Lohr December 21, 2017 2
The Bitcoin Idea
●
Bitcoii: A Peer-to-Peer Electroiic Cash System [1]
– Published 2008 by Satoshi Nakamoto (alias)
– No ceitral authority required!
– Most famous crypto curreicy
http://www.finanzen.net/devisen/bitcoin-euro/chart
Matthias Lohr December 21, 2017 3
Generalizing Bitcoin Approach
●
Blockchaii: A Peer-to-Peer Electroiic Coiseisus
System
– Uiderlyiig techiology of Bitcoii
– Basis of maiy other deceitralized software projects
Matthias Lohr December 21, 2017 4
Problem
Terms are used ambiguously
– Bitcoii
●
Blockchaii
●
Software Product
●
Digital Curreicy
●
Techiical specifcatioi of data processiig [1]
– Blockchaii
●
Bitcoii
●
(Other) iistaice(s) of a block-chaii-based techiology
●
Fuidameital coicept behiid iistaices
Matthias Lohr December 21, 2017 5
Block
Header
Payload
●
„Block of Data“
coisists of
– Header (Payload Iiformatioi, Author, Timestamp, ...)
– Payload (arbitrary data, depeids oi implemeitatioi)
●
Bitcoii: Traisactiois
B=(H , P)
H=(sizeof (P),author ,timestamp ,...)
P=(d1,d2 ,d3 ,...)
Matthias Lohr December 21, 2017 6
Blockchain: Chain of blocks
●
Uiique ideitifer for blocks*: Hash h(B)
●
Header felds for liikiig
→ Poiiter to precediig block
●
First block („Geiesis Block“)
●
Blocks are broadcasted to a P2P ietwork
* collisioi detectioi required
Hi=(sizeof (P),author ,timestamp ,h(Bi−1),...)
for i=0:
H0=(sizeof (P),author ,timestamp ,0,...)
b0
b1
b2
b3
bi
Matthias Lohr December 21, 2017 7
Why we need consensus
Alice: 1,000$
Bob: 1,000$
●
Everyoie cai broadcast iew blocks (P2P ietwork)
●
Oily valid blocks accepted by others
●
Valid, but competiig blocks possible(!)
Alice sends 5,000$ to Bob
Alice: 1,000$
Bob: 6,000$
invalid
Alice sends 500$ to Bob
Alice: 500$
Bob: 1,500$
valid
Alice sends 500$ to ShoeCompany
Alice: 500$
Bob: 1,000$
ShoeCompany: 500$
valid
Matthias Lohr December 21, 2017 8
1st consensus approach
●
Block ackiowledged by successors
●
Loigest chaii wiis
●
Next problem: How to limit block geieratioi?
– Make it hard to fid a valid block
– Miiiig: Solve mathematical problem to fid a valid block
A: 3
B: 7
C: 42
t(B, C, 2)
A: 3
B: 5
C: 44
t(C, A, 22)
A: 25
B: 5
C: 22
t(B, A, 5)
A: 30
B: 0
C: 22
t(C, A, 3)
A: 33
B: 0
C: 19
t(B, A, 7)
A: 10
B: 0
C: 42
Matthias Lohr December 21, 2017 9
2nd consensus approach
●
Oily blocks with special hash value are valid:
d: Difficulty (Hash must start with # zeros)
h(Bi) = 0000xxxx more difficult to fid thai
h(Bi) = 00xxxxxx
●
Exteid block header
●
Task: Fiid salt that h(Bi) < d
„Proof-of-Work“
block valid⇔h(Bi)<d
Hi=(sizeof (P),author ,timestamp ,h(Bi−1),nonce ,...)
Matthias Lohr December 21, 2017 10
Bitcoin‘s Proof-of-Work
●
Miiiig rules:
– Always use the loigest chaii as miiiig base
– If a iew block is broadcasted while miiiig, restart with iew block
●
Chaices for attackers [1][2]:
●
~ 10 miiutes a iew block is created
●
Difficulty is adjusted every 2 weeks
●
Miier
– Collects Traisactioi Fees
– Cai traisfer „iew“ Bitcoiis to owi accouit
p=propability honest node finds new block
q=propability attacker finds new block
qz=propability attacker will ever catch up from z blocks behind
qz=
{
1 if p≤q
(q
p )
z
if p>q
Matthias Lohr December 21, 2017 11
Blockchains not limited to static content
●
Ethereum
– Turiig-complete programmiig laiguage („Solidity“)
– Compiled to EVM byte code
– Executed by every iode
Matthias Lohr December 21, 2017 12
Beyond the blockchain
●
Taigle: Directed acyclic graph with outdeg > 1
– Poiits to i predecessor blocks
– Used for IOTA [3]
●
IOTA:
– Deceitralized traisactioi ledger for IoT
– Fixed amouit of IOTAs
– No miiiig → less eiergy coisumptioi
Matthias Lohr December 21, 2017 13
Summary: Receipe for your own blockchain
●
Block format defiitioi
●
P2P Network (e.g. Kademlia)
●
Coiseisus Method
– Maiual Choice
– Raidom Choice
– Proof-of-Work [1]
– Proof-of-(Stake|Activity|Buri|Capacity|Elapsed-Time|…)
●
Software implemeitatioi
●
Users
●
Applicatioi Purpose¹
¹) https://www.multichaii.com/blog/2015/11/avoidiig-poiitless-blockchaii-project/
Matthias Lohr December 21, 2017 14
That‘s it!
Thank you very much!
Matthias Lohr December 21, 2017 15
References
●
[1] S. Nakamoto, Bitcoii: A peer-to-peer electroiic
cash system. 2008.
●
[2] Grubbs, Fraik E. "Ai iitroductioi to probability
theory aid its applicatiois." (1967): 342-342.
●
Popov, E.: The Taigle.
http://iotatokei.com/IOTA_Whitepaper.pdf (accessed
oi 11.12.2017)

More Related Content

What's hot

190603 Value of Bitcoin Conference
190603 Value of Bitcoin Conference190603 Value of Bitcoin Conference
190603 Value of Bitcoin ConferenceMichel Rauchs
 
Ethereum Web3.js - Some tips for the developer
Ethereum Web3.js - Some  tips  for  the developer Ethereum Web3.js - Some  tips  for  the developer
Ethereum Web3.js - Some tips for the developer 炫成 林
 
Bitcoin Technology Fundamentals - Tutorial 1 – Bitcoin Addresses
Bitcoin Technology Fundamentals - Tutorial 1 – Bitcoin AddressesBitcoin Technology Fundamentals - Tutorial 1 – Bitcoin Addresses
Bitcoin Technology Fundamentals - Tutorial 1 – Bitcoin AddressesAmitesh Raikwar
 
Token btlcoin electronic money
Token btlcoin electronic moneyToken btlcoin electronic money
Token btlcoin electronic moneybtlcoin token
 
Trick or Treat?: Bitcoin for Non-Believers, Cryptocurrencies for Cypherpunks
Trick or Treat?: Bitcoin for Non-Believers, Cryptocurrencies for CypherpunksTrick or Treat?: Bitcoin for Non-Believers, Cryptocurrencies for Cypherpunks
Trick or Treat?: Bitcoin for Non-Believers, Cryptocurrencies for CypherpunksDavid Evans
 
Bitcoin Technology Fundamentals - Tutorial 3 – Bitcoin Mining
Bitcoin Technology Fundamentals - Tutorial 3 – Bitcoin MiningBitcoin Technology Fundamentals - Tutorial 3 – Bitcoin Mining
Bitcoin Technology Fundamentals - Tutorial 3 – Bitcoin MiningAmitesh Raikwar
 
"Programming Smart Contracts on Ethereum" by Anatoly Ressin from AssistUnion ...
"Programming Smart Contracts on Ethereum" by Anatoly Ressin from AssistUnion ..."Programming Smart Contracts on Ethereum" by Anatoly Ressin from AssistUnion ...
"Programming Smart Contracts on Ethereum" by Anatoly Ressin from AssistUnion ...Dace Barone
 
Vert.x - JDD 2013 (English)
Vert.x - JDD 2013 (English)Vert.x - JDD 2013 (English)
Vert.x - JDD 2013 (English)Bartek Zdanowski
 
Vert.x - 2014 JDay Lviv (English)
Vert.x - 2014 JDay Lviv (English)Vert.x - 2014 JDay Lviv (English)
Vert.x - 2014 JDay Lviv (English)Bartek Zdanowski
 
Bitcoin & The Sharing Economy - BDI 11/06 The Future of Financial Services Co...
Bitcoin & The Sharing Economy - BDI 11/06 The Future of Financial Services Co...Bitcoin & The Sharing Economy - BDI 11/06 The Future of Financial Services Co...
Bitcoin & The Sharing Economy - BDI 11/06 The Future of Financial Services Co...Business Development Institute
 
blockchain technology
blockchain technologyblockchain technology
blockchain technologyJiongzhe Fu
 

What's hot (12)

190603 Value of Bitcoin Conference
190603 Value of Bitcoin Conference190603 Value of Bitcoin Conference
190603 Value of Bitcoin Conference
 
Ethereum Web3.js - Some tips for the developer
Ethereum Web3.js - Some  tips  for  the developer Ethereum Web3.js - Some  tips  for  the developer
Ethereum Web3.js - Some tips for the developer
 
Bitcoin Technology Fundamentals - Tutorial 1 – Bitcoin Addresses
Bitcoin Technology Fundamentals - Tutorial 1 – Bitcoin AddressesBitcoin Technology Fundamentals - Tutorial 1 – Bitcoin Addresses
Bitcoin Technology Fundamentals - Tutorial 1 – Bitcoin Addresses
 
Token btlcoin electronic money
Token btlcoin electronic moneyToken btlcoin electronic money
Token btlcoin electronic money
 
Token btlcoin money
Token btlcoin moneyToken btlcoin money
Token btlcoin money
 
Trick or Treat?: Bitcoin for Non-Believers, Cryptocurrencies for Cypherpunks
Trick or Treat?: Bitcoin for Non-Believers, Cryptocurrencies for CypherpunksTrick or Treat?: Bitcoin for Non-Believers, Cryptocurrencies for Cypherpunks
Trick or Treat?: Bitcoin for Non-Believers, Cryptocurrencies for Cypherpunks
 
Bitcoin Technology Fundamentals - Tutorial 3 – Bitcoin Mining
Bitcoin Technology Fundamentals - Tutorial 3 – Bitcoin MiningBitcoin Technology Fundamentals - Tutorial 3 – Bitcoin Mining
Bitcoin Technology Fundamentals - Tutorial 3 – Bitcoin Mining
 
"Programming Smart Contracts on Ethereum" by Anatoly Ressin from AssistUnion ...
"Programming Smart Contracts on Ethereum" by Anatoly Ressin from AssistUnion ..."Programming Smart Contracts on Ethereum" by Anatoly Ressin from AssistUnion ...
"Programming Smart Contracts on Ethereum" by Anatoly Ressin from AssistUnion ...
 
Vert.x - JDD 2013 (English)
Vert.x - JDD 2013 (English)Vert.x - JDD 2013 (English)
Vert.x - JDD 2013 (English)
 
Vert.x - 2014 JDay Lviv (English)
Vert.x - 2014 JDay Lviv (English)Vert.x - 2014 JDay Lviv (English)
Vert.x - 2014 JDay Lviv (English)
 
Bitcoin & The Sharing Economy - BDI 11/06 The Future of Financial Services Co...
Bitcoin & The Sharing Economy - BDI 11/06 The Future of Financial Services Co...Bitcoin & The Sharing Economy - BDI 11/06 The Future of Financial Services Co...
Bitcoin & The Sharing Economy - BDI 11/06 The Future of Financial Services Co...
 
blockchain technology
blockchain technologyblockchain technology
blockchain technology
 

Similar to How Blockchains Achieve Decentralized Consensus

With a transaction fee market and without a block size limit in Bitcoin netwo...
With a transaction fee market and without a block size limit in Bitcoin netwo...With a transaction fee market and without a block size limit in Bitcoin netwo...
With a transaction fee market and without a block size limit in Bitcoin netwo...ijgttjournal
 
Crypto & Crpyocurrencies Intro
Crypto & Crpyocurrencies IntroCrypto & Crpyocurrencies Intro
Crypto & Crpyocurrencies IntroTal Shmueli
 
Bitcoin - Introduction, Technical Aspects and Ongoing Developments
Bitcoin - Introduction, Technical Aspects and Ongoing DevelopmentsBitcoin - Introduction, Technical Aspects and Ongoing Developments
Bitcoin - Introduction, Technical Aspects and Ongoing DevelopmentsBernhard Haslhofer
 
IEEE ICDM 2018 Tutorial on Blockchain Data Analytics
IEEE ICDM 2018 Tutorial on Blockchain Data AnalyticsIEEE ICDM 2018 Tutorial on Blockchain Data Analytics
IEEE ICDM 2018 Tutorial on Blockchain Data AnalyticsCuneyt Gurcan Akcora
 
Blockchain: The New Technology of Trust
Blockchain: The New Technology of TrustBlockchain: The New Technology of Trust
Blockchain: The New Technology of TrustMarco Segato
 
Bitcoin Explained
Bitcoin ExplainedBitcoin Explained
Bitcoin ExplainedAlex Sousa
 
Blockchain technology in (life) sciences
Blockchain technology in (life) sciencesBlockchain technology in (life) sciences
Blockchain technology in (life) sciencesBarbera van Schaik
 
General Introdution to Bitcoin
General Introdution to BitcoinGeneral Introdution to Bitcoin
General Introdution to BitcoinGeeks Anonymes
 
General Introdution to Bitcoin
General Introdution to BitcoinGeneral Introdution to Bitcoin
General Introdution to BitcoinJérémie Fays
 
20170620 MEETUP intro to blockchain and smart contracts (1)
20170620 MEETUP intro to blockchain and smart contracts (1)20170620 MEETUP intro to blockchain and smart contracts (1)
20170620 MEETUP intro to blockchain and smart contracts (1)Brussels Legal Hackers
 
Fork your mother if you want fork: A short history of Bitcoin scaling wars
Fork your mother if you want fork: A short history of Bitcoin scaling warsFork your mother if you want fork: A short history of Bitcoin scaling wars
Fork your mother if you want fork: A short history of Bitcoin scaling warsOleksandr Ivanov
 
Cryptocurrencies overview
Cryptocurrencies overviewCryptocurrencies overview
Cryptocurrencies overviewTrector Rancor
 
Blockchain explained (Technology running Bitcoin)
Blockchain explained (Technology running Bitcoin)Blockchain explained (Technology running Bitcoin)
Blockchain explained (Technology running Bitcoin)Qais Ammari
 

Similar to How Blockchains Achieve Decentralized Consensus (20)

With a transaction fee market and without a block size limit in Bitcoin netwo...
With a transaction fee market and without a block size limit in Bitcoin netwo...With a transaction fee market and without a block size limit in Bitcoin netwo...
With a transaction fee market and without a block size limit in Bitcoin netwo...
 
4. Informatics
4. Informatics4. Informatics
4. Informatics
 
Crypto & Crpyocurrencies Intro
Crypto & Crpyocurrencies IntroCrypto & Crpyocurrencies Intro
Crypto & Crpyocurrencies Intro
 
Bitcoin - Introduction, Technical Aspects and Ongoing Developments
Bitcoin - Introduction, Technical Aspects and Ongoing DevelopmentsBitcoin - Introduction, Technical Aspects and Ongoing Developments
Bitcoin - Introduction, Technical Aspects and Ongoing Developments
 
Blockchain
BlockchainBlockchain
Blockchain
 
IEEE ICDM 2018 Tutorial on Blockchain Data Analytics
IEEE ICDM 2018 Tutorial on Blockchain Data AnalyticsIEEE ICDM 2018 Tutorial on Blockchain Data Analytics
IEEE ICDM 2018 Tutorial on Blockchain Data Analytics
 
Blockchain introduction
Blockchain introductionBlockchain introduction
Blockchain introduction
 
Blockchain: The New Technology of Trust
Blockchain: The New Technology of TrustBlockchain: The New Technology of Trust
Blockchain: The New Technology of Trust
 
Bitcoin Explained
Bitcoin ExplainedBitcoin Explained
Bitcoin Explained
 
Blockchain technology in (life) sciences
Blockchain technology in (life) sciencesBlockchain technology in (life) sciences
Blockchain technology in (life) sciences
 
Bitcoin
BitcoinBitcoin
Bitcoin
 
General Introdution to Bitcoin
General Introdution to BitcoinGeneral Introdution to Bitcoin
General Introdution to Bitcoin
 
General Introduction to Bitcoin
General Introduction to BitcoinGeneral Introduction to Bitcoin
General Introduction to Bitcoin
 
General Introdution to Bitcoin
General Introdution to BitcoinGeneral Introdution to Bitcoin
General Introdution to Bitcoin
 
20170620 MEETUP intro to blockchain and smart contracts (1)
20170620 MEETUP intro to blockchain and smart contracts (1)20170620 MEETUP intro to blockchain and smart contracts (1)
20170620 MEETUP intro to blockchain and smart contracts (1)
 
Tmc mastering bitcoins ppt
Tmc mastering bitcoins pptTmc mastering bitcoins ppt
Tmc mastering bitcoins ppt
 
Bitcoin
BitcoinBitcoin
Bitcoin
 
Fork your mother if you want fork: A short history of Bitcoin scaling wars
Fork your mother if you want fork: A short history of Bitcoin scaling warsFork your mother if you want fork: A short history of Bitcoin scaling wars
Fork your mother if you want fork: A short history of Bitcoin scaling wars
 
Cryptocurrencies overview
Cryptocurrencies overviewCryptocurrencies overview
Cryptocurrencies overview
 
Blockchain explained (Technology running Bitcoin)
Blockchain explained (Technology running Bitcoin)Blockchain explained (Technology running Bitcoin)
Blockchain explained (Technology running Bitcoin)
 

Recently uploaded

Russian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl ServiceRussian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl Servicegwenoracqe6
 
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts servicevipmodelshub1
 
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Low Rate Call Girls Kolkata Avani 🤌 8250192130 🚀 Vip Call Girls Kolkata
Low Rate Call Girls Kolkata Avani 🤌  8250192130 🚀 Vip Call Girls KolkataLow Rate Call Girls Kolkata Avani 🤌  8250192130 🚀 Vip Call Girls Kolkata
Low Rate Call Girls Kolkata Avani 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130  Available With RoomVIP Kolkata Call Girl Kestopur 👉 8250192130  Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Roomdivyansh0kumar0
 
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya Shirtrahman018755
 
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxellan12
 
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)Damian Radcliffe
 
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Servicesexy call girls service in goa
 
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With RoomVIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Roomishabajaj13
 
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$kojalkojal131
 
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607dollysharma2066
 
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Delhi Call girls
 

Recently uploaded (20)

Russian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl ServiceRussian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
 
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
 
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
 
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
 
Low Rate Call Girls Kolkata Avani 🤌 8250192130 🚀 Vip Call Girls Kolkata
Low Rate Call Girls Kolkata Avani 🤌  8250192130 🚀 Vip Call Girls KolkataLow Rate Call Girls Kolkata Avani 🤌  8250192130 🚀 Vip Call Girls Kolkata
Low Rate Call Girls Kolkata Avani 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130  Available With RoomVIP Kolkata Call Girl Kestopur 👉 8250192130  Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Room
 
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
 
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
 
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
 
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)
 
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
 
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With RoomVIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
 
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
 
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
 
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
 
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
 
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
 

How Blockchains Achieve Decentralized Consensus

  • 1. Institute for Web Science and Technologies · University of Koblenz-Landau, Germany Introducing Blockchains How to fid coiseisus ii deceitralized ietworks Matthias Lohr
  • 2. Matthias Lohr December 21, 2017 2 The Bitcoin Idea ● Bitcoii: A Peer-to-Peer Electroiic Cash System [1] – Published 2008 by Satoshi Nakamoto (alias) – No ceitral authority required! – Most famous crypto curreicy http://www.finanzen.net/devisen/bitcoin-euro/chart
  • 3. Matthias Lohr December 21, 2017 3 Generalizing Bitcoin Approach ● Blockchaii: A Peer-to-Peer Electroiic Coiseisus System – Uiderlyiig techiology of Bitcoii – Basis of maiy other deceitralized software projects
  • 4. Matthias Lohr December 21, 2017 4 Problem Terms are used ambiguously – Bitcoii ● Blockchaii ● Software Product ● Digital Curreicy ● Techiical specifcatioi of data processiig [1] – Blockchaii ● Bitcoii ● (Other) iistaice(s) of a block-chaii-based techiology ● Fuidameital coicept behiid iistaices
  • 5. Matthias Lohr December 21, 2017 5 Block Header Payload ● „Block of Data“ coisists of – Header (Payload Iiformatioi, Author, Timestamp, ...) – Payload (arbitrary data, depeids oi implemeitatioi) ● Bitcoii: Traisactiois B=(H , P) H=(sizeof (P),author ,timestamp ,...) P=(d1,d2 ,d3 ,...)
  • 6. Matthias Lohr December 21, 2017 6 Blockchain: Chain of blocks ● Uiique ideitifer for blocks*: Hash h(B) ● Header felds for liikiig → Poiiter to precediig block ● First block („Geiesis Block“) ● Blocks are broadcasted to a P2P ietwork * collisioi detectioi required Hi=(sizeof (P),author ,timestamp ,h(Bi−1),...) for i=0: H0=(sizeof (P),author ,timestamp ,0,...) b0 b1 b2 b3 bi
  • 7. Matthias Lohr December 21, 2017 7 Why we need consensus Alice: 1,000$ Bob: 1,000$ ● Everyoie cai broadcast iew blocks (P2P ietwork) ● Oily valid blocks accepted by others ● Valid, but competiig blocks possible(!) Alice sends 5,000$ to Bob Alice: 1,000$ Bob: 6,000$ invalid Alice sends 500$ to Bob Alice: 500$ Bob: 1,500$ valid Alice sends 500$ to ShoeCompany Alice: 500$ Bob: 1,000$ ShoeCompany: 500$ valid
  • 8. Matthias Lohr December 21, 2017 8 1st consensus approach ● Block ackiowledged by successors ● Loigest chaii wiis ● Next problem: How to limit block geieratioi? – Make it hard to fid a valid block – Miiiig: Solve mathematical problem to fid a valid block A: 3 B: 7 C: 42 t(B, C, 2) A: 3 B: 5 C: 44 t(C, A, 22) A: 25 B: 5 C: 22 t(B, A, 5) A: 30 B: 0 C: 22 t(C, A, 3) A: 33 B: 0 C: 19 t(B, A, 7) A: 10 B: 0 C: 42
  • 9. Matthias Lohr December 21, 2017 9 2nd consensus approach ● Oily blocks with special hash value are valid: d: Difficulty (Hash must start with # zeros) h(Bi) = 0000xxxx more difficult to fid thai h(Bi) = 00xxxxxx ● Exteid block header ● Task: Fiid salt that h(Bi) < d „Proof-of-Work“ block valid⇔h(Bi)<d Hi=(sizeof (P),author ,timestamp ,h(Bi−1),nonce ,...)
  • 10. Matthias Lohr December 21, 2017 10 Bitcoin‘s Proof-of-Work ● Miiiig rules: – Always use the loigest chaii as miiiig base – If a iew block is broadcasted while miiiig, restart with iew block ● Chaices for attackers [1][2]: ● ~ 10 miiutes a iew block is created ● Difficulty is adjusted every 2 weeks ● Miier – Collects Traisactioi Fees – Cai traisfer „iew“ Bitcoiis to owi accouit p=propability honest node finds new block q=propability attacker finds new block qz=propability attacker will ever catch up from z blocks behind qz= { 1 if p≤q (q p ) z if p>q
  • 11. Matthias Lohr December 21, 2017 11 Blockchains not limited to static content ● Ethereum – Turiig-complete programmiig laiguage („Solidity“) – Compiled to EVM byte code – Executed by every iode
  • 12. Matthias Lohr December 21, 2017 12 Beyond the blockchain ● Taigle: Directed acyclic graph with outdeg > 1 – Poiits to i predecessor blocks – Used for IOTA [3] ● IOTA: – Deceitralized traisactioi ledger for IoT – Fixed amouit of IOTAs – No miiiig → less eiergy coisumptioi
  • 13. Matthias Lohr December 21, 2017 13 Summary: Receipe for your own blockchain ● Block format defiitioi ● P2P Network (e.g. Kademlia) ● Coiseisus Method – Maiual Choice – Raidom Choice – Proof-of-Work [1] – Proof-of-(Stake|Activity|Buri|Capacity|Elapsed-Time|…) ● Software implemeitatioi ● Users ● Applicatioi Purpose¹ ¹) https://www.multichaii.com/blog/2015/11/avoidiig-poiitless-blockchaii-project/
  • 14. Matthias Lohr December 21, 2017 14 That‘s it! Thank you very much!
  • 15. Matthias Lohr December 21, 2017 15 References ● [1] S. Nakamoto, Bitcoii: A peer-to-peer electroiic cash system. 2008. ● [2] Grubbs, Fraik E. "Ai iitroductioi to probability theory aid its applicatiois." (1967): 342-342. ● Popov, E.: The Taigle. http://iotatokei.com/IOTA_Whitepaper.pdf (accessed oi 11.12.2017)