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 Introducing Blockchains

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 BitcoinJérémie Fays
 
General Introdution to Bitcoin
General Introdution to BitcoinGeneral Introdution to Bitcoin
General Introdution to BitcoinGeeks Anonymes
 
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 Introducing Blockchains (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 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
 
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

20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdfMatthew Sinclair
 
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...singhpriety023
 
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency""Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency"growthgrids
 
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋nirzagarg
 
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...roncy bisnoi
 
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查ydyuyu
 
➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men 🔝mehsana🔝 Escorts...
➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men  🔝mehsana🔝   Escorts...➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men  🔝mehsana🔝   Escorts...
➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men 🔝mehsana🔝 Escorts...nirzagarg
 
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.soniya singh
 
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Call Girls in Nagpur High Profile
 
Busty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort Service
Busty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort ServiceBusty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort Service
Busty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort ServiceDelhi Call girls
 
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...SUHANI PANDEY
 
Microsoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck MicrosoftMicrosoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck MicrosoftAanSulistiyo
 
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdfMatthew Sinclair
 

Recently uploaded (20)

20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf
 
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
 
📱Dehradun Call Girls Service 📱☎️ +91'905,3900,678 ☎️📱 Call Girls In Dehradun 📱
📱Dehradun Call Girls Service 📱☎️ +91'905,3900,678 ☎️📱 Call Girls In Dehradun 📱📱Dehradun Call Girls Service 📱☎️ +91'905,3900,678 ☎️📱 Call Girls In Dehradun 📱
📱Dehradun Call Girls Service 📱☎️ +91'905,3900,678 ☎️📱 Call Girls In Dehradun 📱
 
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency""Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
 
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
 
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
 
Russian Call Girls in %(+971524965298 )# Call Girls in Dubai
Russian Call Girls in %(+971524965298  )#  Call Girls in DubaiRussian Call Girls in %(+971524965298  )#  Call Girls in Dubai
Russian Call Girls in %(+971524965298 )# Call Girls in Dubai
 
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
 
➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men 🔝mehsana🔝 Escorts...
➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men  🔝mehsana🔝   Escorts...➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men  🔝mehsana🔝   Escorts...
➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men 🔝mehsana🔝 Escorts...
 
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
 
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
 
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
 
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
 
Busty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort Service
Busty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort ServiceBusty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort Service
Busty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort Service
 
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
 
Microsoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck MicrosoftMicrosoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck Microsoft
 
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
 
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
 
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
 
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
 

Introducing Blockchains

  • 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)