SlideShare une entreprise Scribd logo
1  sur  10
Practical Challenges for
Public Blockchains
Cork Blockchain Meetup #5, 2018-09-12
Johannes Ahlmann
source: https://i.ytimg.com/vi/-hu2u-kuD8A/maxresdefault.jpg
Practical Challenges
• Storage
• cost, governance, data availability
• Smart Contract Development
• limitations, security, verification
• On-Chain vs. Off-Chain World
• Oracles
• Governance
• how to negotiate changes & address issues
• Confidentiality
• how to keep others from seeing my data
• Authentication
• is a user who they say they are
• identity is a bearer instrument
http://simplecrm.com.sg/blog/wp-content/uploads/2015/12/Plan-vs-Reality-small.jpeg
Storage
• This may well be the biggest challenge for current
generation public blockchains
• Can store hash of document (proof of existence)
• Eternal storage vs. time-bound
• Elective storage vs. guaranteed
• Who has ownership/ control over the data. Smart
contract can't "own" off-chain data
• On-chain
• Cost of on-chain storage (1 MB ~ between
$1,000 and $10,000)
• Off-Chain:
• IPFS, Ethereum Swarm, BigchainDB, FileCoin
• EOS application stack
• storage, query services, resource limits,
governance
http://www.dreams.metroeve.com/wp-content/uploads/2016/11/dreams.metroeve_storage.jpg
Smart Contracts
• "A smart contract is a piece of code that is stored on an blockchain,
triggered by blockchain transactions and which reads and writes data
in that blockchain's database."
• Data kept, code executed on every node
• Smart Contracts are immutable and need to foresee any possible
future eventuality. Assumption prove to be wrong, objective changes,
bug/error is discovered, how to communicate successor contract to
users, how to transfer funds to successor contract
• Need conflict resolution mechanism
• Will not replace legal contracts any time soon;
more like the "contract" of money getting from your bank account to a
merchant's bank account
https://blockgeeks.com/wp-content/uploads/2016/10/smart-contracts.jpg
Smart Contract Aspects
• Very few people on the planet can write correct contracts with high
confidence/ likelihood (citation needed)
• Programming languages/ tooling not very mature
• (Solidity) Language Limitations, no standard library
• Same Virtual Machine, single execution pointer,
but your code may interact directly with other people's code
• Verification, Formal proofs?
• Smart contracts are immutable after deployment,
any eventuality needs to be foreseen
• Life-cycle, ending a contract, funds disbursement
• Ownership, Control, Versioning, who is liable?
• Basically no data confidentiality
• Finding the Greedy, Prodigal, and Suicidal Contracts at Scale
• 3 Smart Contract Misconceptions
http://emenda.com/wp-content/uploads/2016/04/Cert_Vert.png
Smart Contract Failures 1/2
• Reentrancy - contract is called again (re-entered) during execution
• “In simple words, it’s like a bank teller that doesn’t change your balance
until she has given you all the money you requested."
"Can I withdraw $500? Wait, before you update your ledger, can I
withdraw another $500?”
• DAO Contract lost 615,391 ethers (~ $50 million at the time)
• Parity multi-signature wallet bug allowed attackers to steal more than
150,000 ethers (~ $30 million dollars at the time) and block another
513,774 ethers
• Smart Contract Best Practices - Known Attacks
• A Survey of Attacks on Ethereum Smart Contracts
Attacks
Source: "A Survey of Attacks on Ethereum
Smart Contracts", Atzei N., et al, 2017
Smart Contract Failures 2/2
• Overflows and underflows
• Public functions
• can be called by anyone (by functions from
inside the contract, by functions from
inherited contracts or by outside users)
• delegatecall
• "contract can dynamically load code from a
different address at runtime. Storage,
current address and balance still refer to the
calling contract, only the code is taken from
the called address."
https://cdn-images-1.medium.com/max/800/0*TqqC7Raq_6sW7QdG.jpg
Smart Contract Challenges
https://blog.pwc.lu/wp-content/uploads/2018/06/Smart-contracts_Infographic_10-Challenges-768x1253.png
Oracle
• Allows contracts to react to/ take into account
off-chain events
• Service that makes off-chain information
available on-chain
• Downside: Inherently centralized, Single Point
of Failure
• Ideally: Use multiple sources, voting
• What if Oracle changes its mind after the fact
(doping scandal, insider trading, etc.)
• How to deal with unforeseen circumstances
(match was cancelled, public company is taken
private, country disappears, currency
disappears)
https://cdn-images-1.medium.com/max/1200/0*nEUpj7fK5HaHAOsK.png

Contenu connexe

Tendances

Blockchain, DLT, Tokens and ICO Introduction Course
Blockchain, DLT, Tokens and ICO Introduction CourseBlockchain, DLT, Tokens and ICO Introduction Course
Blockchain, DLT, Tokens and ICO Introduction CourseJean-Marc Seigneur
 
Bitcoin & Ethereum Address
Bitcoin & Ethereum AddressBitcoin & Ethereum Address
Bitcoin & Ethereum AddressPo Wei Chen
 
A Primer on Blockchain and its Potential, with a Focus on the GCC
A Primer on Blockchain and its Potential, with a Focus on the GCCA Primer on Blockchain and its Potential, with a Focus on the GCC
A Primer on Blockchain and its Potential, with a Focus on the GCCZeyad T. Al Mudhaf
 
Introduction to Ethereum
Introduction to EthereumIntroduction to Ethereum
Introduction to EthereumTerek Judi
 
Alternative Consensus & Enterprise Blockchain
Alternative Consensus & Enterprise BlockchainAlternative Consensus & Enterprise Blockchain
Alternative Consensus & Enterprise BlockchainTobias Disse
 
How Blockchain and Cryptocurrency works.
How Blockchain and Cryptocurrency works.How Blockchain and Cryptocurrency works.
How Blockchain and Cryptocurrency works.Waleed Ahmed
 
CBGTBT - Part 3 - Transactions 101
CBGTBT - Part 3 - Transactions 101CBGTBT - Part 3 - Transactions 101
CBGTBT - Part 3 - Transactions 101Blockstrap.com
 
create your own cryptocurrency
create your own cryptocurrencycreate your own cryptocurrency
create your own cryptocurrencyBellaj Badr
 
Bitcoin, Banking and the Blockchain
Bitcoin, Banking and the BlockchainBitcoin, Banking and the Blockchain
Bitcoin, Banking and the Blockchainseancarmody
 
Architecture of the Hyperledger Blockchain Fabric - Christian Cachin - IBM Re...
Architecture of the Hyperledger Blockchain Fabric - Christian Cachin - IBM Re...Architecture of the Hyperledger Blockchain Fabric - Christian Cachin - IBM Re...
Architecture of the Hyperledger Blockchain Fabric - Christian Cachin - IBM Re...Romeo Kienzler
 
IDC - Blockchain Threat Model
IDC - Blockchain Threat ModelIDC - Blockchain Threat Model
IDC - Blockchain Threat ModelPeteLind
 
Unchain Blockchain by Eva Rez
Unchain Blockchain by Eva RezUnchain Blockchain by Eva Rez
Unchain Blockchain by Eva Rezrezeva
 
Metadata in the Blockchain: The OP_RETURN Explosion
Metadata in the Blockchain: The OP_RETURN ExplosionMetadata in the Blockchain: The OP_RETURN Explosion
Metadata in the Blockchain: The OP_RETURN ExplosionCoin Sciences Ltd
 

Tendances (20)

Blockchain
BlockchainBlockchain
Blockchain
 
Blockchain, DLT, Tokens and ICO Introduction Course
Blockchain, DLT, Tokens and ICO Introduction CourseBlockchain, DLT, Tokens and ICO Introduction Course
Blockchain, DLT, Tokens and ICO Introduction Course
 
Blockchain 101
Blockchain 101Blockchain 101
Blockchain 101
 
Pi network
Pi networkPi network
Pi network
 
Bitcoin & Ethereum Address
Bitcoin & Ethereum AddressBitcoin & Ethereum Address
Bitcoin & Ethereum Address
 
A Primer on Blockchain and its Potential, with a Focus on the GCC
A Primer on Blockchain and its Potential, with a Focus on the GCCA Primer on Blockchain and its Potential, with a Focus on the GCC
A Primer on Blockchain and its Potential, with a Focus on the GCC
 
Introduction to Ethereum
Introduction to EthereumIntroduction to Ethereum
Introduction to Ethereum
 
Alternative Consensus & Enterprise Blockchain
Alternative Consensus & Enterprise BlockchainAlternative Consensus & Enterprise Blockchain
Alternative Consensus & Enterprise Blockchain
 
How Blockchain and Cryptocurrency works.
How Blockchain and Cryptocurrency works.How Blockchain and Cryptocurrency works.
How Blockchain and Cryptocurrency works.
 
CBGTBT - Part 3 - Transactions 101
CBGTBT - Part 3 - Transactions 101CBGTBT - Part 3 - Transactions 101
CBGTBT - Part 3 - Transactions 101
 
create your own cryptocurrency
create your own cryptocurrencycreate your own cryptocurrency
create your own cryptocurrency
 
Cryptocurrency101
Cryptocurrency101Cryptocurrency101
Cryptocurrency101
 
Bitcoin, Banking and the Blockchain
Bitcoin, Banking and the BlockchainBitcoin, Banking and the Blockchain
Bitcoin, Banking and the Blockchain
 
INTRO TO BLOCKCHAINS AND CRYPTOCURRENCY
INTRO TO BLOCKCHAINS AND CRYPTOCURRENCYINTRO TO BLOCKCHAINS AND CRYPTOCURRENCY
INTRO TO BLOCKCHAINS AND CRYPTOCURRENCY
 
Brief Introduction to Blockchain Security
Brief Introduction to Blockchain SecurityBrief Introduction to Blockchain Security
Brief Introduction to Blockchain Security
 
Architecture of the Hyperledger Blockchain Fabric - Christian Cachin - IBM Re...
Architecture of the Hyperledger Blockchain Fabric - Christian Cachin - IBM Re...Architecture of the Hyperledger Blockchain Fabric - Christian Cachin - IBM Re...
Architecture of the Hyperledger Blockchain Fabric - Christian Cachin - IBM Re...
 
IDC - Blockchain Threat Model
IDC - Blockchain Threat ModelIDC - Blockchain Threat Model
IDC - Blockchain Threat Model
 
Unchain Blockchain by Eva Rez
Unchain Blockchain by Eva RezUnchain Blockchain by Eva Rez
Unchain Blockchain by Eva Rez
 
Blockchain
BlockchainBlockchain
Blockchain
 
Metadata in the Blockchain: The OP_RETURN Explosion
Metadata in the Blockchain: The OP_RETURN ExplosionMetadata in the Blockchain: The OP_RETURN Explosion
Metadata in the Blockchain: The OP_RETURN Explosion
 

Similaire à Practical Challenges for Public Blockchains

An introduction to blockchain and hyperledger v ru
An introduction to blockchain and hyperledger v ruAn introduction to blockchain and hyperledger v ru
An introduction to blockchain and hyperledger v ruLennartF
 
The implications of blockchain for the insurance industry - Eurapco Peer Semi...
The implications of blockchain for the insurance industry - Eurapco Peer Semi...The implications of blockchain for the insurance industry - Eurapco Peer Semi...
The implications of blockchain for the insurance industry - Eurapco Peer Semi...Vidal Chriqui
 
Blockchain and BPM - Reflections on Four Years of Research and Applications
Blockchain and BPM - Reflections on Four Years of Research and ApplicationsBlockchain and BPM - Reflections on Four Years of Research and Applications
Blockchain and BPM - Reflections on Four Years of Research and ApplicationsIngo Weber
 
Open Infrastructure for Edge: A Distributed Ledger Outlook
Open Infrastructure for Edge: A Distributed Ledger OutlookOpen Infrastructure for Edge: A Distributed Ledger Outlook
Open Infrastructure for Edge: A Distributed Ledger OutlookNitinder Mohan
 
blockchain bootcamp @WCNJ
blockchain bootcamp @WCNJblockchain bootcamp @WCNJ
blockchain bootcamp @WCNJAsh Yadav
 
How to raise $100M for your healthcare startup via ICO: Breaking the myths of...
How to raise $100M for your healthcare startup via ICO: Breaking the myths of...How to raise $100M for your healthcare startup via ICO: Breaking the myths of...
How to raise $100M for your healthcare startup via ICO: Breaking the myths of...VSee
 
Blockchain As An Enabler_16 July 2016_David Lee_Final
Blockchain As An Enabler_16 July 2016_David Lee_FinalBlockchain As An Enabler_16 July 2016_David Lee_Final
Blockchain As An Enabler_16 July 2016_David Lee_FinalDavid Lee Kuo Chuen 李国权
 
Shift Money 2019 - The future of DLT and its applications in the financial se...
Shift Money 2019 - The future of DLT and its applications in the financial se...Shift Money 2019 - The future of DLT and its applications in the financial se...
Shift Money 2019 - The future of DLT and its applications in the financial se...Shift Conference
 
Blockchain technology.docx
Blockchain technology.docxBlockchain technology.docx
Blockchain technology.docxaymenabbaci
 
Supply Chain Management using Blockchain
Supply Chain Management using BlockchainSupply Chain Management using Blockchain
Supply Chain Management using BlockchainYugn27
 
Blockchain Technology Developments in Government 3.0
Blockchain Technology Developments in Government 3.0Blockchain Technology Developments in Government 3.0
Blockchain Technology Developments in Government 3.0samossummit
 
Blockchain - Primer for City CIOs v05 01 22.pdf
Blockchain - Primer for City CIOs v05 01 22.pdfBlockchain - Primer for City CIOs v05 01 22.pdf
Blockchain - Primer for City CIOs v05 01 22.pdfssusera441c2
 
Machine learning presentation in using pyhton
Machine learning presentation in using pyhtonMachine learning presentation in using pyhton
Machine learning presentation in using pyhtonmasukmia.com
 
Security Model of Blockchain
Security Model of BlockchainSecurity Model of Blockchain
Security Model of Blockchainsaficus
 
Block chains and crypto currencies - introduction
Block chains and crypto currencies - introductionBlock chains and crypto currencies - introduction
Block chains and crypto currencies - introductionInitio
 
Blockchain Innovation In Healthcare & Life Sciences
Blockchain Innovation In Healthcare & Life SciencesBlockchain Innovation In Healthcare & Life Sciences
Blockchain Innovation In Healthcare & Life SciencesIFAH
 
Blockchain in Media
Blockchain in MediaBlockchain in Media
Blockchain in MediaSri Hari
 

Similaire à Practical Challenges for Public Blockchains (20)

An introduction to blockchain and hyperledger v ru
An introduction to blockchain and hyperledger v ruAn introduction to blockchain and hyperledger v ru
An introduction to blockchain and hyperledger v ru
 
The implications of blockchain for the insurance industry - Eurapco Peer Semi...
The implications of blockchain for the insurance industry - Eurapco Peer Semi...The implications of blockchain for the insurance industry - Eurapco Peer Semi...
The implications of blockchain for the insurance industry - Eurapco Peer Semi...
 
Blockchain and BPM - Reflections on Four Years of Research and Applications
Blockchain and BPM - Reflections on Four Years of Research and ApplicationsBlockchain and BPM - Reflections on Four Years of Research and Applications
Blockchain and BPM - Reflections on Four Years of Research and Applications
 
Open Infrastructure for Edge: A Distributed Ledger Outlook
Open Infrastructure for Edge: A Distributed Ledger OutlookOpen Infrastructure for Edge: A Distributed Ledger Outlook
Open Infrastructure for Edge: A Distributed Ledger Outlook
 
blockchain bootcamp @WCNJ
blockchain bootcamp @WCNJblockchain bootcamp @WCNJ
blockchain bootcamp @WCNJ
 
How to raise $100M for your healthcare startup via ICO: Breaking the myths of...
How to raise $100M for your healthcare startup via ICO: Breaking the myths of...How to raise $100M for your healthcare startup via ICO: Breaking the myths of...
How to raise $100M for your healthcare startup via ICO: Breaking the myths of...
 
Blockchain As An Enabler_16 July 2016_David Lee_Final
Blockchain As An Enabler_16 July 2016_David Lee_FinalBlockchain As An Enabler_16 July 2016_David Lee_Final
Blockchain As An Enabler_16 July 2016_David Lee_Final
 
Shift Money 2019 - The future of DLT and its applications in the financial se...
Shift Money 2019 - The future of DLT and its applications in the financial se...Shift Money 2019 - The future of DLT and its applications in the financial se...
Shift Money 2019 - The future of DLT and its applications in the financial se...
 
Blockchain technology.docx
Blockchain technology.docxBlockchain technology.docx
Blockchain technology.docx
 
Supply Chain Management using Blockchain
Supply Chain Management using BlockchainSupply Chain Management using Blockchain
Supply Chain Management using Blockchain
 
Blockchain Technology Developments in Government 3.0
Blockchain Technology Developments in Government 3.0Blockchain Technology Developments in Government 3.0
Blockchain Technology Developments in Government 3.0
 
Blockchain - Primer for City CIOs v05 01 22.pdf
Blockchain - Primer for City CIOs v05 01 22.pdfBlockchain - Primer for City CIOs v05 01 22.pdf
Blockchain - Primer for City CIOs v05 01 22.pdf
 
Machine learning presentation in using pyhton
Machine learning presentation in using pyhtonMachine learning presentation in using pyhton
Machine learning presentation in using pyhton
 
Blockchain
BlockchainBlockchain
Blockchain
 
Security Model of Blockchain
Security Model of BlockchainSecurity Model of Blockchain
Security Model of Blockchain
 
Hacking blockchain
Hacking blockchainHacking blockchain
Hacking blockchain
 
Block chains and crypto currencies - introduction
Block chains and crypto currencies - introductionBlock chains and crypto currencies - introduction
Block chains and crypto currencies - introduction
 
Blockchain Innovation In Healthcare & Life Sciences
Blockchain Innovation In Healthcare & Life SciencesBlockchain Innovation In Healthcare & Life Sciences
Blockchain Innovation In Healthcare & Life Sciences
 
Blockchain in Media
Blockchain in MediaBlockchain in Media
Blockchain in Media
 
Block chainoverview
Block chainoverviewBlock chainoverview
Block chainoverview
 

Dernier

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Principled Technologies
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 

Dernier (20)

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 

Practical Challenges for Public Blockchains

  • 1. Practical Challenges for Public Blockchains Cork Blockchain Meetup #5, 2018-09-12 Johannes Ahlmann source: https://i.ytimg.com/vi/-hu2u-kuD8A/maxresdefault.jpg
  • 2. Practical Challenges • Storage • cost, governance, data availability • Smart Contract Development • limitations, security, verification • On-Chain vs. Off-Chain World • Oracles • Governance • how to negotiate changes & address issues • Confidentiality • how to keep others from seeing my data • Authentication • is a user who they say they are • identity is a bearer instrument http://simplecrm.com.sg/blog/wp-content/uploads/2015/12/Plan-vs-Reality-small.jpeg
  • 3. Storage • This may well be the biggest challenge for current generation public blockchains • Can store hash of document (proof of existence) • Eternal storage vs. time-bound • Elective storage vs. guaranteed • Who has ownership/ control over the data. Smart contract can't "own" off-chain data • On-chain • Cost of on-chain storage (1 MB ~ between $1,000 and $10,000) • Off-Chain: • IPFS, Ethereum Swarm, BigchainDB, FileCoin • EOS application stack • storage, query services, resource limits, governance http://www.dreams.metroeve.com/wp-content/uploads/2016/11/dreams.metroeve_storage.jpg
  • 4. Smart Contracts • "A smart contract is a piece of code that is stored on an blockchain, triggered by blockchain transactions and which reads and writes data in that blockchain's database." • Data kept, code executed on every node • Smart Contracts are immutable and need to foresee any possible future eventuality. Assumption prove to be wrong, objective changes, bug/error is discovered, how to communicate successor contract to users, how to transfer funds to successor contract • Need conflict resolution mechanism • Will not replace legal contracts any time soon; more like the "contract" of money getting from your bank account to a merchant's bank account https://blockgeeks.com/wp-content/uploads/2016/10/smart-contracts.jpg
  • 5. Smart Contract Aspects • Very few people on the planet can write correct contracts with high confidence/ likelihood (citation needed) • Programming languages/ tooling not very mature • (Solidity) Language Limitations, no standard library • Same Virtual Machine, single execution pointer, but your code may interact directly with other people's code • Verification, Formal proofs? • Smart contracts are immutable after deployment, any eventuality needs to be foreseen • Life-cycle, ending a contract, funds disbursement • Ownership, Control, Versioning, who is liable? • Basically no data confidentiality • Finding the Greedy, Prodigal, and Suicidal Contracts at Scale • 3 Smart Contract Misconceptions http://emenda.com/wp-content/uploads/2016/04/Cert_Vert.png
  • 6. Smart Contract Failures 1/2 • Reentrancy - contract is called again (re-entered) during execution • “In simple words, it’s like a bank teller that doesn’t change your balance until she has given you all the money you requested." "Can I withdraw $500? Wait, before you update your ledger, can I withdraw another $500?” • DAO Contract lost 615,391 ethers (~ $50 million at the time) • Parity multi-signature wallet bug allowed attackers to steal more than 150,000 ethers (~ $30 million dollars at the time) and block another 513,774 ethers • Smart Contract Best Practices - Known Attacks • A Survey of Attacks on Ethereum Smart Contracts
  • 7. Attacks Source: "A Survey of Attacks on Ethereum Smart Contracts", Atzei N., et al, 2017
  • 8. Smart Contract Failures 2/2 • Overflows and underflows • Public functions • can be called by anyone (by functions from inside the contract, by functions from inherited contracts or by outside users) • delegatecall • "contract can dynamically load code from a different address at runtime. Storage, current address and balance still refer to the calling contract, only the code is taken from the called address." https://cdn-images-1.medium.com/max/800/0*TqqC7Raq_6sW7QdG.jpg
  • 10. Oracle • Allows contracts to react to/ take into account off-chain events • Service that makes off-chain information available on-chain • Downside: Inherently centralized, Single Point of Failure • Ideally: Use multiple sources, voting • What if Oracle changes its mind after the fact (doping scandal, insider trading, etc.) • How to deal with unforeseen circumstances (match was cancelled, public company is taken private, country disappears, currency disappears) https://cdn-images-1.medium.com/max/1200/0*nEUpj7fK5HaHAOsK.png