SlideShare a Scribd company logo
BLOCKCHAIN
Ethereum
2018 / 08 / 28
@zigen
- Casper Sharding -
zigen
P R O F I L E
•
•
L I K E
BLOCKPARTY
•
•
E t h e r e u m
•
•
BLOCKPARTY
S h a r d i n g + C a s p e r = E t h 2 . 0
•
•
C a s p e r t h e F r i e n d l y F i n a l i t y G a d g e t
• Proof of Stake-based Finality
• Hybrid Casper / PoS on PoW / Vitalik's Casper
• New Fork Choice Rule
• EIP-1011(deprecated)
BLOCKPARTY
C a s p e r
C a s p e r t h e F r i e n d l y G h o s t
• A Correct By Construction
• Full Casper / Vlad's Casper
•
CasperFFG
https://www.slideshare.net/teramotokentaro/inside-casper
• Casper Contract
• Validator
• Client/Miner
BLOCKPARTY
C a s p e r F F G
github.com/ethereum/casper
github.com/karlfloersch/pyethereum
gitHub.com/paritytech/parity-ethereum
1. Casper Contract
2. Validator Casper Contract , 1500Eth
3. 1 (50Block) Validator Vote
4. Casper Contract Vote , slash/reward
5. Miner Casper Contract Fork
6. Validator logout Casper Contract
7. ( ) , Validator logout ,
BLOCKPARTY
C a s p e r F F G
BLOCKPARTY
C a s p e r F F G
Block1 Block2 Block3Block0 Block49 Block50
Epoch 0 Epoch 1
Checkpoint: validator vote
• Epoch 50Block
• validator Epoch vote
BLOCKPARTY
C a s p e r F F G
Block1 Block2 Block3Block0 Block49 Block50
Epoch 0
• Fork , Validator checkpoint
Block3' Block49' Block50
Validators
Vote
BLOCKPARTY
C a s p e r F F G
Block1 Block2 Block3Block0 Block49 Block50
Epoch 0
• 2/3 vote Justified
Block3' Block49' Block50
Validators
Vote
Justified
BLOCKPARTY
C a s p e r F F G
Block0 Block49 Block50
Epoch 0
• Epoch vote
• 2/3 vote
Block49' Block50'
Validators
Vote
Justified
Block99
Block99'
Epoch 1
BLOCKPARTY
C a s p e r F F G
Block0 Block49 Block50
Epoch 0
• Justified Checkpoint Justified
• , Justified Checkpoint , Finalize
Block49' Block50'
Validators
Finalized
Block99
Block99'
Epoch 1
Justified
BLOCKPARTY
C a s p e r F F G
Block0 Block49 Block50
Epoch 0
, Checkpoint Justified
Block49' Finalized
Block49' Block50'
Validators
Justified
Block99
Block99'
Epoch 1
Justified
BLOCKPARTY
C a s p e r F F G
Block0 Block49 Block50
Epoch 0
vote validator
Block49' Block50'
Validators
Justified
Block99
Block99'
Epoch 1
Justified
Validator Registration
BLOCKPARTY
C a s p e r F F G - v a l i d a t o r r e g i s t r a t i o n -
Casper Contract
Validator
Valcode
Purity checker
BLOCKPARTY
C a s p e r F F G - v a l i d a t o r r e g i s t r a t i o n -
Casper Contract
Validator
Valcode
Purity checker
Ether (Stake)
checkpoint vote
BLOCKPARTY
C a s p e r F F G - v a l i d a t o r r e g i s t r a t i o n -
Casper Contract
Validator
Valcode
Purity checker
Validator msg
signature
BLOCKPARTY
C a s p e r F F G - v a l i d a t o r r e g i s t r a t i o n -
Casper Contract
Validator
Valcode
Purity checker
Validator ,
vote ,
BLOCKPARTY
C a s p e r F F G - v a l i d a t o r r e g i s t r a t i o n -
Casper Contract
Validator
Valcode
Purity checker
Validator deploy Valcode contract
BLOCKPARTY
C a s p e r F F G - v a l i d a t o r r e g i s t r a t i o n -
Casper Contract
Validator
2. Deposit(valcode_addr)
Valcode
1. Deploy validation contract
3. Register Validator
8. Log validator index
4. raw_call(valcode_addr)
Purity checker
5. Fetch bytecode6. Purity check
7. Return result
Vote
BLOCKPARTY
C a s p e r F F G - v o t e -
Casper Contract
Validator
Valcode
Message Hasher
Vote msg hash
Contract
BLOCKPARTY
C a s p e r F F G - v o t e -
Casper Contract
Validator
1. Vote(msg)
Valcode
8. Process reward/slash
2. raw_call(msg)
Message Hasher
5. raw_call(msg, sig, hash)
3. Hash
4. Msg Hash
6. Verify msg
7. Result
BLOCKPARTY
V o t e M e s s a g e
Block0 Block49 Block50
Epoch 0
Block49' Block50'
Vote
Block99
Block99'
Epoch 1
• Validator Index
• Target Hash
• Target Epoch
• Source Epoch
• Signature
N
Hash(Block99')
1
0
Sig(Msg)
Source Target
Casper ❤ Sharding
Deprecating EIP 1011 in favor of a Casper+Sharding design
https://medium.com/@djrtwo/casper-%EF%B8%8F-sharding-28a90077f121
Casper FFG , 

BLOCKPARTY
S h a r d i n g + C a s p e r
• Sharding CasperFFG
https://twitter.com/VitalikButerin/status/1029905990085357568
Casper+Sharding v2.1
- Work in progress @ 2018, 8/28 -
https://notes.ethereum.org/SCIg8AH5SA-O4C1G1LYZHQ?view
S h a s p e r
BLOCKPARTY
01
02
03
Shard ,
Decentralized
Security
shard validator , ,
Scalabilty
C a s p e r + S h a r i n g
BLOCKPARTY
01
02
03
Main PoS Chain / Sharding Manager Contract (Validator Shuffling)

Main PoW Chain Peg
Full PoS Casper FFG / IMD GHOST
Recursive Proximity to Justification: "RPJ" 

ShardChain
Account State Transaction PoS 

1024 

Beacon Chain
Beacon Chain
BLOCKPARTY
B e a c o n C h a i n
• Full Proof of Stake Casper FFG
• Main PoW Chain Peg
• Validator
Block Main PoW Chain
BeaconBlock 1 2 3 Beacon Chain63
1slot(8sec)
1cycle(64slot)
BLOCKPARTY
B e a c o n C h a i n B l o c k • Slot Number
• Active State Root
• Crystallized State Root
• PoW Chain Ref
• Parent Hash
• Randao Reveal
Block Main PoW Chain
BeaconBlock 1 2 3 Beacon Chain63
1slot(8sec)
1cycle(64slot)
Active State
Crystallized State
• Slot Number
• Active State Root
• Crystallized State Root
• Randao Reveal
• PoW Chain Ref
• Parent Hash
BLOCKPARTY
B e a c o n C h a i n B l o c k
• Pending Attestations
• Recent Block Hashes
128 Block Hash
Parent Beacon Chain BlockPoW Block
• Validators
• Last State Recalc
Crystallized State slot
• Indices For Slots
Validator Slot , Shard
• Last Justified Slot
• Justified Streak
Justifed
• Last Finalized Slot
• Crosslinking Start Shard
• CrosslinkRecords
1Cycle
1Block
BLOCKPARTY
B e a c o n C h a i n
Block Main Chain (PoW)
BeaconBlock Beacon Chain (PoS)
Shard Chain (PoS)Block
IMD GHOST
https://ethresear.ch/t/immediate-message-driven-ghost-as-ffg-fork-choice-rule/2561
BLOCKPARTY
I m m e d i a t e - M e s s a g e - D r i v e n G H O S T
• IMD GHOST Fork Choice Rule
• Hybrid Casper FFG
•
• RPJ
1
2 3 4
2' 3' 4'
BLOCKPARTY
I m m e d i a t e - M e s s a g e - D r i v e n G H O S T
• Validator vote
Validators
BLOCKPARTY
I m m e d i a t e - M e s s a g e - D r i v e n G H O S T
• Validator vote
• , vote
15 16 65
55 56
Validators
Canonical
BLOCKPARTY
I m m e d i a t e - M e s s a g e - D r i v e n G H O S T
Fork Tree ,
vote Canonical
15 16 65
55 56
Validators
Canonical
BLOCKPARTY
I m m e d i a t e - M e s s a g e - D r i v e n G H O S T
Fork Tree ,
vote Canonical
15 51
65 20
Validators
Canonical
BLOCKPARTY
I m m e d i a t e - M e s s a g e - D r i v e n G H O S T
Hybrid CasperFFG , Finalized/Justified .
, .
15 51
65 20
Validators
Canonical
Role
BLOCKPARTY
R o l e
Validator: VRC 32ETH
Proposer: Validator
Attester: / Validator
Validators
BLOCKPARTY
V a l i d a t o r R e g i s t r a t i o n C o n t r a c t : " V R C "
Main PoW Chain VRC
32ETH
Beacon Chain watch
Validator
Main PoW Chain
Beacon Chain
VRC
Event
Deposit pubkey, 32ETH
Beacon Chain
BLOCKPARTY
B e a c o n C h a i n S t a t e
Beacon Chain Validator Shard
Crystallized State ,
Validator Slot Shard
Validator
Main PoW Chain
VRC
Shard Chain 1
Shard Chain 2
Shard Chain 3
Shard Chain N
Beacon Chain
BLOCKPARTY
B e a c o n C h a i n S t a t e
Shard Validator , Shard CrossLink
CrossLink dynasty shard_block_hash
CrossLink CrystallizedState
Validator
Main PoW Chain
VRC
Shard Chain 1
Shard Chain 2
Shard Chain 3
Shard Chain N
CrossLink
Beacon Chain
BLOCKPARTY
B e a c o n C h a i n S t a t e
Attester CrossLink Shard ,
AttestationRecord
ActiveState beacon chain
Attester Proposer
Validator
Main PoW Chain
VRC
Shard Chain 1
Shard Chain 2
Shard Chain 3
Shard Chain N
CrossLink
https://notes.ethereum.org/SCIg8AH5SA-O4C1G1LYZHQ?view#Per-block-processing
BLOCKPARTY
s p e c
• Validator Login/Logout
• Shard Chain ,
• Shard Chain
• Canonical Chain vote Slash
• Slashing Condition
• Shard
• Validator Shard
•
BLOCKPARTY
• VRC ETH Shard
• Attester Proposer
•
Implementation
BLOCKPARTY
E t h e r e u m 2 . 0
• Prysm
• Nimbus
• Diamond Drops
• Lighthouse
• Loadstar
• Harmony
github.com/prysmaticlabs/prysm
github.com/status-im/nimbus
github.com/Drops-of-Diamond/diamond_drops
github.com/sigp/lighthouse
github.com/ChainSafeSystems/lodestar_chain
github.com/ethereum/ethereumj
Go
Nim
Rust
Rust
JS
Java
P r y s m b y P r y s m a t i c L a b s
•
• Discord
• Geth ,
• github.com/prysmaticlabs/prysm
https://docs.google.com/drawings/d/1ZzzV7BNTZUl5jXkyPAXpyeW1pt7Dtz_m6KD9usQQ0o4/edit?usp=sharing
Prysm
• Ethereum sharding general introduction (deprecated) -- March 19th
• Ethereum2.0 -- July 6th
• what you can do for ethereum2.0 a.k.a. sharding -- June 12th
• Sharding FAQ
• github.com/ethereum/sharding (deprecated)
• Epoch-less CasperFFG Liveness/Safety argument
• Simple synchronous cross shard transaction protocol
• Discussion p2p message serialization standard
• CBC Casper in the face of the new PoS Sharding plasns on Ethereum
• Prysmatic Labs Biweekly Development updates
• Immediate-Message-Driven-GHOST as FFG Fork choice rule
• Beacon Chain Casper FFG RPJ mini spec
https://notes.ethereum.org/9MMuzWeFTTSg-3Tz_YeiBA?view#
hwwhww
ethresearch , gitter ethereum/sharding

More Related Content

Recently uploaded

ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
Las Vegas Warehouse
 
Recycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part IIRecycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part II
Aditya Rajan Patra
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
Rahul
 
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdfIron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
RadiNasr
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Christina Lin
 
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
ihlasbinance2003
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
IJECEIAES
 
Textile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdfTextile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdf
NazakatAliKhoso2
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
Hitesh Mohapatra
 
Heat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation pptHeat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation ppt
mamunhossenbd75
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
gerogepatton
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
JamalHussainArman
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
171ticu
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
171ticu
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMSA SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
IJNSA Journal
 
Engine Lubrication performance System.pdf
Engine Lubrication performance System.pdfEngine Lubrication performance System.pdf
Engine Lubrication performance System.pdf
mamamaam477
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
nooriasukmaningtyas
 
Engineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdfEngineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdf
abbyasa1014
 

Recently uploaded (20)

ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
 
Recycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part IIRecycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part II
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
 
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdfIron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
 
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
 
Textile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdfTextile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdf
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
 
Heat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation pptHeat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation ppt
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMSA SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
 
Engine Lubrication performance System.pdf
Engine Lubrication performance System.pdfEngine Lubrication performance System.pdf
Engine Lubrication performance System.pdf
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
 
Engineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdfEngineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdf
 

Featured

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
Christy Abraham Joy
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
Vit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
MindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
GetSmarter
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
Alireza Esmikhani
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
Project for Public Spaces & National Center for Biking and Walking
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
DevGAMM Conference
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
Erica Santiago
 

Featured (20)

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 

Ethereumの最新動向2018年8月

  • 1. BLOCKCHAIN Ethereum 2018 / 08 / 28 @zigen - Casper Sharding -
  • 2. zigen P R O F I L E • • L I K E BLOCKPARTY • •
  • 3. E t h e r e u m • • BLOCKPARTY S h a r d i n g + C a s p e r = E t h 2 . 0 • •
  • 4. C a s p e r t h e F r i e n d l y F i n a l i t y G a d g e t • Proof of Stake-based Finality • Hybrid Casper / PoS on PoW / Vitalik's Casper • New Fork Choice Rule • EIP-1011(deprecated) BLOCKPARTY C a s p e r C a s p e r t h e F r i e n d l y G h o s t • A Correct By Construction • Full Casper / Vlad's Casper •
  • 6. • Casper Contract • Validator • Client/Miner BLOCKPARTY C a s p e r F F G github.com/ethereum/casper github.com/karlfloersch/pyethereum gitHub.com/paritytech/parity-ethereum
  • 7. 1. Casper Contract 2. Validator Casper Contract , 1500Eth 3. 1 (50Block) Validator Vote 4. Casper Contract Vote , slash/reward 5. Miner Casper Contract Fork 6. Validator logout Casper Contract 7. ( ) , Validator logout , BLOCKPARTY C a s p e r F F G
  • 8. BLOCKPARTY C a s p e r F F G Block1 Block2 Block3Block0 Block49 Block50 Epoch 0 Epoch 1 Checkpoint: validator vote • Epoch 50Block • validator Epoch vote
  • 9. BLOCKPARTY C a s p e r F F G Block1 Block2 Block3Block0 Block49 Block50 Epoch 0 • Fork , Validator checkpoint Block3' Block49' Block50 Validators Vote
  • 10. BLOCKPARTY C a s p e r F F G Block1 Block2 Block3Block0 Block49 Block50 Epoch 0 • 2/3 vote Justified Block3' Block49' Block50 Validators Vote Justified
  • 11. BLOCKPARTY C a s p e r F F G Block0 Block49 Block50 Epoch 0 • Epoch vote • 2/3 vote Block49' Block50' Validators Vote Justified Block99 Block99' Epoch 1
  • 12. BLOCKPARTY C a s p e r F F G Block0 Block49 Block50 Epoch 0 • Justified Checkpoint Justified • , Justified Checkpoint , Finalize Block49' Block50' Validators Finalized Block99 Block99' Epoch 1 Justified
  • 13. BLOCKPARTY C a s p e r F F G Block0 Block49 Block50 Epoch 0 , Checkpoint Justified Block49' Finalized Block49' Block50' Validators Justified Block99 Block99' Epoch 1 Justified
  • 14. BLOCKPARTY C a s p e r F F G Block0 Block49 Block50 Epoch 0 vote validator Block49' Block50' Validators Justified Block99 Block99' Epoch 1 Justified
  • 16. BLOCKPARTY C a s p e r F F G - v a l i d a t o r r e g i s t r a t i o n - Casper Contract Validator Valcode Purity checker
  • 17. BLOCKPARTY C a s p e r F F G - v a l i d a t o r r e g i s t r a t i o n - Casper Contract Validator Valcode Purity checker Ether (Stake) checkpoint vote
  • 18. BLOCKPARTY C a s p e r F F G - v a l i d a t o r r e g i s t r a t i o n - Casper Contract Validator Valcode Purity checker Validator msg signature
  • 19. BLOCKPARTY C a s p e r F F G - v a l i d a t o r r e g i s t r a t i o n - Casper Contract Validator Valcode Purity checker Validator , vote ,
  • 20. BLOCKPARTY C a s p e r F F G - v a l i d a t o r r e g i s t r a t i o n - Casper Contract Validator Valcode Purity checker Validator deploy Valcode contract
  • 21. BLOCKPARTY C a s p e r F F G - v a l i d a t o r r e g i s t r a t i o n - Casper Contract Validator 2. Deposit(valcode_addr) Valcode 1. Deploy validation contract 3. Register Validator 8. Log validator index 4. raw_call(valcode_addr) Purity checker 5. Fetch bytecode6. Purity check 7. Return result
  • 22. Vote
  • 23. BLOCKPARTY C a s p e r F F G - v o t e - Casper Contract Validator Valcode Message Hasher Vote msg hash Contract
  • 24. BLOCKPARTY C a s p e r F F G - v o t e - Casper Contract Validator 1. Vote(msg) Valcode 8. Process reward/slash 2. raw_call(msg) Message Hasher 5. raw_call(msg, sig, hash) 3. Hash 4. Msg Hash 6. Verify msg 7. Result
  • 25. BLOCKPARTY V o t e M e s s a g e Block0 Block49 Block50 Epoch 0 Block49' Block50' Vote Block99 Block99' Epoch 1 • Validator Index • Target Hash • Target Epoch • Source Epoch • Signature N Hash(Block99') 1 0 Sig(Msg) Source Target
  • 26. Casper ❤ Sharding Deprecating EIP 1011 in favor of a Casper+Sharding design https://medium.com/@djrtwo/casper-%EF%B8%8F-sharding-28a90077f121
  • 28.
  • 29.
  • 30. BLOCKPARTY S h a r d i n g + C a s p e r • Sharding CasperFFG https://twitter.com/VitalikButerin/status/1029905990085357568
  • 31. Casper+Sharding v2.1 - Work in progress @ 2018, 8/28 - https://notes.ethereum.org/SCIg8AH5SA-O4C1G1LYZHQ?view
  • 32. S h a s p e r BLOCKPARTY 01 02 03 Shard , Decentralized Security shard validator , , Scalabilty
  • 33. C a s p e r + S h a r i n g BLOCKPARTY 01 02 03 Main PoS Chain / Sharding Manager Contract (Validator Shuffling) Main PoW Chain Peg Full PoS Casper FFG / IMD GHOST Recursive Proximity to Justification: "RPJ" ShardChain Account State Transaction PoS 1024 Beacon Chain
  • 35. BLOCKPARTY B e a c o n C h a i n • Full Proof of Stake Casper FFG • Main PoW Chain Peg • Validator Block Main PoW Chain BeaconBlock 1 2 3 Beacon Chain63 1slot(8sec) 1cycle(64slot)
  • 36. BLOCKPARTY B e a c o n C h a i n B l o c k • Slot Number • Active State Root • Crystallized State Root • PoW Chain Ref • Parent Hash • Randao Reveal Block Main PoW Chain BeaconBlock 1 2 3 Beacon Chain63 1slot(8sec) 1cycle(64slot)
  • 37. Active State Crystallized State • Slot Number • Active State Root • Crystallized State Root • Randao Reveal • PoW Chain Ref • Parent Hash BLOCKPARTY B e a c o n C h a i n B l o c k • Pending Attestations • Recent Block Hashes 128 Block Hash Parent Beacon Chain BlockPoW Block • Validators • Last State Recalc Crystallized State slot • Indices For Slots Validator Slot , Shard • Last Justified Slot • Justified Streak Justifed • Last Finalized Slot • Crosslinking Start Shard • CrosslinkRecords 1Cycle 1Block
  • 38. BLOCKPARTY B e a c o n C h a i n Block Main Chain (PoW) BeaconBlock Beacon Chain (PoS) Shard Chain (PoS)Block
  • 40. BLOCKPARTY I m m e d i a t e - M e s s a g e - D r i v e n G H O S T • IMD GHOST Fork Choice Rule • Hybrid Casper FFG • • RPJ 1 2 3 4 2' 3' 4'
  • 41. BLOCKPARTY I m m e d i a t e - M e s s a g e - D r i v e n G H O S T • Validator vote Validators
  • 42. BLOCKPARTY I m m e d i a t e - M e s s a g e - D r i v e n G H O S T • Validator vote • , vote 15 16 65 55 56 Validators Canonical
  • 43. BLOCKPARTY I m m e d i a t e - M e s s a g e - D r i v e n G H O S T Fork Tree , vote Canonical 15 16 65 55 56 Validators Canonical
  • 44. BLOCKPARTY I m m e d i a t e - M e s s a g e - D r i v e n G H O S T Fork Tree , vote Canonical 15 51 65 20 Validators Canonical
  • 45. BLOCKPARTY I m m e d i a t e - M e s s a g e - D r i v e n G H O S T Hybrid CasperFFG , Finalized/Justified . , . 15 51 65 20 Validators Canonical
  • 46. Role
  • 47. BLOCKPARTY R o l e Validator: VRC 32ETH Proposer: Validator Attester: / Validator Validators
  • 48. BLOCKPARTY V a l i d a t o r R e g i s t r a t i o n C o n t r a c t : " V R C " Main PoW Chain VRC 32ETH Beacon Chain watch Validator Main PoW Chain Beacon Chain VRC Event Deposit pubkey, 32ETH
  • 49. Beacon Chain BLOCKPARTY B e a c o n C h a i n S t a t e Beacon Chain Validator Shard Crystallized State , Validator Slot Shard Validator Main PoW Chain VRC Shard Chain 1 Shard Chain 2 Shard Chain 3 Shard Chain N
  • 50. Beacon Chain BLOCKPARTY B e a c o n C h a i n S t a t e Shard Validator , Shard CrossLink CrossLink dynasty shard_block_hash CrossLink CrystallizedState Validator Main PoW Chain VRC Shard Chain 1 Shard Chain 2 Shard Chain 3 Shard Chain N CrossLink
  • 51. Beacon Chain BLOCKPARTY B e a c o n C h a i n S t a t e Attester CrossLink Shard , AttestationRecord ActiveState beacon chain Attester Proposer Validator Main PoW Chain VRC Shard Chain 1 Shard Chain 2 Shard Chain 3 Shard Chain N CrossLink https://notes.ethereum.org/SCIg8AH5SA-O4C1G1LYZHQ?view#Per-block-processing
  • 52. BLOCKPARTY s p e c • Validator Login/Logout • Shard Chain , • Shard Chain • Canonical Chain vote Slash • Slashing Condition • Shard • Validator Shard •
  • 53. BLOCKPARTY • VRC ETH Shard • Attester Proposer •
  • 55. BLOCKPARTY E t h e r e u m 2 . 0 • Prysm • Nimbus • Diamond Drops • Lighthouse • Loadstar • Harmony github.com/prysmaticlabs/prysm github.com/status-im/nimbus github.com/Drops-of-Diamond/diamond_drops github.com/sigp/lighthouse github.com/ChainSafeSystems/lodestar_chain github.com/ethereum/ethereumj Go Nim Rust Rust JS Java
  • 56. P r y s m b y P r y s m a t i c L a b s • • Discord • Geth , • github.com/prysmaticlabs/prysm
  • 58. • Ethereum sharding general introduction (deprecated) -- March 19th • Ethereum2.0 -- July 6th • what you can do for ethereum2.0 a.k.a. sharding -- June 12th • Sharding FAQ • github.com/ethereum/sharding (deprecated) • Epoch-less CasperFFG Liveness/Safety argument • Simple synchronous cross shard transaction protocol • Discussion p2p message serialization standard • CBC Casper in the face of the new PoS Sharding plasns on Ethereum • Prysmatic Labs Biweekly Development updates • Immediate-Message-Driven-GHOST as FFG Fork choice rule • Beacon Chain Casper FFG RPJ mini spec https://notes.ethereum.org/9MMuzWeFTTSg-3Tz_YeiBA?view# hwwhww ethresearch , gitter ethereum/sharding