ALGOS TRUTH JUSTICE
Cryptocurrencies II: Selfish Mining
Teachers: Ariel Procaccia and Alex Psomas (this time)
Last time: Basic concepts Double spend attack Today: Block - - PowerPoint PPT Presentation
T RUTH J USTICE A LGOS Cryptocurrencies II: Selfish Mining Teachers: Ariel Procaccia and Alex Psomas (this time) Last time: Basic concepts Double spend attack Today: Block withholding attacks (Selfish mining) Get a taste of
Teachers: Ariel Procaccia and Alex Psomas (this time)
! Current public longest branch … Keep this one secret
! Current public longest branch … Publish your block
! Current public longest branch … 2 blocks ahead!
! Current public longest branch … 2 blocks ahead!
! Current public longest branch …
A !
0’ 1 2 3
… @ @ @ 1 − @ 1 − @ @ 1 − @ 1 − @ 1 − @ 1
0’ 1 2 3
… ' ' ' 1 − ' 1 − ' ' 1 − ' 1 − ' 1 − ' 1
>
0’ 1 2 3
… ' ' ' 1 − ' 1 − ' ' 1 − ' 1 − ' 1 − ' 1
23425 2(42738259:)
:38259427
23425 42738259:
2 :32 A3: 23425 42738259:
0’ 1 2 3
… ' ' ' 1 − ' 1 − ' ' 1 − ' 1 − ' 1 − ' 1
a) Two branches of length 1, attacker finds a block
HII += 2 ⋅ MNO ⋅ '
b) Two branches of length 1, honest miners find a block on top of attacker’s block
HII += MNO ⋅ Q ⋅ (1 − '), G STU += MNO ⋅ Q ⋅ (1 − ')
c) Two branches of length 1, honest miners find a block on top of honest block
STU += MNO ⋅ 1 − Q ⋅ 1 − '
0’ 1 2 3
… ' ' ' 1 − ' 1 − ' ' 1 − ' 1 − ' 1 − ' 1
d) No private branch, honest find block
e) Lead is 2. Honest find block; attacker publishes private chain
f) Lead more than 2. Honest find block; attacker publishes one block
B1 B2 B5 B4 B3 B6 B8 B9 B7 … ?O B10
…
D :
E G
NO P,Q RNOS(P,Q)
KLM,…,O@A{01 0, P }, R01 3 + 1, 5 + 1 − R 01@A(3, 5 + 1)}
K
Give up Don’t give up
gd`acb`fd`h
N OPN OQRPS