SlideShare uma empresa Scribd logo
1 de 17
Baixar para ler offline
Ethereum 2.0
Coinfund - Rabbithole Talks
Preston Van Loon // @preston_vanloon
Why Ethereum 2.0?
● Ethereum 1.0 has a theoretical maximum
throughput of 27 tx/s (typically max 14tx/s)
● Layer 2 scaling protocols don’t fully satisfy
the blockchain trilemma
Scalability
Decentralization Security
Ethereum 2.0 Roadmap
Ethereum 1.X
Phase 0
Beacon Chain
Phase 1
Shard Chains
Phase 2
Shards’ EVM
(State Execution)
Phase 3
Light Clients
● Independent
of ETH2.0
● eWASM
● Storage rent
● State pruning
● Proof of Stake
● Ethereum 1 -> 2
Deposit Contract
● Blockchain Entropy
● Sharding
● Cross links
● Decentralized P2P
networking at scale
● Smart Contracts
● eWASM
● Storage/state rent
● Off chain state
storage
Ethereum 1.x
This Rabbithole Talk is a two part series and this part was covered by Lane Rettig
earlier in this event.
Link to Lane’s slides
This slide is not part of the presentation, but available here for a link to more info
on Ethereum 1.x.
Phase 0 - Beacon Chain
Original diagram by Hsiao-Wei Wang
Beacon
Chain
Validator Registry
Reward / Penalties
Shuffling / Randomness
Proof of Stake Finalization
● 1 way deposit via deposit contract
● 32 ETH minimum to join
● 18 ETH ejection balance
● Exits / Withdraws
● Calculated during epoch transition
● Randomly distributed validator pool
● Verifiable delay function (at some
point)
● Calculated every epoch
● Validator slashing
● Liveness penalty
● Participation reward
● Block justification via Casper FFG
● Allows finalization of ETH 1.x
Phase 0 - Beacon Chain
Original diagram by Hsiao-Wei Wang
How to become a validator
1. Generate an Ethereum 2.0 validator address and withdrawal address
2. Send 32 ETH deposit with signed information about you as a validator
3. After 1024 PoW blocks, existing validators vote on your deposit
4. After a 16 epoch voting period, your validator enters the activation FIFO queue
5. Activation queue is processed within the maximum validator churn limits
Current as of eth2.0-specs@bb44d25
Phase 0 - Beacon Chain
Original diagram by Hsiao-Wei Wang
The role of a validator
● Propose blocks
○ Includes ETH1 data, slashings, voluntary exits, crosslinks (in phase 1)
● Create attestations
○ Attesting to their view of the world by fork choice rule
Current as of eth2.0-specs@bb44d25
Phase 0 - Beacon Chain
Original diagram by Hsiao-Wei Wang
● Blocks are produced every slot (6 seconds)
● An epoch is 64 slots (6.4 minutes)
● Epochs are considered finalized after two justified epochs
● Validator exits are delayed by 4 epochs + churn rate
● Validator withdraws are delayed by 256 epochs (~27 hours)
Current as of eth2.0-specs@bb44d25
Phase 1 - Shard Chains
Shard N
Shard 1
● Mostly research complete
● Introduces the independent
shard chains into the system
● Shard chains are linked to the beacon chain by crosslinks once per epoch
● 1024 shards initially
● No meaningful state execution on layer 1… yet
● Data layer available for layer 2 protocol execution
Original diagram by Hsiao-Wei Wang
Phase 2 - State Execution in Shards
● Replace EVM with eWASM
● Asynchronous cross shard transactions
● Contract yanking (migrating shards)
● Ethereum 2.0 becomes useful to average contract developer / users
● In research and design phase, development likely to start early 2020
● Development can start in parallel to phase 0 and phase 1
Beacon Chain
provides random
numbers
Shard Chain
provides data
Shard N
B1 B2 B3 B4 B5
VM
provides state
execution result
Shard 1
Main Chain
provides staking
State State State State State
PoW
Casper / PoS
Original diagram by Hsiao-Wei Wang
Phase 3 - Light Clients / Stateless Clients
● Minimize on chain data by moving as much as possible off chain
● Likely target beyond 2021
● Very much still in research
● https://ethresear.ch/tags/stateless
The Numbers - Minimum to Start Ethereum 2.0
Amount of ETH to be a Validator = 32 ETH
Number of Shards in Ethereum 2.0 = 1024 Shards
Minimum Validators per Committee = 111 Validators per Committee
Minimum Validators to Start ETH2.0 = 1024 * 111 = 113,664 Validators
Minimum Ether at Stake = 113,664 * 32 = 3,637,248 ETH
Maximum Annual Validator Rewards = ~4.206%
More at https://docs.ethhub.io/ethereum-roadmap/ethereum-2.0/eth-2.0-economics/Current as of eth2.0-specs@bb44d25
The Numbers - Ideal for Crosslinking
Amount of ETH to be a Validator = 32 ETH
Number of Shards in Ethereum 2.0 = 1024 Shards
Ideal Minimum Validators per Committee = 256 Validators per Committee
Ideal Minimum Validators to for Crosslinking = 1024 * 256 = 262,144 Validators
Ether at Stake = 262,144 * 32 = 8,388,608 ETH
Annual Validator Rewards = ~2.769%
More at https://docs.ethhub.io/ethereum-roadmap/ethereum-2.0/eth-2.0-economics/Current as of eth2.0-specs@bb44d25
Ethereum 2.0 - Where Are We Today?
Ethereum 1.X
Phase 0
Beacon Chain
Phase 1
Shard Chains
Phase 2
Shards’ EVM
(State Execution)
Phase 3
Light Clients
● In progress! ● Testnet is months
away
● ETA late 2019
● Research nearly
complete
● Development not
yet started
● ETA early 2020
● Research still in
progress
● Development from
ETH 1.x carries
over
● ETA late 2020 or
early 2021
● Minimal research
● ETA 2021 or later
Note: Estimates are subject to change and you should not consider this an official timeline!
Ethereum 2.0 - Who Is Working On It?
More at https://docs.ethhub.io/ethereum-roadmap/ethereum-2.0/eth2.0-teams/teams-building-eth2.0/
Team / Company Name Client Name Primary Language
Prysmatic Labs Prysm Go
ChainSafe Lodestar JavaScript / TypeScript
PegaSys Artemis Java
Harmony Harmony Java
Parity Substrate Shasper Rust
Sigma Prime Lighthouse Rust
Status Nimbus Nim
Ethereum Foundation Trinity Python
Yeeth Yeeth Swift
Questions?
Preston Van Loon // @preston_vanloon
Lane Rettig // @lrettig

Mais conteúdo relacionado

Semelhante a Preston Van Loon | Ethereum 2.0 at CoinFund Rabbithole Talks | February 28, 2019

Accurate Synchronization of EtherCAT Systems Using Distributed Clocks
Accurate Synchronization of EtherCAT Systems Using Distributed ClocksAccurate Synchronization of EtherCAT Systems Using Distributed Clocks
Accurate Synchronization of EtherCAT Systems Using Distributed ClocksDesign World
 
Build your own private blockchain based on ethereum
Build your own private blockchain based on ethereumBuild your own private blockchain based on ethereum
Build your own private blockchain based on ethereumMehran Pourvahab
 
Stefano Maestri - Why Ethereum and other blockchains are going to Proof of St...
Stefano Maestri - Why Ethereum and other blockchains are going to Proof of St...Stefano Maestri - Why Ethereum and other blockchains are going to Proof of St...
Stefano Maestri - Why Ethereum and other blockchains are going to Proof of St...Codemotion
 
HASHED LOUNGE Presents: OpenST Mosaic - Scaling blockchain economies to billi...
HASHED LOUNGE Presents: OpenST Mosaic - Scaling blockchain economies to billi...HASHED LOUNGE Presents: OpenST Mosaic - Scaling blockchain economies to billi...
HASHED LOUNGE Presents: OpenST Mosaic - Scaling blockchain economies to billi...OST | Open Simple Token
 
Istanbul BFT
Istanbul BFTIstanbul BFT
Istanbul BFTYu-Te Lin
 
Scaling blockchain poart II: Rollups by Dan Boneh
Scaling blockchain poart II: Rollups by Dan BonehScaling blockchain poart II: Rollups by Dan Boneh
Scaling blockchain poart II: Rollups by Dan Bonehr1tretyakov
 
What is Ethereum 2.0
What is Ethereum 2.0 What is Ethereum 2.0
What is Ethereum 2.0 Vikram Khanna
 
Webinar in English for the Token Bridge between RSK and Ethereum
Webinar in English for the Token Bridge between RSK and EthereumWebinar in English for the Token Bridge between RSK and Ethereum
Webinar in English for the Token Bridge between RSK and EthereumPedro Prete
 
Understanding Blockchain
Understanding BlockchainUnderstanding Blockchain
Understanding BlockchainTony Willenberg
 
Scorex meetup-aug-2015
Scorex meetup-aug-2015Scorex meetup-aug-2015
Scorex meetup-aug-2015Alex Chepurnoy
 
Hands on with Smart Contracts session #3
Hands on with Smart Contracts session #3Hands on with Smart Contracts session #3
Hands on with Smart Contracts session #3Gene Leybzon
 
Blockchain and smart contracts day 2
Blockchain and smart contracts day 2Blockchain and smart contracts day 2
Blockchain and smart contracts day 2Gene Leybzon
 
Ethcon seoul 2019 presentation final
Ethcon seoul 2019 presentation finalEthcon seoul 2019 presentation final
Ethcon seoul 2019 presentation finalHeung-No Lee
 
OpenST Mosaic Protocol introduced at ETH Berlin: Running meta-blockchains on ...
OpenST Mosaic Protocol introduced at ETH Berlin: Running meta-blockchains on ...OpenST Mosaic Protocol introduced at ETH Berlin: Running meta-blockchains on ...
OpenST Mosaic Protocol introduced at ETH Berlin: Running meta-blockchains on ...OST | Open Simple Token
 
EDCON 2017 sharing @Taipei Ethereum Meetup
EDCON 2017 sharing @Taipei Ethereum Meetup EDCON 2017 sharing @Taipei Ethereum Meetup
EDCON 2017 sharing @Taipei Ethereum Meetup Chang-Wu Chen
 
D1Conf 2018 | xDai Chain:Decentralized Insurance & the Benefits of the Stable...
D1Conf 2018 | xDai Chain:Decentralized Insurance & the Benefits of the Stable...D1Conf 2018 | xDai Chain:Decentralized Insurance & the Benefits of the Stable...
D1Conf 2018 | xDai Chain:Decentralized Insurance & the Benefits of the Stable...D1Conf
 

Semelhante a Preston Van Loon | Ethereum 2.0 at CoinFund Rabbithole Talks | February 28, 2019 (20)

Blockchain
BlockchainBlockchain
Blockchain
 
Accurate Synchronization of EtherCAT Systems Using Distributed Clocks
Accurate Synchronization of EtherCAT Systems Using Distributed ClocksAccurate Synchronization of EtherCAT Systems Using Distributed Clocks
Accurate Synchronization of EtherCAT Systems Using Distributed Clocks
 
Build your own private blockchain based on ethereum
Build your own private blockchain based on ethereumBuild your own private blockchain based on ethereum
Build your own private blockchain based on ethereum
 
Ethereum.pptx
Ethereum.pptxEthereum.pptx
Ethereum.pptx
 
Stefano Maestri - Why Ethereum and other blockchains are going to Proof of St...
Stefano Maestri - Why Ethereum and other blockchains are going to Proof of St...Stefano Maestri - Why Ethereum and other blockchains are going to Proof of St...
Stefano Maestri - Why Ethereum and other blockchains are going to Proof of St...
 
HASHED LOUNGE Presents: OpenST Mosaic - Scaling blockchain economies to billi...
HASHED LOUNGE Presents: OpenST Mosaic - Scaling blockchain economies to billi...HASHED LOUNGE Presents: OpenST Mosaic - Scaling blockchain economies to billi...
HASHED LOUNGE Presents: OpenST Mosaic - Scaling blockchain economies to billi...
 
Istanbul BFT
Istanbul BFTIstanbul BFT
Istanbul BFT
 
Bitcoin MOOC Lecture 2.pptx
Bitcoin MOOC Lecture 2.pptxBitcoin MOOC Lecture 2.pptx
Bitcoin MOOC Lecture 2.pptx
 
Scaling blockchain poart II: Rollups by Dan Boneh
Scaling blockchain poart II: Rollups by Dan BonehScaling blockchain poart II: Rollups by Dan Boneh
Scaling blockchain poart II: Rollups by Dan Boneh
 
What is Ethereum 2.0
What is Ethereum 2.0 What is Ethereum 2.0
What is Ethereum 2.0
 
Webinar in English for the Token Bridge between RSK and Ethereum
Webinar in English for the Token Bridge between RSK and EthereumWebinar in English for the Token Bridge between RSK and Ethereum
Webinar in English for the Token Bridge between RSK and Ethereum
 
Understanding Blockchain
Understanding BlockchainUnderstanding Blockchain
Understanding Blockchain
 
Scorex meetup-aug-2015
Scorex meetup-aug-2015Scorex meetup-aug-2015
Scorex meetup-aug-2015
 
Hands on with Smart Contracts session #3
Hands on with Smart Contracts session #3Hands on with Smart Contracts session #3
Hands on with Smart Contracts session #3
 
Blockchain and smart contracts day 2
Blockchain and smart contracts day 2Blockchain and smart contracts day 2
Blockchain and smart contracts day 2
 
Ethcon seoul 2019 presentation final
Ethcon seoul 2019 presentation finalEthcon seoul 2019 presentation final
Ethcon seoul 2019 presentation final
 
OpenST Mosaic Protocol introduced at ETH Berlin: Running meta-blockchains on ...
OpenST Mosaic Protocol introduced at ETH Berlin: Running meta-blockchains on ...OpenST Mosaic Protocol introduced at ETH Berlin: Running meta-blockchains on ...
OpenST Mosaic Protocol introduced at ETH Berlin: Running meta-blockchains on ...
 
Blockchain Fundamentals
Blockchain FundamentalsBlockchain Fundamentals
Blockchain Fundamentals
 
EDCON 2017 sharing @Taipei Ethereum Meetup
EDCON 2017 sharing @Taipei Ethereum Meetup EDCON 2017 sharing @Taipei Ethereum Meetup
EDCON 2017 sharing @Taipei Ethereum Meetup
 
D1Conf 2018 | xDai Chain:Decentralized Insurance & the Benefits of the Stable...
D1Conf 2018 | xDai Chain:Decentralized Insurance & the Benefits of the Stable...D1Conf 2018 | xDai Chain:Decentralized Insurance & the Benefits of the Stable...
D1Conf 2018 | xDai Chain:Decentralized Insurance & the Benefits of the Stable...
 

Último

WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
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
 
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
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
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
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro 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
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 

Último (20)

WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
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...
 
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
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
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
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 

Preston Van Loon | Ethereum 2.0 at CoinFund Rabbithole Talks | February 28, 2019

  • 1. Ethereum 2.0 Coinfund - Rabbithole Talks Preston Van Loon // @preston_vanloon
  • 2. Why Ethereum 2.0? ● Ethereum 1.0 has a theoretical maximum throughput of 27 tx/s (typically max 14tx/s) ● Layer 2 scaling protocols don’t fully satisfy the blockchain trilemma Scalability Decentralization Security
  • 3. Ethereum 2.0 Roadmap Ethereum 1.X Phase 0 Beacon Chain Phase 1 Shard Chains Phase 2 Shards’ EVM (State Execution) Phase 3 Light Clients ● Independent of ETH2.0 ● eWASM ● Storage rent ● State pruning ● Proof of Stake ● Ethereum 1 -> 2 Deposit Contract ● Blockchain Entropy ● Sharding ● Cross links ● Decentralized P2P networking at scale ● Smart Contracts ● eWASM ● Storage/state rent ● Off chain state storage
  • 4. Ethereum 1.x This Rabbithole Talk is a two part series and this part was covered by Lane Rettig earlier in this event. Link to Lane’s slides This slide is not part of the presentation, but available here for a link to more info on Ethereum 1.x.
  • 5. Phase 0 - Beacon Chain Original diagram by Hsiao-Wei Wang Beacon Chain Validator Registry Reward / Penalties Shuffling / Randomness Proof of Stake Finalization ● 1 way deposit via deposit contract ● 32 ETH minimum to join ● 18 ETH ejection balance ● Exits / Withdraws ● Calculated during epoch transition ● Randomly distributed validator pool ● Verifiable delay function (at some point) ● Calculated every epoch ● Validator slashing ● Liveness penalty ● Participation reward ● Block justification via Casper FFG ● Allows finalization of ETH 1.x
  • 6. Phase 0 - Beacon Chain Original diagram by Hsiao-Wei Wang How to become a validator 1. Generate an Ethereum 2.0 validator address and withdrawal address 2. Send 32 ETH deposit with signed information about you as a validator 3. After 1024 PoW blocks, existing validators vote on your deposit 4. After a 16 epoch voting period, your validator enters the activation FIFO queue 5. Activation queue is processed within the maximum validator churn limits Current as of eth2.0-specs@bb44d25
  • 7. Phase 0 - Beacon Chain Original diagram by Hsiao-Wei Wang The role of a validator ● Propose blocks ○ Includes ETH1 data, slashings, voluntary exits, crosslinks (in phase 1) ● Create attestations ○ Attesting to their view of the world by fork choice rule Current as of eth2.0-specs@bb44d25
  • 8. Phase 0 - Beacon Chain Original diagram by Hsiao-Wei Wang ● Blocks are produced every slot (6 seconds) ● An epoch is 64 slots (6.4 minutes) ● Epochs are considered finalized after two justified epochs ● Validator exits are delayed by 4 epochs + churn rate ● Validator withdraws are delayed by 256 epochs (~27 hours) Current as of eth2.0-specs@bb44d25
  • 9. Phase 1 - Shard Chains Shard N Shard 1 ● Mostly research complete ● Introduces the independent shard chains into the system ● Shard chains are linked to the beacon chain by crosslinks once per epoch ● 1024 shards initially ● No meaningful state execution on layer 1… yet ● Data layer available for layer 2 protocol execution Original diagram by Hsiao-Wei Wang
  • 10. Phase 2 - State Execution in Shards ● Replace EVM with eWASM ● Asynchronous cross shard transactions ● Contract yanking (migrating shards) ● Ethereum 2.0 becomes useful to average contract developer / users ● In research and design phase, development likely to start early 2020 ● Development can start in parallel to phase 0 and phase 1
  • 11. Beacon Chain provides random numbers Shard Chain provides data Shard N B1 B2 B3 B4 B5 VM provides state execution result Shard 1 Main Chain provides staking State State State State State PoW Casper / PoS Original diagram by Hsiao-Wei Wang
  • 12. Phase 3 - Light Clients / Stateless Clients ● Minimize on chain data by moving as much as possible off chain ● Likely target beyond 2021 ● Very much still in research ● https://ethresear.ch/tags/stateless
  • 13. The Numbers - Minimum to Start Ethereum 2.0 Amount of ETH to be a Validator = 32 ETH Number of Shards in Ethereum 2.0 = 1024 Shards Minimum Validators per Committee = 111 Validators per Committee Minimum Validators to Start ETH2.0 = 1024 * 111 = 113,664 Validators Minimum Ether at Stake = 113,664 * 32 = 3,637,248 ETH Maximum Annual Validator Rewards = ~4.206% More at https://docs.ethhub.io/ethereum-roadmap/ethereum-2.0/eth-2.0-economics/Current as of eth2.0-specs@bb44d25
  • 14. The Numbers - Ideal for Crosslinking Amount of ETH to be a Validator = 32 ETH Number of Shards in Ethereum 2.0 = 1024 Shards Ideal Minimum Validators per Committee = 256 Validators per Committee Ideal Minimum Validators to for Crosslinking = 1024 * 256 = 262,144 Validators Ether at Stake = 262,144 * 32 = 8,388,608 ETH Annual Validator Rewards = ~2.769% More at https://docs.ethhub.io/ethereum-roadmap/ethereum-2.0/eth-2.0-economics/Current as of eth2.0-specs@bb44d25
  • 15. Ethereum 2.0 - Where Are We Today? Ethereum 1.X Phase 0 Beacon Chain Phase 1 Shard Chains Phase 2 Shards’ EVM (State Execution) Phase 3 Light Clients ● In progress! ● Testnet is months away ● ETA late 2019 ● Research nearly complete ● Development not yet started ● ETA early 2020 ● Research still in progress ● Development from ETH 1.x carries over ● ETA late 2020 or early 2021 ● Minimal research ● ETA 2021 or later Note: Estimates are subject to change and you should not consider this an official timeline!
  • 16. Ethereum 2.0 - Who Is Working On It? More at https://docs.ethhub.io/ethereum-roadmap/ethereum-2.0/eth2.0-teams/teams-building-eth2.0/ Team / Company Name Client Name Primary Language Prysmatic Labs Prysm Go ChainSafe Lodestar JavaScript / TypeScript PegaSys Artemis Java Harmony Harmony Java Parity Substrate Shasper Rust Sigma Prime Lighthouse Rust Status Nimbus Nim Ethereum Foundation Trinity Python Yeeth Yeeth Swift
  • 17. Questions? Preston Van Loon // @preston_vanloon Lane Rettig // @lrettig