SlideShare une entreprise Scribd logo
1  sur  17
Bitcoin,
Blockchain &
CryptoContracts
Part 2
the shared ledger
Prithwis Mukerjee, PhD, Praxis Business School, Calcutta, India
Establishing Ownership & Transfer of an Asset
Problem with any non-material, or dematerialised asset is the question of
ownership
Arup can write a cheque to Bina without having money in the bank
Or can write two cheques of Rs 1000 each to Bina and Dipa while having
only Rs 1000 in the bank
Arup may not have a house to sell
Or may try to sell the same house twice
Ownership verified with a central ledger
Each transaction
is validated or
allowed by a
bank, or a share
depository or a
land registry
office depending
on the “balance”
available in the
central ledger
Name Bal
Arup 1000
Bina 2000
Chandru 1500
Dipa 200
Esha 4000
Arup transfers 600 to Bina
Bina transfers 1500 to Chandru
Chandru transfers 2500 to Dipa
Dipa transfers 100 to Esha
The Distributed Ledger
Name Bal
Arup 1000
Bina 2000
Chandru 1500
Dipa 200
Esha 1000
Arup xfers 600 to Bina
Bina xfers 1500 to Chandru
Chandru xfers 2500 to Dipa
Dipa xfers 100 to Esha
Name Bal
Arup 1000
Bina 2000
Chandru 1500
Dipa 200
Esha 1000
Name Bal
Arup 1000
Bina 2000
Chandru 1500
Dipa 200
Esha 1000
Everyone can keep a
copy of the ledger.
All copies are
updated
simultaneously.
Anyone can verify
any transaction.
However everyone
need not do so.
Does not
maintain ledger,
only transacts
In reality, not balance but are stored
KPuA 800
KPuA 200
KPuB 1500
KPuB 500
KPuC 700
KPuC 800
KPuD 200
KPuE 1000
Arup xfers
600 to Bina
KPuA 800
KPuA 200
KPuB 600
KPuA 400
KPuA 800
KPuA 200
KPuB 1500
KPuB 500
KPuC 700
KPuC 800
KPuD 200
KPuE 1000
KPuB 600
KPuA 400
Dipa xfers
100 to Esha
KPuD 200
KPuE 100
KPuD 100
KPuA 800
KPuA 200
KPuB 1500
KPuB 500
KPuC 700
KPuC 800
KPuD 200
KPuE 1000
KPuB 600
KPuA 400
KPuE 100
KPuD 100
Chandru
xfers 2500
to Dipa
KPuA 800
KPuA 200
KPuB 1500
KPuB 500
KPuC 700
KPuC 800
KPuD 200
KPuE 1000
KPuB 600
KPuA 400
KPuE 100
KPuD 100
KPuC 700
KPuC 1000
KPuD 2500
The ledger stores
public key, not
name. Hence
anonymous
UTXO - Unspent
Transaction Output
KPuC 800
KPuB 500
What is a public key?
See this slide deck!
Verification : When can an UTXO not be used?
1. When UTXO does not belong to the
“person” [ or the “wallet” or the
“public key” ] who is transferring
the asset
this can be easily checked from the signature
used to sign the transfer.
1. If the UTXO does not exist in the
database!
KPuA 800
KPuA 200
KPuB 1500
KPuB 500
KPuC 700
KPuC 800
KPuD 200
KPuE 1000
KPuB 600
KPuA 400
KPuE 100
KPuD 100
KPuC 700
KPuD 2500
KPuC 800
KPuB 500
sigC
sigC
sigC
sigC
Suppose Arup “Double Spends”
KPuA 800
KPuA 200
KPuB 1500
KPuB 500
KPuC 700
KPuC 800
KPuD 200
KPuE 1000
Arup xfers
600 to Bina
KPuA 800
KPuA 200
KPuB 600
KPuA 400
KPuA 800
KPuA 200
KPuB 1500
KPuB 500
KPuC 700
KPuC 800
KPuD 200
KPuE 1000
KPuB 600
KPuA 400
Arup xfers
800 to Esha
KPuA 400
KPuA 500
KPuE 800
KPuA 800
KPuA 200
KPuB 1500
KPuB 500
KPuC 700
KPuC 800
KPuD 200
KPuE 1000
KPuB 600
KPuA 400
KPuA 100
KPuA 500
KPuE 800
KPuA 100
Arup creates
a fake
transaction
and
publishes a
corrupt
version of
the ledger
Will his
fake
transaction
be
accepted?
Network has full nodes and light nodes (wallets)
ledger
ledger
ledger
ledger
The ledger is huge ( ~ 50GB+) and growing. Not everyone
can afford to have the ledger on his or her own machine
for verification
& transaction
only
transaction
Whose ledger is correct?
Suppose Arup has “friends” who agree to take
a copy of his “corrupt” ledger and declare that
this is the ledger that they will follow
Can this copy of the corrupt ledger become
the accepted ledger?
Yes, if a “sufficient” number of members
of the network agree that this is indeed
the true ledger and start using it
What is a “sufficient” number?
Say 51% but then .. total number of
members in a peer-to-peer network is
never known!
So it is technically possible for a group of
people acting in concert to inject fake UTXOs
into the system thus
creating a “parallel” ledger
undermining the credibility of the “real”
ledger
Verification
A>B V1
C>D V2
P>Q V6
A>B V1
C>D V2
M>N V7
G>K V8
C>D V2
M>N V7
A>B V1
C>D V2
P>Q V6
Pool of unverified
transactions
Multiple full nodes
verify some
transactions and
assemble them
into a BLOCK
Block
234:id
wxd
Block
235:id
esf
Block
236
BLOCK
CHAIN
Ordered set of
verified, valid
transactions.
Shared with all
and cannot be
changed.
Which of
these 4
blocks
will be
accepted
as #236?
Proof of Work
A>B V1
C>D V2
P>Q V6
A>B V1
C>D V2
M>N V7
G>K V8
C>D V2
M>N V7
A>B V1
C>D V2
P>Q V6
Block
234:id
wxd
Block
235:id
esf
A>B V1
C>D V2
M>N V7
Prev Block ID = esf
“nonce” = 1,2,3 …
set of valid txns
hash
keep trying various values of the nonce until you get
a hash value that begins with a defined number of 0s
A>B V1
C>D V2
M>N V7
whoever wins “the race” gets to place his block into
the blockchain and then the race starts again for the
next block
verifying a block is easy, but locating the proof of
work is computationally hard - you need a lot of raw
CPU power
the only way a false transaction can get into the
block chain if a group of “criminals” control more
than 50% of the computing power of the network
“If a majority of CPU power is
controlled by honest nodes, the
honest chain will grow the fastest and
outpace any competing chains”
Satoshi Nakamoto
Reward! - the Coinbase transaction
A>B V1
C>D V2
M>N V7
Block
234:id
wxd
Block
235:id
esf
A>B V1
C>D V2
M>N V7
miner R
Why should anyone use his computational
resources AND electric power to verify
transactions for the network?
Winner is allowed to add one coinbase
transaction into the block chain that has
No INPUT
ONLY OUTPUT favouring winner
This add value to
the economy in general
the wallet of the winner that he can use in
subsequent transactions
The Mining Process
A self-sustaining mechanism
1. Validate Transactions
2. Demonstrate Proof-of-Work
3. Collect Rewards
Keeps the Crypto-Economy running forward
Block
234: id
wxd
Block
235: id
wst
Block
236: id
qlp
Block
237: id
bre
time >>>
Block
238: id
???
Pool of
unvalidated
transactions
BlockChain of of validated transactions
Latency, Simultaneity and the Fork
Since the size of the network is large, there is
definite, non-zero time lag between the
discovery of a new block and its
announcement or detection in a “distant”
node
In this interval there is a finite, non-zero
probability of another new block being
discovered and hence detected before the
other new block
The block chain is “forked” and both parts of
the chain (with the red block and the blue
block) are kept as candidates UNTIL ….
Block
234: id
wxd
Block
235: id
wst
Block
236: id
qlp
Block
237: id
bre
Block
238: id
opx
Block
238: id
wer
Note :Each block is chained to and defined by its predecessor
Until … the next new block is detected!
If the new block is derived from the red block
then it elongates, the red fork of the chain.
Otherwise it elongates the blue fork of the
chain.
Whichever chain is longer, has more “proof of
work” and is generally accepted by the
majority of nodes.
Now all miners will try to locate the next block
that will be derived from the latest block
(239) and the blue fork ( containing 238) will
be dropped or forgotten
Block
234: id
wxd
Block
235: id
wst
Block
236: id
qlp
Block
237: id
bre
Block
238: id
opx
Block
238: id
wer
Block
239: id
sur
Block Chain -- the Shared Ledger
The block chain is a read-only database of
validated transactions that is shared by all
but cannot be changed by anyone except
the one who “discovers” the next block at the
“head” of the chain.
❖ Can non-asset data be stored
in transactions?
❖ Yes! Bitcoin is just one
application
The size of the Bitcoin blockchain in Feb
2015 is 55GB and is growing exponentially.
It can be pruned, compressed and otherwise
compacted but it is estimated that even if
Bitcoin transactions exceed Visa card
transactions, scalability will not be an issue
because of Moore’s law.
Block
234: id
wxd
Block
235: id
wst
Block
236: id
qlp
Block
237: id
bre
Block
238: id
opx
Block
238: id
wer
Block
239: id
sur
Beyond
So what does the shared ledger store?
A new kind of
1. Crypto Currency
2. Crypto Commodity
3. Crypto Corporation
Prithwis Mukerjee, PhD, Praxis Business School, Calcutta, India
This question will
be addressed
next. See next
presentation

Contenu connexe

Tendances

Economías criptográficas
Economías criptográficasEconomías criptográficas
Economías criptográficas
navajanegra
 

Tendances (20)

Blockchain Study(1) - What is Blockchain?
Blockchain Study(1) - What is Blockchain?Blockchain Study(1) - What is Blockchain?
Blockchain Study(1) - What is Blockchain?
 
Boolberry reduces blockchain bloat
Boolberry reduces blockchain bloatBoolberry reduces blockchain bloat
Boolberry reduces blockchain bloat
 
bitcoin_presentation
bitcoin_presentationbitcoin_presentation
bitcoin_presentation
 
Blockchain Deconstructed - by nexxworks
Blockchain Deconstructed - by nexxworks Blockchain Deconstructed - by nexxworks
Blockchain Deconstructed - by nexxworks
 
Bitcoins Math
Bitcoins MathBitcoins Math
Bitcoins Math
 
Blockchain, bitcoin
Blockchain, bitcoinBlockchain, bitcoin
Blockchain, bitcoin
 
Blockchain, Smart Contracts and DAOs in 10 minutes
Blockchain, Smart Contracts and DAOs in 10 minutesBlockchain, Smart Contracts and DAOs in 10 minutes
Blockchain, Smart Contracts and DAOs in 10 minutes
 
Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to Blockchain
 
Introduction to Blockchain Development
Introduction to Blockchain DevelopmentIntroduction to Blockchain Development
Introduction to Blockchain Development
 
Introduction to Blockchain Technology
Introduction to Blockchain TechnologyIntroduction to Blockchain Technology
Introduction to Blockchain Technology
 
Bitcoin : A fierce Decentralized internet currency
Bitcoin : A fierce Decentralized internet currencyBitcoin : A fierce Decentralized internet currency
Bitcoin : A fierce Decentralized internet currency
 
201811 Bitcoin, Blockchain and the Technology behind Cryptocurrencies
201811 Bitcoin, Blockchain and the Technology behind Cryptocurrencies201811 Bitcoin, Blockchain and the Technology behind Cryptocurrencies
201811 Bitcoin, Blockchain and the Technology behind Cryptocurrencies
 
Blockchain for Beginners
Blockchain for Beginners Blockchain for Beginners
Blockchain for Beginners
 
Best practices to build secure smart contracts
Best practices to build secure smart contractsBest practices to build secure smart contracts
Best practices to build secure smart contracts
 
KOIOS - Introduction to Blockchain Technology
KOIOS - Introduction to Blockchain TechnologyKOIOS - Introduction to Blockchain Technology
KOIOS - Introduction to Blockchain Technology
 
Economías criptográficas
Economías criptográficasEconomías criptográficas
Economías criptográficas
 
What to expect from Blockchain in 2019?
What to expect from Blockchain in 2019?What to expect from Blockchain in 2019?
What to expect from Blockchain in 2019?
 
Session 3 introduction blockchain by franco 22 januari
Session 3   introduction blockchain by franco 22 januariSession 3   introduction blockchain by franco 22 januari
Session 3 introduction blockchain by franco 22 januari
 
Blockchain
BlockchainBlockchain
Blockchain
 
Intro to smart contract on blockchain en
Intro to smart contract on blockchain enIntro to smart contract on blockchain en
Intro to smart contract on blockchain en
 

En vedette

Landgate Presentation on Blockchain
Landgate Presentation on BlockchainLandgate Presentation on Blockchain
Landgate Presentation on Blockchain
Junran Cao
 
Data mining classification-2009-v0
Data mining classification-2009-v0Data mining classification-2009-v0
Data mining classification-2009-v0
Prithwis Mukerjee
 
Crypto and blockchain 2015
Crypto and blockchain 2015Crypto and blockchain 2015
Crypto and blockchain 2015
Theo van Rossum
 
TRANSMISSION PLANNING CRITERIA
TRANSMISSION PLANNING CRITERIATRANSMISSION PLANNING CRITERIA
TRANSMISSION PLANNING CRITERIA
Arun Muraleedharan
 
Introduction to Bitcoin and ECDSA
Introduction to Bitcoin and ECDSAIntroduction to Bitcoin and ECDSA
Introduction to Bitcoin and ECDSA
Nikesh Mistry
 

En vedette (20)

Btl; Imagine a World
Btl; Imagine a WorldBtl; Imagine a World
Btl; Imagine a World
 
Landgate Presentation on Blockchain
Landgate Presentation on BlockchainLandgate Presentation on Blockchain
Landgate Presentation on Blockchain
 
Data mining arm-2009-v0
Data mining arm-2009-v0Data mining arm-2009-v0
Data mining arm-2009-v0
 
Data mining classification-2009-v0
Data mining classification-2009-v0Data mining classification-2009-v0
Data mining classification-2009-v0
 
Data mining intro-2009-v2
Data mining intro-2009-v2Data mining intro-2009-v2
Data mining intro-2009-v2
 
Capco Blockchain, Distributed Ledger and Cryptocurrencies keynote to IIROC co...
Capco Blockchain, Distributed Ledger and Cryptocurrencies keynote to IIROC co...Capco Blockchain, Distributed Ledger and Cryptocurrencies keynote to IIROC co...
Capco Blockchain, Distributed Ledger and Cryptocurrencies keynote to IIROC co...
 
Business Intelligence Industry Perspective Session I
Business Intelligence   Industry Perspective Session IBusiness Intelligence   Industry Perspective Session I
Business Intelligence Industry Perspective Session I
 
Game theoretic concepts in Support Vector Machines
Game theoretic concepts in Support Vector MachinesGame theoretic concepts in Support Vector Machines
Game theoretic concepts in Support Vector Machines
 
The incompleteness of reason
The incompleteness of reasonThe incompleteness of reason
The incompleteness of reason
 
Tintin and Contemporary Politics
Tintin and Contemporary PoliticsTintin and Contemporary Politics
Tintin and Contemporary Politics
 
A study of cryptography for satellite applications
A study of cryptography for satellite applicationsA study of cryptography for satellite applications
A study of cryptography for satellite applications
 
Internet of Things
Internet of ThingsInternet of Things
Internet of Things
 
Crypto and blockchain 2015
Crypto and blockchain 2015Crypto and blockchain 2015
Crypto and blockchain 2015
 
ইন্টার্নেট কি এবং কেন ?
ইন্টার্নেট কি এবং কেন ?ইন্টার্নেট কি এবং কেন ?
ইন্টার্নেট কি এবং কেন ?
 
QT1 - 07 - Estimation
QT1 - 07 - EstimationQT1 - 07 - Estimation
QT1 - 07 - Estimation
 
ATL&BTL marketing products Promotion
ATL&BTL marketing products PromotionATL&BTL marketing products Promotion
ATL&BTL marketing products Promotion
 
TRANSMISSION PLANNING CRITERIA
TRANSMISSION PLANNING CRITERIATRANSMISSION PLANNING CRITERIA
TRANSMISSION PLANNING CRITERIA
 
Introduction to blockchain and crypto currencies
Introduction to blockchain and crypto currenciesIntroduction to blockchain and crypto currencies
Introduction to blockchain and crypto currencies
 
Introduction to Bitcoin and ECDSA
Introduction to Bitcoin and ECDSAIntroduction to Bitcoin and ECDSA
Introduction to Bitcoin and ECDSA
 
학교에선 알려주지 않는 오픈소스이야기 - 박치완님
학교에선 알려주지 않는 오픈소스이야기 - 박치완님학교에선 알려주지 않는 오픈소스이야기 - 박치완님
학교에선 알려주지 않는 오픈소스이야기 - 박치완님
 

Similaire à Bitcoin, Blockchain and the Crypto Contracts - Part 2

What is Proof of Work?
What is Proof of Work?What is Proof of Work?
What is Proof of Work?
Simplilearn
 

Similaire à Bitcoin, Blockchain and the Crypto Contracts - Part 2 (20)

Ppt on blockchain technology
Ppt on blockchain technologyPpt on blockchain technology
Ppt on blockchain technology
 
Bitcoin
Bitcoin Bitcoin
Bitcoin
 
Blockchain Technology and Cryptocurrency
Blockchain Technology and CryptocurrencyBlockchain Technology and Cryptocurrency
Blockchain Technology and Cryptocurrency
 
Symposium on Legal Regulation of Bitcoin, Blockchain & Cryptocurrencies
Symposium on Legal Regulation of Bitcoin, Blockchain & Cryptocurrencies Symposium on Legal Regulation of Bitcoin, Blockchain & Cryptocurrencies
Symposium on Legal Regulation of Bitcoin, Blockchain & Cryptocurrencies
 
Currency, Commodity and Bitcoins
Currency, Commodity and BitcoinsCurrency, Commodity and Bitcoins
Currency, Commodity and Bitcoins
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain Technology
 
Introduction to Blockchain Web3 Session
Introduction to Blockchain Web3 SessionIntroduction to Blockchain Web3 Session
Introduction to Blockchain Web3 Session
 
Blockchain intro at framework
Blockchain intro at frameworkBlockchain intro at framework
Blockchain intro at framework
 
Ethereum Casper Protocol
Ethereum Casper ProtocolEthereum Casper Protocol
Ethereum Casper Protocol
 
What is Proof of Work?
What is Proof of Work?What is Proof of Work?
What is Proof of Work?
 
Introduction to Blockchain
Introduction to Blockchain Introduction to Blockchain
Introduction to Blockchain
 
Sidechains introduction
Sidechains introductionSidechains introduction
Sidechains introduction
 
Wallets and Transactions #2
Wallets and Transactions #2Wallets and Transactions #2
Wallets and Transactions #2
 
Basics of Block Chain
Basics of Block ChainBasics of Block Chain
Basics of Block Chain
 
Blockchain&Crypto.pptx
Blockchain&Crypto.pptxBlockchain&Crypto.pptx
Blockchain&Crypto.pptx
 
Blockchain Essentials and Blockchain on Azure
Blockchain Essentials and Blockchain on AzureBlockchain Essentials and Blockchain on Azure
Blockchain Essentials and Blockchain on Azure
 
Blockchain
BlockchainBlockchain
Blockchain
 
Cryptocurrency-Bitcoin
Cryptocurrency-BitcoinCryptocurrency-Bitcoin
Cryptocurrency-Bitcoin
 
Blockchain Technology And Cryptocurrency
Blockchain Technology And CryptocurrencyBlockchain Technology And Cryptocurrency
Blockchain Technology And Cryptocurrency
 
Blockchain part 2
Blockchain part 2Blockchain part 2
Blockchain part 2
 

Plus de Prithwis Mukerjee

04 Dimensional Analysis - v6
04 Dimensional Analysis - v604 Dimensional Analysis - v6
04 Dimensional Analysis - v6
Prithwis Mukerjee
 
Lecture02 - Data Mining & Analytics
Lecture02 - Data Mining & AnalyticsLecture02 - Data Mining & Analytics
Lecture02 - Data Mining & Analytics
Prithwis Mukerjee
 
Data mining clustering-2009-v0
Data mining clustering-2009-v0Data mining clustering-2009-v0
Data mining clustering-2009-v0
Prithwis Mukerjee
 
Datawarehousing and Business Intelligence
Datawarehousing and Business IntelligenceDatawarehousing and Business Intelligence
Datawarehousing and Business Intelligence
Prithwis Mukerjee
 

Plus de Prithwis Mukerjee (20)

Thought controlled devices
Thought controlled devicesThought controlled devices
Thought controlled devices
 
Cloudcasting
CloudcastingCloudcasting
Cloudcasting
 
Data Science
Data ScienceData Science
Data Science
 
05 OLAP v6 weekend
05 OLAP  v6 weekend05 OLAP  v6 weekend
05 OLAP v6 weekend
 
04 Dimensional Analysis - v6
04 Dimensional Analysis - v604 Dimensional Analysis - v6
04 Dimensional Analysis - v6
 
Thought control
Thought controlThought control
Thought control
 
World of data @ praxis 2013 v2
World of data   @ praxis 2013  v2World of data   @ praxis 2013  v2
World of data @ praxis 2013 v2
 
BIS 08a - Application Development - II Version 2
BIS 08a - Application Development - II Version 2BIS 08a - Application Development - II Version 2
BIS 08a - Application Development - II Version 2
 
Lecture02 - Data Mining & Analytics
Lecture02 - Data Mining & AnalyticsLecture02 - Data Mining & Analytics
Lecture02 - Data Mining & Analytics
 
Data mining clustering-2009-v0
Data mining clustering-2009-v0Data mining clustering-2009-v0
Data mining clustering-2009-v0
 
PPM Lite
PPM LitePPM Lite
PPM Lite
 
OLAP Cubes in Datawarehousing
OLAP Cubes in DatawarehousingOLAP Cubes in Datawarehousing
OLAP Cubes in Datawarehousing
 
Dimensional Modelling
Dimensional ModellingDimensional Modelling
Dimensional Modelling
 
Datawarehousing and Business Intelligence
Datawarehousing and Business IntelligenceDatawarehousing and Business Intelligence
Datawarehousing and Business Intelligence
 
Business Models for Web 2.0
Business Models for Web 2.0Business Models for Web 2.0
Business Models for Web 2.0
 
BIS01 Living On the Web
BIS01 Living On the WebBIS01 Living On the Web
BIS01 Living On the Web
 
BIS03 Data Modelling - I
BIS03 Data Modelling - IBIS03 Data Modelling - I
BIS03 Data Modelling - I
 
BIS04 Data Modelling - II
BIS04 Data Modelling  - IIBIS04 Data Modelling  - II
BIS04 Data Modelling - II
 
BIS06 Physical Database Models
BIS06 Physical Database ModelsBIS06 Physical Database Models
BIS06 Physical Database Models
 
BIS05 Introduction to SQL
BIS05 Introduction to SQLBIS05 Introduction to SQL
BIS05 Introduction to SQL
 

Dernier

( Jasmin ) Top VIP Escorts Service Dindigul 💧 7737669865 💧 by Dindigul Call G...
( Jasmin ) Top VIP Escorts Service Dindigul 💧 7737669865 💧 by Dindigul Call G...( Jasmin ) Top VIP Escorts Service Dindigul 💧 7737669865 💧 by Dindigul Call G...
( Jasmin ) Top VIP Escorts Service Dindigul 💧 7737669865 💧 by Dindigul Call G...
dipikadinghjn ( Why You Choose Us? ) Escorts
 
VIP Call Girl Service Andheri West ⚡ 9920725232 What It Takes To Be The Best ...
VIP Call Girl Service Andheri West ⚡ 9920725232 What It Takes To Be The Best ...VIP Call Girl Service Andheri West ⚡ 9920725232 What It Takes To Be The Best ...
VIP Call Girl Service Andheri West ⚡ 9920725232 What It Takes To Be The Best ...
dipikadinghjn ( Why You Choose Us? ) Escorts
 
VIP Independent Call Girls in Mira Bhayandar 🌹 9920725232 ( Call Me ) Mumbai ...
VIP Independent Call Girls in Mira Bhayandar 🌹 9920725232 ( Call Me ) Mumbai ...VIP Independent Call Girls in Mira Bhayandar 🌹 9920725232 ( Call Me ) Mumbai ...
VIP Independent Call Girls in Mira Bhayandar 🌹 9920725232 ( Call Me ) Mumbai ...
dipikadinghjn ( Why You Choose Us? ) Escorts
 
20240429 Calibre April 2024 Investor Presentation.pdf
20240429 Calibre April 2024 Investor Presentation.pdf20240429 Calibre April 2024 Investor Presentation.pdf
20240429 Calibre April 2024 Investor Presentation.pdf
Adnet Communications
 
Call Girls in New Ashok Nagar, (delhi) call me [9953056974] escort service 24X7
Call Girls in New Ashok Nagar, (delhi) call me [9953056974] escort service 24X7Call Girls in New Ashok Nagar, (delhi) call me [9953056974] escort service 24X7
Call Girls in New Ashok Nagar, (delhi) call me [9953056974] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
VIP Call Girl in Mira Road 💧 9920725232 ( Call Me ) Get A New Crush Everyday ...
VIP Call Girl in Mira Road 💧 9920725232 ( Call Me ) Get A New Crush Everyday ...VIP Call Girl in Mira Road 💧 9920725232 ( Call Me ) Get A New Crush Everyday ...
VIP Call Girl in Mira Road 💧 9920725232 ( Call Me ) Get A New Crush Everyday ...
dipikadinghjn ( Why You Choose Us? ) Escorts
 

Dernier (20)

Gurley shaw Theory of Monetary Economics.
Gurley shaw Theory of Monetary Economics.Gurley shaw Theory of Monetary Economics.
Gurley shaw Theory of Monetary Economics.
 
The Economic History of the U.S. Lecture 25.pdf
The Economic History of the U.S. Lecture 25.pdfThe Economic History of the U.S. Lecture 25.pdf
The Economic History of the U.S. Lecture 25.pdf
 
(Vedika) Low Rate Call Girls in Pune Call Now 8250077686 Pune Escorts 24x7
(Vedika) Low Rate Call Girls in Pune Call Now 8250077686 Pune Escorts 24x7(Vedika) Low Rate Call Girls in Pune Call Now 8250077686 Pune Escorts 24x7
(Vedika) Low Rate Call Girls in Pune Call Now 8250077686 Pune Escorts 24x7
 
Top Rated Pune Call Girls Sinhagad Road ⟟ 6297143586 ⟟ Call Me For Genuine S...
Top Rated  Pune Call Girls Sinhagad Road ⟟ 6297143586 ⟟ Call Me For Genuine S...Top Rated  Pune Call Girls Sinhagad Road ⟟ 6297143586 ⟟ Call Me For Genuine S...
Top Rated Pune Call Girls Sinhagad Road ⟟ 6297143586 ⟟ Call Me For Genuine S...
 
The Economic History of the U.S. Lecture 30.pdf
The Economic History of the U.S. Lecture 30.pdfThe Economic History of the U.S. Lecture 30.pdf
The Economic History of the U.S. Lecture 30.pdf
 
VVIP Pune Call Girls Katraj (7001035870) Pune Escorts Nearby with Complete Sa...
VVIP Pune Call Girls Katraj (7001035870) Pune Escorts Nearby with Complete Sa...VVIP Pune Call Girls Katraj (7001035870) Pune Escorts Nearby with Complete Sa...
VVIP Pune Call Girls Katraj (7001035870) Pune Escorts Nearby with Complete Sa...
 
( Jasmin ) Top VIP Escorts Service Dindigul 💧 7737669865 💧 by Dindigul Call G...
( Jasmin ) Top VIP Escorts Service Dindigul 💧 7737669865 💧 by Dindigul Call G...( Jasmin ) Top VIP Escorts Service Dindigul 💧 7737669865 💧 by Dindigul Call G...
( Jasmin ) Top VIP Escorts Service Dindigul 💧 7737669865 💧 by Dindigul Call G...
 
Top Rated Pune Call Girls Viman Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Sex...
Top Rated  Pune Call Girls Viman Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Sex...Top Rated  Pune Call Girls Viman Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Sex...
Top Rated Pune Call Girls Viman Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Sex...
 
VIP Call Girl Service Andheri West ⚡ 9920725232 What It Takes To Be The Best ...
VIP Call Girl Service Andheri West ⚡ 9920725232 What It Takes To Be The Best ...VIP Call Girl Service Andheri West ⚡ 9920725232 What It Takes To Be The Best ...
VIP Call Girl Service Andheri West ⚡ 9920725232 What It Takes To Be The Best ...
 
The Economic History of the U.S. Lecture 23.pdf
The Economic History of the U.S. Lecture 23.pdfThe Economic History of the U.S. Lecture 23.pdf
The Economic History of the U.S. Lecture 23.pdf
 
The Economic History of the U.S. Lecture 21.pdf
The Economic History of the U.S. Lecture 21.pdfThe Economic History of the U.S. Lecture 21.pdf
The Economic History of the U.S. Lecture 21.pdf
 
The Economic History of the U.S. Lecture 19.pdf
The Economic History of the U.S. Lecture 19.pdfThe Economic History of the U.S. Lecture 19.pdf
The Economic History of the U.S. Lecture 19.pdf
 
VIP Independent Call Girls in Mira Bhayandar 🌹 9920725232 ( Call Me ) Mumbai ...
VIP Independent Call Girls in Mira Bhayandar 🌹 9920725232 ( Call Me ) Mumbai ...VIP Independent Call Girls in Mira Bhayandar 🌹 9920725232 ( Call Me ) Mumbai ...
VIP Independent Call Girls in Mira Bhayandar 🌹 9920725232 ( Call Me ) Mumbai ...
 
20240429 Calibre April 2024 Investor Presentation.pdf
20240429 Calibre April 2024 Investor Presentation.pdf20240429 Calibre April 2024 Investor Presentation.pdf
20240429 Calibre April 2024 Investor Presentation.pdf
 
Solution Manual for Principles of Corporate Finance 14th Edition by Richard B...
Solution Manual for Principles of Corporate Finance 14th Edition by Richard B...Solution Manual for Principles of Corporate Finance 14th Edition by Richard B...
Solution Manual for Principles of Corporate Finance 14th Edition by Richard B...
 
Call Girls Koregaon Park Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Koregaon Park Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Koregaon Park Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Koregaon Park Call Me 7737669865 Budget Friendly No Advance Booking
 
Call Girls in New Ashok Nagar, (delhi) call me [9953056974] escort service 24X7
Call Girls in New Ashok Nagar, (delhi) call me [9953056974] escort service 24X7Call Girls in New Ashok Nagar, (delhi) call me [9953056974] escort service 24X7
Call Girls in New Ashok Nagar, (delhi) call me [9953056974] escort service 24X7
 
VIP Call Girl in Mira Road 💧 9920725232 ( Call Me ) Get A New Crush Everyday ...
VIP Call Girl in Mira Road 💧 9920725232 ( Call Me ) Get A New Crush Everyday ...VIP Call Girl in Mira Road 💧 9920725232 ( Call Me ) Get A New Crush Everyday ...
VIP Call Girl in Mira Road 💧 9920725232 ( Call Me ) Get A New Crush Everyday ...
 
The Economic History of the U.S. Lecture 20.pdf
The Economic History of the U.S. Lecture 20.pdfThe Economic History of the U.S. Lecture 20.pdf
The Economic History of the U.S. Lecture 20.pdf
 
05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptx
05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptx05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptx
05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptx
 

Bitcoin, Blockchain and the Crypto Contracts - Part 2

  • 1. Bitcoin, Blockchain & CryptoContracts Part 2 the shared ledger Prithwis Mukerjee, PhD, Praxis Business School, Calcutta, India
  • 2. Establishing Ownership & Transfer of an Asset Problem with any non-material, or dematerialised asset is the question of ownership Arup can write a cheque to Bina without having money in the bank Or can write two cheques of Rs 1000 each to Bina and Dipa while having only Rs 1000 in the bank Arup may not have a house to sell Or may try to sell the same house twice
  • 3. Ownership verified with a central ledger Each transaction is validated or allowed by a bank, or a share depository or a land registry office depending on the “balance” available in the central ledger Name Bal Arup 1000 Bina 2000 Chandru 1500 Dipa 200 Esha 4000 Arup transfers 600 to Bina Bina transfers 1500 to Chandru Chandru transfers 2500 to Dipa Dipa transfers 100 to Esha
  • 4. The Distributed Ledger Name Bal Arup 1000 Bina 2000 Chandru 1500 Dipa 200 Esha 1000 Arup xfers 600 to Bina Bina xfers 1500 to Chandru Chandru xfers 2500 to Dipa Dipa xfers 100 to Esha Name Bal Arup 1000 Bina 2000 Chandru 1500 Dipa 200 Esha 1000 Name Bal Arup 1000 Bina 2000 Chandru 1500 Dipa 200 Esha 1000 Everyone can keep a copy of the ledger. All copies are updated simultaneously. Anyone can verify any transaction. However everyone need not do so. Does not maintain ledger, only transacts
  • 5. In reality, not balance but are stored KPuA 800 KPuA 200 KPuB 1500 KPuB 500 KPuC 700 KPuC 800 KPuD 200 KPuE 1000 Arup xfers 600 to Bina KPuA 800 KPuA 200 KPuB 600 KPuA 400 KPuA 800 KPuA 200 KPuB 1500 KPuB 500 KPuC 700 KPuC 800 KPuD 200 KPuE 1000 KPuB 600 KPuA 400 Dipa xfers 100 to Esha KPuD 200 KPuE 100 KPuD 100 KPuA 800 KPuA 200 KPuB 1500 KPuB 500 KPuC 700 KPuC 800 KPuD 200 KPuE 1000 KPuB 600 KPuA 400 KPuE 100 KPuD 100 Chandru xfers 2500 to Dipa KPuA 800 KPuA 200 KPuB 1500 KPuB 500 KPuC 700 KPuC 800 KPuD 200 KPuE 1000 KPuB 600 KPuA 400 KPuE 100 KPuD 100 KPuC 700 KPuC 1000 KPuD 2500 The ledger stores public key, not name. Hence anonymous UTXO - Unspent Transaction Output KPuC 800 KPuB 500 What is a public key? See this slide deck!
  • 6. Verification : When can an UTXO not be used? 1. When UTXO does not belong to the “person” [ or the “wallet” or the “public key” ] who is transferring the asset this can be easily checked from the signature used to sign the transfer. 1. If the UTXO does not exist in the database! KPuA 800 KPuA 200 KPuB 1500 KPuB 500 KPuC 700 KPuC 800 KPuD 200 KPuE 1000 KPuB 600 KPuA 400 KPuE 100 KPuD 100 KPuC 700 KPuD 2500 KPuC 800 KPuB 500 sigC sigC sigC sigC
  • 7. Suppose Arup “Double Spends” KPuA 800 KPuA 200 KPuB 1500 KPuB 500 KPuC 700 KPuC 800 KPuD 200 KPuE 1000 Arup xfers 600 to Bina KPuA 800 KPuA 200 KPuB 600 KPuA 400 KPuA 800 KPuA 200 KPuB 1500 KPuB 500 KPuC 700 KPuC 800 KPuD 200 KPuE 1000 KPuB 600 KPuA 400 Arup xfers 800 to Esha KPuA 400 KPuA 500 KPuE 800 KPuA 800 KPuA 200 KPuB 1500 KPuB 500 KPuC 700 KPuC 800 KPuD 200 KPuE 1000 KPuB 600 KPuA 400 KPuA 100 KPuA 500 KPuE 800 KPuA 100 Arup creates a fake transaction and publishes a corrupt version of the ledger Will his fake transaction be accepted?
  • 8. Network has full nodes and light nodes (wallets) ledger ledger ledger ledger The ledger is huge ( ~ 50GB+) and growing. Not everyone can afford to have the ledger on his or her own machine for verification & transaction only transaction
  • 9. Whose ledger is correct? Suppose Arup has “friends” who agree to take a copy of his “corrupt” ledger and declare that this is the ledger that they will follow Can this copy of the corrupt ledger become the accepted ledger? Yes, if a “sufficient” number of members of the network agree that this is indeed the true ledger and start using it What is a “sufficient” number? Say 51% but then .. total number of members in a peer-to-peer network is never known! So it is technically possible for a group of people acting in concert to inject fake UTXOs into the system thus creating a “parallel” ledger undermining the credibility of the “real” ledger
  • 10. Verification A>B V1 C>D V2 P>Q V6 A>B V1 C>D V2 M>N V7 G>K V8 C>D V2 M>N V7 A>B V1 C>D V2 P>Q V6 Pool of unverified transactions Multiple full nodes verify some transactions and assemble them into a BLOCK Block 234:id wxd Block 235:id esf Block 236 BLOCK CHAIN Ordered set of verified, valid transactions. Shared with all and cannot be changed. Which of these 4 blocks will be accepted as #236?
  • 11. Proof of Work A>B V1 C>D V2 P>Q V6 A>B V1 C>D V2 M>N V7 G>K V8 C>D V2 M>N V7 A>B V1 C>D V2 P>Q V6 Block 234:id wxd Block 235:id esf A>B V1 C>D V2 M>N V7 Prev Block ID = esf “nonce” = 1,2,3 … set of valid txns hash keep trying various values of the nonce until you get a hash value that begins with a defined number of 0s A>B V1 C>D V2 M>N V7 whoever wins “the race” gets to place his block into the blockchain and then the race starts again for the next block verifying a block is easy, but locating the proof of work is computationally hard - you need a lot of raw CPU power the only way a false transaction can get into the block chain if a group of “criminals” control more than 50% of the computing power of the network “If a majority of CPU power is controlled by honest nodes, the honest chain will grow the fastest and outpace any competing chains” Satoshi Nakamoto
  • 12. Reward! - the Coinbase transaction A>B V1 C>D V2 M>N V7 Block 234:id wxd Block 235:id esf A>B V1 C>D V2 M>N V7 miner R Why should anyone use his computational resources AND electric power to verify transactions for the network? Winner is allowed to add one coinbase transaction into the block chain that has No INPUT ONLY OUTPUT favouring winner This add value to the economy in general the wallet of the winner that he can use in subsequent transactions
  • 13. The Mining Process A self-sustaining mechanism 1. Validate Transactions 2. Demonstrate Proof-of-Work 3. Collect Rewards Keeps the Crypto-Economy running forward Block 234: id wxd Block 235: id wst Block 236: id qlp Block 237: id bre time >>> Block 238: id ??? Pool of unvalidated transactions BlockChain of of validated transactions
  • 14. Latency, Simultaneity and the Fork Since the size of the network is large, there is definite, non-zero time lag between the discovery of a new block and its announcement or detection in a “distant” node In this interval there is a finite, non-zero probability of another new block being discovered and hence detected before the other new block The block chain is “forked” and both parts of the chain (with the red block and the blue block) are kept as candidates UNTIL …. Block 234: id wxd Block 235: id wst Block 236: id qlp Block 237: id bre Block 238: id opx Block 238: id wer Note :Each block is chained to and defined by its predecessor
  • 15. Until … the next new block is detected! If the new block is derived from the red block then it elongates, the red fork of the chain. Otherwise it elongates the blue fork of the chain. Whichever chain is longer, has more “proof of work” and is generally accepted by the majority of nodes. Now all miners will try to locate the next block that will be derived from the latest block (239) and the blue fork ( containing 238) will be dropped or forgotten Block 234: id wxd Block 235: id wst Block 236: id qlp Block 237: id bre Block 238: id opx Block 238: id wer Block 239: id sur
  • 16. Block Chain -- the Shared Ledger The block chain is a read-only database of validated transactions that is shared by all but cannot be changed by anyone except the one who “discovers” the next block at the “head” of the chain. ❖ Can non-asset data be stored in transactions? ❖ Yes! Bitcoin is just one application The size of the Bitcoin blockchain in Feb 2015 is 55GB and is growing exponentially. It can be pruned, compressed and otherwise compacted but it is estimated that even if Bitcoin transactions exceed Visa card transactions, scalability will not be an issue because of Moore’s law. Block 234: id wxd Block 235: id wst Block 236: id qlp Block 237: id bre Block 238: id opx Block 238: id wer Block 239: id sur Beyond
  • 17. So what does the shared ledger store? A new kind of 1. Crypto Currency 2. Crypto Commodity 3. Crypto Corporation Prithwis Mukerjee, PhD, Praxis Business School, Calcutta, India This question will be addressed next. See next presentation