GASPER and LMD-GHOST in Blockchain Consensus Protocols

 
Gasper - Combining
GHOST & Casper
 
Presentation by Sarisht Wadhwa
 
Link to paper: https://arxiv.org/pdf/2003.03052.pdf
 
Asynchrony - Liveness and Termination
 
FLP Impossibility
 
https://groups.csail.mit.edu/tds/papers/Lynch/jacm85.pdf
 
Asynchrony - Liveness and Termination
 
FLP Impossibility
 
Two Ghosts in the same trench-coat
 
 
https://blog.ethereum.org/2020/02/12/validated-staking-on-eth2-2-two-ghosts-in-a-trench-coat/
I can solve
consensus with
liveness, but
can’t be safe
I can solve
consensus with
safety, but can’t
guarantee an
output each time
 
Two Ghosts in the same trench-coat
 
Ok Let’s
combine and do
it all**
Two Ghosts in the same trench-coat
 
Ideal View of live protocol
live
 
Ideal View of safe protocol
 
Something like PBFT suffices for a safe but non terminating consensus
safe
 
Organization of Presentation
 
 
GHOST and its variants
Casper FFG
Gasper: Combining both the ghosts
GHOST
(And Variants)
Casper
FFG
GASPER
(GHOST+ CASPER FFG)
 
GHOST: Greediest Heaviest Observed SubTree
H
E
G
J
L
 
A
B
D
C
F
I
M
K
 
VIEW of Validator
 
LMD-GHOST: 
Latest Message Driven GHOST
H
E
G
J
L
A
B
D
C
F
I
M
K
 
VIEW of Validator
H
E
G
J
L
 
A
B
D
C
F
I
M
K
 
VIEW of Validator
 
LMD-GHOST: 
Latest Message Driven GHOST
 
GHOST Properties
Probabilistic
Safety
Always Live
 
Progress
 
LMD-GHOST
Casper
FFG
GASPER
(GHOST+ CASPER FFG)
GHOST
HLMD GHOST
 
Casper FFG
Checkpoint
Block A
Attestation
Justification
Justified
Checkpoint
Block A
Justified
Checkpoint
Block A
 
Casper FFG
Checkpoint
Block A
extends
Justified
Checkpoint
block B
Attestation
Justification
 
Extend the last justified block in your attestation
 
Casper FFG
Attestation
Justification
Checkpoint
Block B
Attestation
Justification
Checkpoint
Block A
extending B
Justified
Checkpoint
Block A
 
Casper FFG
Attestation
Justification
Checkpoint
Block B
Attestation
Justification
Checkpoint
Block A
extending B
Checkpoint
Block A
 
Casper FFG
Attestation
Justification
Checkpoint
Block B
Attestation
Justification
Checkpoint
Block A
extending B
Checkpoint
Block A
 
Slashing
Block A
Block B
 
height
 
Slashing
Block A
Block B
 
height
 
Slashing
Block A1
Block B1
Block A0
Block B0
 
Slashing
Block A1
Block B1
Block A0
Block B0
 
Casper FFG Properties
Accountable
Safety
Plausible
Liveness
 
Progress
LMD-GHOST
Slashing
GASPER
(GHOST+ CASPER FFG)
GHOST
HLMD-GHOST
Casper
FFG
 
Gasper
 
Epoch 0
 
Epoch 1
 
Epoch 2
 
Epoch 3
1
2
3
4
5
6
7
8
9
10
11
12
 
Epoch Boundary Blocks and Pairs
 
EBB - Epoch Boundary Block (Block, epoch)
LEBB - Last Epoch Boundary Block
 
Validators
 
Epoch 0
 
Epoch 1
 
Epoch 2
 
Epoch 3
1
2
3
4
5
6
7
8
9
10
11
12
 
Proposers
 
Validators
 
Epoch 0
 
Epoch 1
 
Epoch 2
 
Epoch 3
1
2
3
4
5
6
7
8
9
10
11
12
 
...
 
Committee
B
l
o
c
k
 
B
Blocks and attestations
A
t
t
e
s
t
a
t
i
o
n
 
A
Slot(B)
Parent(B)
Accepted attestations
Block Data
Slot(A)
Block(A)
Checkpoint Edge
 
Justification
 
k-Finalization
 
Progress
LMD-GHOST
Slashing
GASPER
(GHOST+ CASPER FFG)
GHOST
HLMD-GHOST
Casper
FFG
 
HLMD-GHOST: 
Hybrid Latest Message Driven GHOST
H
E
G
J
L
A
B
D
C
F
I
M
K
 
VIEW of Validator
X
A’
B’
 
x10000
 
Justified
Block
 
Properties
 
 
O
n
e
 
e
p
o
c
h
 
-
>
 
A
t
-
m
o
s
t
 
o
n
e
 
J
u
s
t
i
f
i
c
a
t
i
o
n
,
 
o
r
 
(
)
 
S
l
a
s
h
i
n
g
 
o
f
 
S
t
a
k
e
s
 
w
i
l
l
h
a
p
p
e
n
F
i
n
a
l
i
z
a
t
i
o
n
:
 
B
l
o
c
k
 
a
l
w
a
y
s
 
i
n
c
l
u
d
e
d
,
 
o
r
 
s
y
s
t
e
m
 
i
s
 
b
r
o
k
e
n
!
 
M
a
j
o
r
 
s
l
a
s
h
i
n
g
 
c
a
n
h
a
p
p
e
n
 
i
n
 
t
h
i
s
 
c
a
s
e
.
 
GASPER Properties
Accountably
Safety
Always Live
 
Progress
LMD-GHOST
Slashing
GASPER
(GHOST+ CASPER FFG)
GHOST
HLMD-GHOST
Casper
FFG
Slide Note
Embed
Share

Delve into the world of blockchain consensus with GASPER and LMD-GHOST, two innovative approaches combining safety and liveness properties. Learn about GHOST, Casper FFG, and the progress made in achieving probabilistic safety and liveness in distributed systems.

  • Blockchain
  • Consensus Protocols
  • GASPER
  • LMD-GHOST
  • Distributed Systems

Uploaded on Sep 14, 2024 | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.

E N D

Presentation Transcript


  1. Gasper - Combining GHOST & Casper Presentation by Sarisht Wadhwa Link to paper: https://arxiv.org/pdf/2003.03052.pdf

  2. Asynchrony - Liveness and Termination FLP Impossibility https://groups.csail.mit.edu/tds/papers/Lynch/jacm85.pdf

  3. Asynchrony - Liveness and Termination FLP Impossibility But We want All!!

  4. Two Ghosts in the same trench-coat I can solve consensus with safety, but can t guarantee an output each time I can solve consensus with liveness, but can t be safe https://blog.ethereum.org/2020/02/12/validated-staking-on-eth2-2-two-ghosts-in-a-trench-coat/

  5. Two Ghosts in the same trench-coat Ok Let s combine and do it all**

  6. Two Ghosts in the same trench-coat GASPER

  7. Organization of Presentation GHOST and its variants GASPER (GHOST+ CASPER FFG) Casper FFG Gasper: Combining both the ghosts GHOST (And Variants) Casper FFG

  8. GHOST: Greediest Heaviest Observed SubTree VIEW of Validator L D G J M A B I K F C H E

  9. LMD-GHOST: Latest Message Driven GHOST VIEW of Validator L D G J M A B I K F C H E

  10. LMD-GHOST: Latest Message Driven GHOST VIEW of Validator L D G J M A B I K F C H E

  11. GHOST Properties Probabilistic Safety Always Live

  12. Progress GASPER (GHOST+ CASPER FFG) HLMD GHOST Casper FFG LMD-GHOST GHOST

  13. Casper FFG Attestation Justification Justified Checkpoint Block A Checkpoint Block A Justified Checkpoint Block A

  14. Casper FFG Attestation Justification Checkpoint Block A extends Justified Checkpoint block B Extend the last justified block in your attestation

  15. Casper FFG Attestation Justification Attestation Justification Justified Checkpoint Block A Checkpoint Block B Checkpoint Block A extending B

  16. Casper FFG Attestation Justification Attestation Justification Checkpoint Block B Checkpoint Block A extending B Checkpoint Block A What if no 2/3 Majority is reached in this round?

  17. Casper FFG Attestation Justification Attestation Justification Checkpoint Block B Checkpoint Block A extending B Checkpoint Block A

  18. Slashing height Block A Block B

  19. Slashing height Block A Block B Beacon Chain

  20. Slashing Block A0 Block B0 Block B1 Block A1

  21. Slashing Block A0 Block B0 Block B1 Block A1 Beacon Chain

  22. Casper FFG Properties Plausible Liveness Accountable Safety

  23. Progress GASPER (GHOST+ CASPER FFG) HLMD-GHOST LMD-GHOST Slashing Casper FFG GHOST

  24. Gasper Epoch 3 Epoch 0 Epoch 1 Epoch 2 1 2 3 4 6 9 10 11 12 5 7 8

  25. Epoch Boundary Blocks and Pairs EBB - Epoch Boundary Block (Block, epoch) LEBB - Last Epoch Boundary Block

  26. Blocks and attestations Block B Attestation A Slot(B) Parent(B) Slot(A) Block(A) Checkpoint Edge Accepted attestations Block Data

  27. Justification

  28. k-Finalization

  29. Progress GASPER (GHOST+ CASPER FFG) HLMD-GHOST LMD-GHOST Slashing Casper FFG GHOST

  30. HLMD-GHOST: Hybrid Latest Message Driven GHOST VIEW of Validator x10000 A B L D G J M X A B I K F C H E Justified Block

  31. Properties One epoch -> At-most one Justification, or ( ) Slashing of Stakes will happen Finalization: Block always included, or system is broken! Major slashing can happen in this case.

  32. GASPER Properties Accountably Safety Always Live

  33. Progress GASPER (GHOST+ CASPER FFG) HLMD-GHOST LMD-GHOST Slashing Casper FFG GHOST

More Related Content

giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#