SlideShare a Scribd company logo
1 of 47
The Problem with
Blockchains
Gurkirat Singh
Scalability
Bitcoin's blockchain takes about 10 minutes to confirm a transaction. Thousands of
unconfirmed transactions at a time
Fees
Bitcoin’s mean transaction fees have already risen above 1 dollar. This can be more
than the transaction amount itself.
Solutions include increasing block size limit, lightning network, central servers for
off-chain transactions, sidechains, and treechains
Lots of computing
power required
Transaction speed declines as the network increases in size as more transactions
compete for the limited block spaces
It will take more and more computing power to mine the same amount of Bitcoin
Mining is somewhat centralized in Bitcoin by giant mining pools
Vulnerable to
Quantum Attack
Bitcoin and other Proof of Work based blockchains are susceptible to being broken
by a powerful quantum computer
On average one must check around 2^68 nonces to find a suitable hash that allows
to generate a block. A quantum computer would need Θ(√ N) operations to solve a
problem that needs Θ(N) operations on a classical computer. Therefore, a quantum
computer would be around √ 2^68 = 234 ≈ 17 billion times more efficient in Bitcoin
mining than a classical one
IOTA Architecture
2 big differences from a blockchain
#1 Structure
IOTA ditched Blockchains. It uses a BlockDAG
Blockchains are sequential chains where blocks are added in
regular intervals.
Tangle is a DAG (Directed Acyclic Graph) so its able achieve high
transaction throughput (by parallelizing validation) and no
transaction fees on transactions.
As it grows and more participants make transactions, the overall
system becomes more secure and faster, with confirmation times /
transaction finality going down.
It’s still a distributed database, it’s still a P2P Network and it still
relies on a consensus and validation mechanism.
#2 Consensus
No Miners!
Blockchain consensus is achieved by requiring multiple parties to
"race" against each other in an attempt to add the next Block to the
Blockchain and get the block reward / transaction fees.
Because of this, consensus is decoupled from transaction
generation and is largely performed by a smaller subset of the
network, oftentimes with a high entry barrier (as is the case in
Bitcoin) which leads to further centralization
In IOTA, every participant in the network making a transaction
also actively participates in the consensus.
You reference two transactions directly and other transactions in
the sub-tangle indirectly.
Through this, validation is parallelized and the network stay
completely decentralized, with no miners to delegate trust to or
having to pay a transaction fee.
So there are no “blocks” in the classical sense. Instead, a single
transaction references two past transactions. This referencing of
transactions is seen as an attestation: with your transaction you
attest directly that two transactions, and indirectly that a
subsection of the Tangle are valid and confirm to the protocols
rules.
#1 Structure
IOTA ditched Blockchains. It uses a BlockDAG
Transaction DAG!
#2 Consensus
No Miners!
Everybody is a miner!
Green blocks transactions on which consensus was achieved
red blocks transactions where we are still uncertain on their full acceptance
grey blocks tips (unconfirmed transactions)
Basically, instead of a smaller subset of the network being
responsible for the overall consensus (miners / stakers), the entire
network of active participants (i.e. devices making transactions),
are directly involved in the approval of transactions. As such,
consensus in IOTA is no longer decoupled from the transaction
making process: it’s an intrinsic part of it, and it’s what enables
IOTA to scale without any transaction fees.
Quantum-resistant
(Arguably)
Based on Winternitz-one-time-signature
How does a transaction
work in IOTA?
It's a 3 step process to make a transaction
Step 1: Signing - You sign the transaction inputs with your private
“keys” (not “key”)
Step 2: Tip Selection - MCMC (Markov chain Monte Carlo) is used
to randomly select two tips (i.e. unconfirmed transactions), which
will be referenced by your transaction (branchTransaction and
trunkTransaction)
Step 3: Proof of Work - In order to have your transaction accepted
by the network, you need to do some Proof of Work — similar to
Hashcash (spam and sybil-resistance)
Once you’ve done that, your
transaction will be broadcast to the
network. Someone else will come along,
choose your transaction in the tip
selection process and validate it. And
just like that, your transaction is
confirmed
It's quite easy to determine the confirmation level of your
transaction: it executes the MCMC algorithm N times, the
probability of your transaction being accepted is therefore M of N
(M being the number of times you land on a tip that has a direct
path to your transaction).
As a merchant, in IOTA you have complete freedom to decide with
what probability you will start accepting transactions. If you are
happy with 51% probability, you execute MCMC 100 times, and if
51 times or more there is a path, you accept the transaction and
exchange goods. For high value transaction you can increase this
threshold to 99 or even 100.
Full node vs Light node
A full node stores the whole
Tangle, it needs neighbours to
broadcast transactions to and
you need a static IP address or
any other static address so that
your neighbours can broadcast
transactions to you.
As a light node you do not
store the Tangle and you don't
need any neighbours.
You just need to select a host
(e.g.
https://node.tangle.works:443)
which is a full node itself. This
host provides your wallet with
all the necessary information to
make transaction.
How does IOTA prevent double
spending?In the tangle, transactions are atomic.
When a full node is asked to provide tips to a light node to create a
transaction, the full node will walk backwards along the edges of
the DAG to the genesis transaction and check if there are any
conflicting transactions along the way. If there is then that tip is
discarded. If there isn't then the tip is considered valid.
An attacker would have to outpace the input flow of new
transactions.
How does IOTA prevent double spending?
So full nodes are constantly being asked to provide branch and
trunk tips to light nodes for bundling purposes and will only select
tips free of conflict. The attacker will try and do the same with his
double-spend and has to find a way to overwhelm the entire
network's influx.
There is no global consistency in the tangle. There is only
eventual consistency.
Stuck transactions are called orphans. They can be grouped
together in subtangles.
Every node has to approve two transactions in Tangle before
making its own transaction. Some other node will then approve
your transaction to validate it. This gives each transaction a weight,
which later helps in validation, in case there is a double spending
problem.
Brief
Assume there are two conflicting transactions Tx1 and Tx2
recorded in the Tangle ledger. The cumulative weight of these
transactions will decide which one gets to stay. If Tx1 has more
cumulative weight than Tx2, it will get "approved" and Tx2 will
become stagnant and ultimately perish.
Concern
There is a chance that spammers try to rig the system by working
on their own parasitic mini-tangle networks for approving
transactions. In theory, at some point, the weight of this rigged
transaction network will stagnate and other genuine transactions
will take over.
Can merchants handle the double
spending problem?
Merchants will have more control over what they can allow and
how many transactions they want to handle. They get more power
in deciding the number or weight of transactions that they are
ready to allow, and consider "approved". As everything in IOTA
works on probability, nothing is 100% "confirmed" or "approved".
Each merchant decides their own threshold and conflicting
transactions get sorted by cumulative weight.
To make it possible for the network to grow
and protect it against certain attacks, IOTA
currently relies on a coordinator. The
coordinator checkpoints valid transactions,
which are then validated by the entire
network. The coordinator is being run by the
IOTA Foundation in a multi-signature. The
coordinator cannot go rogue, as he is being
checked and validated by the entire
network.
IOTA Use Cases
The Internet of Things!
Data Marketplace PoC
IOTAs Features
Infinite Scalability
No fee Micro-transactions
Quantum-resistance
The code
A GUI Client
Client library in Python
IOTA vs EOS
Apples vs Oranges?
Live: 3-4
In theory infinite
TPS Live: 60
All time high: 4000
Not supported yet Smart Contracts Supported in C++ language
Directed Acyclic Graph Structure Blockchain
Proof of Work Consensus Delegated Proof of Stake
Every node mines 2 transactions Mining 21 active miners selected by voting
200 standby miners
$1.2 B Market Cap $5.8 B
Data transactions are free
Value transactions happen in IOTA
Dev Cost EOS need to be staked for RAM &
Bandwidth
Decentralized storage, oracles, currency
exchange
Key Features Permission based dApp Platform
Coordinator Concern Compromised decentralization
EOS doesn’t really compete with IOTA.
EOS is a dapps platform, whereas IOTA focuses more on other
functionality, such as decentralized storage, oracles, currency
exchange, cloud computing. There is not much dapp functionality
yet on IOTA. However, this might come soon with Qubic.

More Related Content

What's hot

Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018
Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018
Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018Codemotion
 
Introduction to Blockchain Development
Introduction to Blockchain DevelopmentIntroduction to Blockchain Development
Introduction to Blockchain DevelopmentLightstreams
 
Payment Protocols - Block Chain & Beyond
Payment Protocols - Block Chain & BeyondPayment Protocols - Block Chain & Beyond
Payment Protocols - Block Chain & BeyondAlexander Kiriakou
 
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 januariArthur Janse
 
Bitcoin, Blockchain and Crypto Contracts - Part 3
Bitcoin, Blockchain and Crypto Contracts - Part 3Bitcoin, Blockchain and Crypto Contracts - Part 3
Bitcoin, Blockchain and Crypto Contracts - Part 3Prithwis Mukerjee
 
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 enNicholas Lin
 
Build your own block chain
Build your own block chainBuild your own block chain
Build your own block chainBohdan Szymanik
 
Explain Ethereum smart contract hacking like i am a five
Explain Ethereum smart contract hacking like i am a fiveExplain Ethereum smart contract hacking like i am a five
Explain Ethereum smart contract hacking like i am a fiveZoltan Balazs
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain TechnologyShubhAm RaWat
 
EDUCATION ON CRYPTOGRAPHY
EDUCATION ON CRYPTOGRAPHYEDUCATION ON CRYPTOGRAPHY
EDUCATION ON CRYPTOGRAPHYglobalbtcrating
 
Bitcoin : A fierce Decentralized internet currency
Bitcoin : A fierce Decentralized internet currencyBitcoin : A fierce Decentralized internet currency
Bitcoin : A fierce Decentralized internet currencyShivek Khurana
 
Eclipsecon Europe: Blockchain, Ethereum and Business Applications
Eclipsecon Europe: Blockchain, Ethereum and Business ApplicationsEclipsecon Europe: Blockchain, Ethereum and Business Applications
Eclipsecon Europe: Blockchain, Ethereum and Business ApplicationsMatthias Zimmermann
 
Blockchain intro at framework
Blockchain intro at frameworkBlockchain intro at framework
Blockchain intro at frameworkLon Barfield
 
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 contractsGautam Anand
 
Cryptocurrency-Bitcoin
Cryptocurrency-BitcoinCryptocurrency-Bitcoin
Cryptocurrency-BitcoinSatwikaHotwani
 
Can we safely adapt the construction of permissionless blockchain to user dem...
Can we safely adapt the construction of permissionless blockchain to user dem...Can we safely adapt the construction of permissionless blockchain to user dem...
Can we safely adapt the construction of permissionless blockchain to user dem...I MT
 

What's hot (20)

Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018
Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018
Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018
 
Introduction to Blockchain Development
Introduction to Blockchain DevelopmentIntroduction to Blockchain Development
Introduction to Blockchain Development
 
Payment Protocols - Block Chain & Beyond
Payment Protocols - Block Chain & BeyondPayment Protocols - Block Chain & Beyond
Payment Protocols - Block Chain & Beyond
 
Block Chain understanding
Block Chain understandingBlock Chain understanding
Block Chain understanding
 
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
 
Bitcoin, Blockchain and Crypto Contracts - Part 3
Bitcoin, Blockchain and Crypto Contracts - Part 3Bitcoin, Blockchain and Crypto Contracts - Part 3
Bitcoin, Blockchain and Crypto Contracts - Part 3
 
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
 
Build your own block chain
Build your own block chainBuild your own block chain
Build your own block chain
 
Introduction to Blockchain Technology
Introduction to Blockchain TechnologyIntroduction to Blockchain Technology
Introduction to Blockchain Technology
 
Blockchain Corporate Style
Blockchain Corporate StyleBlockchain Corporate Style
Blockchain Corporate Style
 
Explain Ethereum smart contract hacking like i am a five
Explain Ethereum smart contract hacking like i am a fiveExplain Ethereum smart contract hacking like i am a five
Explain Ethereum smart contract hacking like i am a five
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain Technology
 
EDUCATION ON CRYPTOGRAPHY
EDUCATION ON CRYPTOGRAPHYEDUCATION ON CRYPTOGRAPHY
EDUCATION ON CRYPTOGRAPHY
 
Bitcoin : A fierce Decentralized internet currency
Bitcoin : A fierce Decentralized internet currencyBitcoin : A fierce Decentralized internet currency
Bitcoin : A fierce Decentralized internet currency
 
Eclipsecon Europe: Blockchain, Ethereum and Business Applications
Eclipsecon Europe: Blockchain, Ethereum and Business ApplicationsEclipsecon Europe: Blockchain, Ethereum and Business Applications
Eclipsecon Europe: Blockchain, Ethereum and Business Applications
 
Blockchain intro at framework
Blockchain intro at frameworkBlockchain intro at framework
Blockchain intro at framework
 
Bitcoin
Bitcoin Bitcoin
Bitcoin
 
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
 
Cryptocurrency-Bitcoin
Cryptocurrency-BitcoinCryptocurrency-Bitcoin
Cryptocurrency-Bitcoin
 
Can we safely adapt the construction of permissionless blockchain to user dem...
Can we safely adapt the construction of permissionless blockchain to user dem...Can we safely adapt the construction of permissionless blockchain to user dem...
Can we safely adapt the construction of permissionless blockchain to user dem...
 

Similar to The problem with blockchains

BlockChain for the Banker
BlockChain for the BankerBlockChain for the Banker
BlockChain for the BankerBohdan Szymanik
 
A beginners Guide to NFTs.pdf
A beginners Guide to NFTs.pdfA beginners Guide to NFTs.pdf
A beginners Guide to NFTs.pdfAkash Agrawal
 
190221 masterclass blockchain
190221 masterclass blockchain190221 masterclass blockchain
190221 masterclass blockchainBoFrank01
 
Blockchain Presentation
Blockchain PresentationBlockchain Presentation
Blockchain PresentationZied GUESMI
 
Distributed Ledgers, Blockchains, and Smart Contracts
Distributed Ledgers, Blockchains, and Smart ContractsDistributed Ledgers, Blockchains, and Smart Contracts
Distributed Ledgers, Blockchains, and Smart ContractsDusan Andric
 
Unchain Blockchain by Eva Rez
Unchain Blockchain by Eva RezUnchain Blockchain by Eva Rez
Unchain Blockchain by Eva Rezrezeva
 
Unchain Blockchain by Eva Rez
Unchain Blockchain by Eva RezUnchain Blockchain by Eva Rez
Unchain Blockchain by Eva Rezrezeva
 
bitcoin.pdf
bitcoin.pdfbitcoin.pdf
bitcoin.pdfkikofx
 
Bitcoin Whitepaper
Bitcoin WhitepaperBitcoin Whitepaper
Bitcoin WhitepaperJohnAvery36
 
Whitepaper Bitcoin: A Peer-to-Peer Electronic Cash System
Whitepaper Bitcoin: A Peer-to-Peer Electronic Cash SystemWhitepaper Bitcoin: A Peer-to-Peer Electronic Cash System
Whitepaper Bitcoin: A Peer-to-Peer Electronic Cash SystemIQbal KHan
 
Introduction for Bitcoin. Original Pater
Introduction for Bitcoin. Original PaterIntroduction for Bitcoin. Original Pater
Introduction for Bitcoin. Original PaterMarkYang62
 
Tangle: An alternative to Block chain for future of crypto currency
Tangle: An alternative to Block chain for future of crypto currency Tangle: An alternative to Block chain for future of crypto currency
Tangle: An alternative to Block chain for future of crypto currency Kishor Datta Gupta
 

Similar to The problem with blockchains (20)

BlockChain for the Banker
BlockChain for the BankerBlockChain for the Banker
BlockChain for the Banker
 
A beginners Guide to NFTs.pdf
A beginners Guide to NFTs.pdfA beginners Guide to NFTs.pdf
A beginners Guide to NFTs.pdf
 
190221 masterclass blockchain
190221 masterclass blockchain190221 masterclass blockchain
190221 masterclass blockchain
 
Crypto101.pptx
Crypto101.pptxCrypto101.pptx
Crypto101.pptx
 
Blockchain
BlockchainBlockchain
Blockchain
 
Blockchain Presentation
Blockchain PresentationBlockchain Presentation
Blockchain Presentation
 
Introduction to Blockchain
Introduction to Blockchain Introduction to Blockchain
Introduction to Blockchain
 
Distributed Ledgers, Blockchains, and Smart Contracts
Distributed Ledgers, Blockchains, and Smart ContractsDistributed Ledgers, Blockchains, and Smart Contracts
Distributed Ledgers, Blockchains, and Smart Contracts
 
crypto ppt.ppt
crypto ppt.pptcrypto ppt.ppt
crypto ppt.ppt
 
Unchain Blockchain by Eva Rez
Unchain Blockchain by Eva RezUnchain Blockchain by Eva Rez
Unchain Blockchain by Eva Rez
 
Unchain Blockchain by Eva Rez
Unchain Blockchain by Eva RezUnchain Blockchain by Eva Rez
Unchain Blockchain by Eva Rez
 
bitcoin.pdf
bitcoin.pdfbitcoin.pdf
bitcoin.pdf
 
Bitcoin White Paper
Bitcoin White PaperBitcoin White Paper
Bitcoin White Paper
 
Bitcoin whitepaper
Bitcoin whitepaperBitcoin whitepaper
Bitcoin whitepaper
 
bitcoin.pdf
bitcoin.pdfbitcoin.pdf
bitcoin.pdf
 
Bitcoin Whitepaper
Bitcoin WhitepaperBitcoin Whitepaper
Bitcoin Whitepaper
 
Whitepaper Bitcoin: A Peer-to-Peer Electronic Cash System
Whitepaper Bitcoin: A Peer-to-Peer Electronic Cash SystemWhitepaper Bitcoin: A Peer-to-Peer Electronic Cash System
Whitepaper Bitcoin: A Peer-to-Peer Electronic Cash System
 
bitcoin.pdf
bitcoin.pdfbitcoin.pdf
bitcoin.pdf
 
Introduction for Bitcoin. Original Pater
Introduction for Bitcoin. Original PaterIntroduction for Bitcoin. Original Pater
Introduction for Bitcoin. Original Pater
 
Tangle: An alternative to Block chain for future of crypto currency
Tangle: An alternative to Block chain for future of crypto currency Tangle: An alternative to Block chain for future of crypto currency
Tangle: An alternative to Block chain for future of crypto currency
 

Recently uploaded

My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 

Recently uploaded (20)

My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 

The problem with blockchains

  • 2. Scalability Bitcoin's blockchain takes about 10 minutes to confirm a transaction. Thousands of unconfirmed transactions at a time
  • 3.
  • 4. Fees Bitcoin’s mean transaction fees have already risen above 1 dollar. This can be more than the transaction amount itself. Solutions include increasing block size limit, lightning network, central servers for off-chain transactions, sidechains, and treechains
  • 5.
  • 6. Lots of computing power required Transaction speed declines as the network increases in size as more transactions compete for the limited block spaces It will take more and more computing power to mine the same amount of Bitcoin
  • 7.
  • 8. Mining is somewhat centralized in Bitcoin by giant mining pools
  • 9. Vulnerable to Quantum Attack Bitcoin and other Proof of Work based blockchains are susceptible to being broken by a powerful quantum computer On average one must check around 2^68 nonces to find a suitable hash that allows to generate a block. A quantum computer would need Θ(√ N) operations to solve a problem that needs Θ(N) operations on a classical computer. Therefore, a quantum computer would be around √ 2^68 = 234 ≈ 17 billion times more efficient in Bitcoin mining than a classical one
  • 10.
  • 11. IOTA Architecture 2 big differences from a blockchain
  • 12. #1 Structure IOTA ditched Blockchains. It uses a BlockDAG
  • 13. Blockchains are sequential chains where blocks are added in regular intervals. Tangle is a DAG (Directed Acyclic Graph) so its able achieve high transaction throughput (by parallelizing validation) and no transaction fees on transactions. As it grows and more participants make transactions, the overall system becomes more secure and faster, with confirmation times / transaction finality going down. It’s still a distributed database, it’s still a P2P Network and it still relies on a consensus and validation mechanism.
  • 14.
  • 15.
  • 17. Blockchain consensus is achieved by requiring multiple parties to "race" against each other in an attempt to add the next Block to the Blockchain and get the block reward / transaction fees. Because of this, consensus is decoupled from transaction generation and is largely performed by a smaller subset of the network, oftentimes with a high entry barrier (as is the case in Bitcoin) which leads to further centralization In IOTA, every participant in the network making a transaction also actively participates in the consensus.
  • 18. You reference two transactions directly and other transactions in the sub-tangle indirectly. Through this, validation is parallelized and the network stay completely decentralized, with no miners to delegate trust to or having to pay a transaction fee. So there are no “blocks” in the classical sense. Instead, a single transaction references two past transactions. This referencing of transactions is seen as an attestation: with your transaction you attest directly that two transactions, and indirectly that a subsection of the Tangle are valid and confirm to the protocols rules.
  • 19. #1 Structure IOTA ditched Blockchains. It uses a BlockDAG Transaction DAG!
  • 21.
  • 22. Green blocks transactions on which consensus was achieved red blocks transactions where we are still uncertain on their full acceptance grey blocks tips (unconfirmed transactions)
  • 23.
  • 24. Basically, instead of a smaller subset of the network being responsible for the overall consensus (miners / stakers), the entire network of active participants (i.e. devices making transactions), are directly involved in the approval of transactions. As such, consensus in IOTA is no longer decoupled from the transaction making process: it’s an intrinsic part of it, and it’s what enables IOTA to scale without any transaction fees.
  • 26. How does a transaction work in IOTA?
  • 27. It's a 3 step process to make a transaction Step 1: Signing - You sign the transaction inputs with your private “keys” (not “key”) Step 2: Tip Selection - MCMC (Markov chain Monte Carlo) is used to randomly select two tips (i.e. unconfirmed transactions), which will be referenced by your transaction (branchTransaction and trunkTransaction) Step 3: Proof of Work - In order to have your transaction accepted by the network, you need to do some Proof of Work — similar to Hashcash (spam and sybil-resistance)
  • 28. Once you’ve done that, your transaction will be broadcast to the network. Someone else will come along, choose your transaction in the tip selection process and validate it. And just like that, your transaction is confirmed
  • 29. It's quite easy to determine the confirmation level of your transaction: it executes the MCMC algorithm N times, the probability of your transaction being accepted is therefore M of N (M being the number of times you land on a tip that has a direct path to your transaction). As a merchant, in IOTA you have complete freedom to decide with what probability you will start accepting transactions. If you are happy with 51% probability, you execute MCMC 100 times, and if 51 times or more there is a path, you accept the transaction and exchange goods. For high value transaction you can increase this threshold to 99 or even 100.
  • 30. Full node vs Light node A full node stores the whole Tangle, it needs neighbours to broadcast transactions to and you need a static IP address or any other static address so that your neighbours can broadcast transactions to you. As a light node you do not store the Tangle and you don't need any neighbours. You just need to select a host (e.g. https://node.tangle.works:443) which is a full node itself. This host provides your wallet with all the necessary information to make transaction.
  • 31. How does IOTA prevent double spending?In the tangle, transactions are atomic. When a full node is asked to provide tips to a light node to create a transaction, the full node will walk backwards along the edges of the DAG to the genesis transaction and check if there are any conflicting transactions along the way. If there is then that tip is discarded. If there isn't then the tip is considered valid. An attacker would have to outpace the input flow of new transactions.
  • 32. How does IOTA prevent double spending? So full nodes are constantly being asked to provide branch and trunk tips to light nodes for bundling purposes and will only select tips free of conflict. The attacker will try and do the same with his double-spend and has to find a way to overwhelm the entire network's influx. There is no global consistency in the tangle. There is only eventual consistency. Stuck transactions are called orphans. They can be grouped together in subtangles.
  • 33. Every node has to approve two transactions in Tangle before making its own transaction. Some other node will then approve your transaction to validate it. This gives each transaction a weight, which later helps in validation, in case there is a double spending problem.
  • 34. Brief Assume there are two conflicting transactions Tx1 and Tx2 recorded in the Tangle ledger. The cumulative weight of these transactions will decide which one gets to stay. If Tx1 has more cumulative weight than Tx2, it will get "approved" and Tx2 will become stagnant and ultimately perish.
  • 35. Concern There is a chance that spammers try to rig the system by working on their own parasitic mini-tangle networks for approving transactions. In theory, at some point, the weight of this rigged transaction network will stagnate and other genuine transactions will take over.
  • 36. Can merchants handle the double spending problem? Merchants will have more control over what they can allow and how many transactions they want to handle. They get more power in deciding the number or weight of transactions that they are ready to allow, and consider "approved". As everything in IOTA works on probability, nothing is 100% "confirmed" or "approved". Each merchant decides their own threshold and conflicting transactions get sorted by cumulative weight.
  • 37. To make it possible for the network to grow and protect it against certain attacks, IOTA currently relies on a coordinator. The coordinator checkpoints valid transactions, which are then validated by the entire network. The coordinator is being run by the IOTA Foundation in a multi-signature. The coordinator cannot go rogue, as he is being checked and validated by the entire network.
  • 38. IOTA Use Cases The Internet of Things!
  • 39.
  • 40.
  • 41.
  • 43. IOTAs Features Infinite Scalability No fee Micro-transactions Quantum-resistance
  • 44. The code A GUI Client Client library in Python
  • 45. IOTA vs EOS Apples vs Oranges?
  • 46. Live: 3-4 In theory infinite TPS Live: 60 All time high: 4000 Not supported yet Smart Contracts Supported in C++ language Directed Acyclic Graph Structure Blockchain Proof of Work Consensus Delegated Proof of Stake Every node mines 2 transactions Mining 21 active miners selected by voting 200 standby miners $1.2 B Market Cap $5.8 B Data transactions are free Value transactions happen in IOTA Dev Cost EOS need to be staked for RAM & Bandwidth Decentralized storage, oracles, currency exchange Key Features Permission based dApp Platform Coordinator Concern Compromised decentralization
  • 47. EOS doesn’t really compete with IOTA. EOS is a dapps platform, whereas IOTA focuses more on other functionality, such as decentralized storage, oracles, currency exchange, cloud computing. There is not much dapp functionality yet on IOTA. However, this might come soon with Qubic.