On instabilities of the Bitcoin protocol Ricardo P erez-Marco - - PowerPoint PPT Presentation

on instabilities of the bitcoin protocol
SMART_READER_LITE
LIVE PREVIEW

On instabilities of the Bitcoin protocol Ricardo P erez-Marco - - PowerPoint PPT Presentation

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability On instabilities of the Bitcoin protocol Ricardo P erez-Marco @rperezmarco CNRS, IMJ-PRG, Univ. Paris 7 Breaking


slide-1
SLIDE 1

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

On instabilities of the Bitcoin protocol

Ricardo P´ erez-Marco @rperezmarco CNRS, IMJ-PRG, Univ. Paris 7 Breaking Bitcoin Paris September 10, 2017

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-2
SLIDE 2

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

On instabilities of the Bitcoin protocol

1

Dynamical instability

2

Perdurance of the Bitcoin protocol.

3

Hard forks

4

Double spend attacks

5

Catch-up mining instability

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-3
SLIDE 3

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

The Mandelbrot set

Iteration of x → x2 + c

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-4
SLIDE 4

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Details of the Mandelbrot set

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-5
SLIDE 5

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

The Lorentz Attractor

Simple meteorological model.

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-6
SLIDE 6

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Details of the Lorentz Attractor

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-7
SLIDE 7

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

The Butterfly Effect

Butterfly effect A tiny change on initial conditions may produce large deviations

  • n the long term behavior.
  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-8
SLIDE 8

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

The Butterfly Effect

Butterfly effect A tiny change on initial conditions may produce large deviations

  • n the long term behavior.

Example Something as small as the flutter of a butterfly’s wing can cause a tornado in another part of the Earth.

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-9
SLIDE 9

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Dynamical Instability

Definition Dynamical Instability: Anything that can change the steady evolution of a Dynamical System.

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-10
SLIDE 10

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Dynamical Instability

Definition Dynamical Instability: Anything that can change the steady evolution of a Dynamical System.

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-11
SLIDE 11

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Dynamical Instability

Definition Dynamical Instability: Anything that can change the steady evolution of a Dynamical System. This “change” can have different natures: Catastrophic, mildly disfunctioning, operating abnormaly,...

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-12
SLIDE 12

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Some examples

The stability of the Solar System.

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-13
SLIDE 13

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Some examples

The stability of the Solar System. Hydrodynamical stability and turbulence.

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-14
SLIDE 14

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Some examples

The stability of the Solar System. Hydrodynamical stability and turbulence. Competing species in biology.

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-15
SLIDE 15

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Some examples

The stability of the Solar System. Hydrodynamical stability and turbulence. Competing species in biology. Stability of the Financial System.

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-16
SLIDE 16

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Some examples

The stability of the Solar System. Hydrodynamical stability and turbulence. Competing species in biology. Stability of the Financial System. In particular, stability of the Monetary System.

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-17
SLIDE 17

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Some examples

The stability of the Solar System. Hydrodynamical stability and turbulence. Competing species in biology. Stability of the Financial System. In particular, stability of the Monetary System. Stability of the Bitcoin Protocol.

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-18
SLIDE 18

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

The Bitcoin Dynamical System

On 1/3/2009 the Bitcoin Dynamical System is launched.

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-19
SLIDE 19

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

The Bitcoin Dynamical System

On 1/3/2009 the Bitcoin Dynamical System is launched.

  • S. Nakamoto, 11/1/2008
  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-20
SLIDE 20

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Basic stability question: How likely is the Bitcoin network be able to survive over the long run?

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-21
SLIDE 21

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Basic stability question: How likely is the Bitcoin network be able to survive over the long run?

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-22
SLIDE 22

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Basic stability question: How likely is the Bitcoin network be able to survive over the long run? To answer this question we need to analyze all possible risks: Threats, possible bugs, hacks, social attacks (see Alyse Killeen’s talk), etc

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-23
SLIDE 23

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Basic stability question: How likely is the Bitcoin network be able to survive over the long run? To answer this question we need to analyze all possible risks: Threats, possible bugs, hacks, social attacks (see Alyse Killeen’s talk), etc There are some general arguments that give an useful insight.

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-24
SLIDE 24

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Lindy Effect

A quantitative version of the “test of time”.

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-25
SLIDE 25

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Lindy Effect

A quantitative version of the “test of time”. Lindy Effect Future life expectancy is proportional to its current age. Goldman (1964), Mandelbrot (1984), Taleb (2007),...

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-26
SLIDE 26

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Lindy Effect

A quantitative version of the “test of time”. Lindy Effect Future life expectancy is proportional to its current age. Goldman (1964), Mandelbrot (1984), Taleb (2007),...

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-27
SLIDE 27

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Lindy Effect

A quantitative version of the “test of time”. Lindy Effect Future life expectancy is proportional to its current age. Goldman (1964), Mandelbrot (1984), Taleb (2007),... Approximate and very general.

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-28
SLIDE 28

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Lindy Effect

A quantitative version of the “test of time”. Lindy Effect Future life expectancy is proportional to its current age. Goldman (1964), Mandelbrot (1984), Taleb (2007),... Approximate and very general. Applies to new technologies...and to cryptocurrencies.

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-29
SLIDE 29

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Lindy Effect

A quantitative version of the “test of time”. Lindy Effect Future life expectancy is proportional to its current age. Goldman (1964), Mandelbrot (1984), Taleb (2007),... Approximate and very general. Applies to new technologies...and to cryptocurrencies. Example: Bitcoin’s life expectancy is 4 times larger than ETH life expectancy.

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-30
SLIDE 30

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Idea for a definite BIP proposal

Corollary Resilience improves with time.

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-31
SLIDE 31

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Idea for a definite BIP proposal

Corollary Resilience improves with time.

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-32
SLIDE 32

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Idea for a definite BIP proposal

Corollary Resilience improves with time. If it ain’t broke, don’t fix it!

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-33
SLIDE 33

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Idea for a definite BIP proposal

Corollary Resilience improves with time. If it ain’t broke, don’t fix it!

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-34
SLIDE 34

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Idea for a definite BIP proposal

Corollary Resilience improves with time. If it ain’t broke, don’t fix it! Definite BIP Don’t touch the Bitcoin protocol unless there is an obvious bug

  • r a direct threat.
  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-35
SLIDE 35

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Idea for a definite BIP proposal

Corollary Resilience improves with time. If it ain’t broke, don’t fix it! Definite BIP Don’t touch the Bitcoin protocol unless there is an obvious bug

  • r a direct threat.
  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-36
SLIDE 36

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Idea for a definite BIP proposal

Corollary Resilience improves with time. If it ain’t broke, don’t fix it! Definite BIP Don’t touch the Bitcoin protocol unless there is an obvious bug

  • r a direct threat.

And this is a BIP since Bitcoin improves along with its lifetime...

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-37
SLIDE 37

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Antifragility

Antifragile System (Taleb, 2012) An evolving Dynamical System that increases in capability, resilience, or robustness as a result of stressors, shocks, volatility, noise, mistakes, faults, attacks, or failures

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-38
SLIDE 38

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Antifragility

Antifragile System (Taleb, 2012) An evolving Dynamical System that increases in capability, resilience, or robustness as a result of stressors, shocks, volatility, noise, mistakes, faults, attacks, or failures

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-39
SLIDE 39

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Antifragility

Antifragile System (Taleb, 2012) An evolving Dynamical System that increases in capability, resilience, or robustness as a result of stressors, shocks, volatility, noise, mistakes, faults, attacks, or failures Decentralized systems are more antifragile than centralized systems that have a “central point of failure”.

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-40
SLIDE 40

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Antifragility

Antifragile System (Taleb, 2012) An evolving Dynamical System that increases in capability, resilience, or robustness as a result of stressors, shocks, volatility, noise, mistakes, faults, attacks, or failures Decentralized systems are more antifragile than centralized systems that have a “central point of failure”. “What doesn’t kill you makes you stronger”

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-41
SLIDE 41

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Good and bad hard forks

Question Are hard forks a disruption or a feature of the Bitcoin protocol?

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-42
SLIDE 42

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Good and bad hard forks

Question Are hard forks a disruption or a feature of the Bitcoin protocol?

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-43
SLIDE 43

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Good and bad hard forks

Question Are hard forks a disruption or a feature of the Bitcoin protocol?

  • “Unity gives strength”: A hard fork splits the hashrate of the
  • network. Security is directly proportional to hashrate. Thus a

hard fork is negative from this point of view.

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-44
SLIDE 44

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Good and bad hard forks

Question Are hard forks a disruption or a feature of the Bitcoin protocol?

  • “Unity gives strength”: A hard fork splits the hashrate of the
  • network. Security is directly proportional to hashrate. Thus a

hard fork is negative from this point of view.

  • There are also “hidden costs” (see Jimmy Song’s talk)
  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-45
SLIDE 45

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Good and bad hard forks

Question Are hard forks a disruption or a feature of the Bitcoin protocol?

  • “Unity gives strength”: A hard fork splits the hashrate of the
  • network. Security is directly proportional to hashrate. Thus a

hard fork is negative from this point of view.

  • There are also “hidden costs” (see Jimmy Song’s talk)

But things are far more subtle...

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-46
SLIDE 46

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Hard forks and prize

  • The market price should reflect if a hard fork is bad.
  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-47
SLIDE 47

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Hard forks and prize

  • The market price should reflect if a hard fork is bad.
  • More precisely, if the sum of the capitalization of the two

resulting coins is much lower than the prefork capitalization, the market has decided that the fork is bad.

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-48
SLIDE 48

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Hard forks and prize

  • The market price should reflect if a hard fork is bad.
  • More precisely, if the sum of the capitalization of the two

resulting coins is much lower than the prefork capitalization, the market has decided that the fork is bad.

  • One may argue that this sum of capitalizations must always

be lower, because it cannot be always higher or a succession of forks will keep increasing wealth (!)

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-49
SLIDE 49

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Hard forks and prize

  • The market price should reflect if a hard fork is bad.
  • More precisely, if the sum of the capitalization of the two

resulting coins is much lower than the prefork capitalization, the market has decided that the fork is bad.

  • One may argue that this sum of capitalizations must always

be lower, because it cannot be always higher or a succession of forks will keep increasing wealth (!)

  • But this turns out to be empirically false as observed for the

Bitcoin’s BTC/BCH fork and the previous ETH/ETC fork !

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-50
SLIDE 50

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Hard forks and prize

  • The market price should reflect if a hard fork is bad.
  • More precisely, if the sum of the capitalization of the two

resulting coins is much lower than the prefork capitalization, the market has decided that the fork is bad.

  • One may argue that this sum of capitalizations must always

be lower, because it cannot be always higher or a succession of forks will keep increasing wealth (!)

  • But this turns out to be empirically false as observed for the

Bitcoin’s BTC/BCH fork and the previous ETH/ETC fork !

  • What’s going on?
  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-51
SLIDE 51

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Uncertainty and prize

  • Why the sum of capitalizations after fork increases? Where is

this wealth coming from?

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-52
SLIDE 52

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Uncertainty and prize

  • Why the sum of capitalizations after fork increases? Where is

this wealth coming from?

  • Market prize factors all future expectations. When there is a

conflict on the future evolution of the protocol, this causes tensions between two camps that impact the prize.

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-53
SLIDE 53

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Uncertainty and prize

  • Why the sum of capitalizations after fork increases? Where is

this wealth coming from?

  • Market prize factors all future expectations. When there is a

conflict on the future evolution of the protocol, this causes tensions between two camps that impact the prize.

  • There is a hidden cost for conflict. The price is high.
  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-54
SLIDE 54

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Uncertainty and prize

  • Why the sum of capitalizations after fork increases? Where is

this wealth coming from?

  • Market prize factors all future expectations. When there is a

conflict on the future evolution of the protocol, this causes tensions between two camps that impact the prize.

  • There is a hidden cost for conflict. The price is high.
  • The fork resolves the tension when each camp gets their

choice blockchain with the version of the protocol they like.

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-55
SLIDE 55

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Uncertainty and prize

  • Why the sum of capitalizations after fork increases? Where is

this wealth coming from?

  • Market prize factors all future expectations. When there is a

conflict on the future evolution of the protocol, this causes tensions between two camps that impact the prize.

  • There is a hidden cost for conflict. The price is high.
  • The fork resolves the tension when each camp gets their

choice blockchain with the version of the protocol they like.

  • Once the tension is resolved, the uncertainty leaves and the

market price adjusts.

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-56
SLIDE 56

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

  • These are healthy hard forks if they are done for good

reasons.

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-57
SLIDE 57

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

  • These are healthy hard forks if they are done for good

reasons.

  • This is a powerful tool for resolution of conflicts which is

implicit in the Bitcoin protocol.

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-58
SLIDE 58

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

  • These are healthy hard forks if they are done for good

reasons.

  • This is a powerful tool for resolution of conflicts which is

implicit in the Bitcoin protocol.

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-59
SLIDE 59

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

A classical instability

  • If an agent controls more than 50% of the hashrate, the

network is unstable (Nakamoto).

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-60
SLIDE 60

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

A classical instability

  • If an agent controls more than 50% of the hashrate, the

network is unstable (Nakamoto).

  • Computation of the probability of a double spend attack.
  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-61
SLIDE 61

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

A classical instability

  • If an agent controls more than 50% of the hashrate, the

network is unstable (Nakamoto).

  • Computation of the probability of a double spend attack.

“assuming the honest blocks took the average expected time per block”

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-62
SLIDE 62

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Correct computation

Join work with Cyril Grunspan, ArXiv:1702.02867, 2017.

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-63
SLIDE 63

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Correct computation

Join work with Cyril Grunspan, ArXiv:1702.02867, 2017. Theorem Let 0 < q < 1/2 be the relative hash power of the group of the attackers, and p = 1 − q. After z blocks have been validated by the honest miners, the probability of success of the attackers is P(z) = I4pq(z, 1/2) , where Ix(a, b) is the Regularized Incomplete Beta Function Ix(a, b) = Γ(a + b) Γ(a)Γ(b) x ta−1(1 − t)b−1 dt .

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-64
SLIDE 64

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Corollary

A Corollary (that everyone knew)

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-65
SLIDE 65

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Corollary

A Corollary (that everyone knew) Corollary The probability of a double spend decreases exponentially with the number of confirmations.

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-66
SLIDE 66

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

A more precise probability

The parameter κ measures the deviation from average time validation of honest blocks (κ = 1 is Satoshi’s assumption).

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-67
SLIDE 67

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

A more precise probability

The parameter κ measures the deviation from average time validation of honest blocks (κ = 1 is Satoshi’s assumption).

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-68
SLIDE 68

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

A new type of instability

  • Decentralization: Bitcoin Protocol must self-regulate.
  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-69
SLIDE 69

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

A new type of instability

  • Decentralization: Bitcoin Protocol must self-regulate.
  • Participating agents follow the rules of the protocol because
  • f self-economic interest.
  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-70
SLIDE 70

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

A new type of instability

  • Decentralization: Bitcoin Protocol must self-regulate.
  • Participating agents follow the rules of the protocol because
  • f self-economic interest.
  • Example: A miner must mine on top of the largest work

blockchain.

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-71
SLIDE 71

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

A new type of instability

  • Decentralization: Bitcoin Protocol must self-regulate.
  • Participating agents follow the rules of the protocol because
  • f self-economic interest.
  • Example: A miner must mine on top of the largest work

blockchain.

  • If a miner just mined a block, but he realizes than just before

another block has propagated on the network, will he start mining on top of the network blockchain?

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-72
SLIDE 72

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

A new type of instability

  • Decentralization: Bitcoin Protocol must self-regulate.
  • Participating agents follow the rules of the protocol because
  • f self-economic interest.
  • Example: A miner must mine on top of the largest work

blockchain.

  • If a miner just mined a block, but he realizes than just before

another block has propagated on the network, will he start mining on top of the network blockchain?

  • The answer depends on the miner’s hashrate.
  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-73
SLIDE 73

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Catch-up mining

  • Let Em

n (q, v) be the EV (Expected Value) of the optimal

strategy to overcome m blocks delay in n steps for a reward v (includes block rewards, plus fees, plus a possible double spend). When Em

n (q, v) > 0 the strategy is profitable.

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-74
SLIDE 74

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Catch-up mining

  • Let Em

n (q, v) be the EV (Expected Value) of the optimal

strategy to overcome m blocks delay in n steps for a reward v (includes block rewards, plus fees, plus a possible double spend). When Em

n (q, v) > 0 the strategy is profitable.

  • The map v → Em

n (q, v) is a continuous increasing convex

affine by pieces function.

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-75
SLIDE 75

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Catch-up mining

  • Let Em

n (q, v) be the EV (Expected Value) of the optimal

strategy to overcome m blocks delay in n steps for a reward v (includes block rewards, plus fees, plus a possible double spend). When Em

n (q, v) > 0 the strategy is profitable.

  • The map v → Em

n (q, v) is a continuous increasing convex

affine by pieces function. Theorem If q > 0.42, m = 2, and b > 0 is the block reward, then limn→+∞ E2

n(q, 3b) > 0.

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-76
SLIDE 76

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Catch-up mining

  • Let Em

n (q, v) be the EV (Expected Value) of the optimal

strategy to overcome m blocks delay in n steps for a reward v (includes block rewards, plus fees, plus a possible double spend). When Em

n (q, v) > 0 the strategy is profitable.

  • The map v → Em

n (q, v) is a continuous increasing convex

affine by pieces function. Theorem If q > 0.42, m = 2, and b > 0 is the block reward, then limn→+∞ E2

n(q, 3b) > 0.

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-77
SLIDE 77

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Catch-up mining

  • Let Em

n (q, v) be the EV (Expected Value) of the optimal

strategy to overcome m blocks delay in n steps for a reward v (includes block rewards, plus fees, plus a possible double spend). When Em

n (q, v) > 0 the strategy is profitable.

  • The map v → Em

n (q, v) is a continuous increasing convex

affine by pieces function. Theorem If q > 0.42, m = 2, and b > 0 is the block reward, then limn→+∞ E2

n(q, 3b) > 0.

  • If v > 3b, considering block fees or possible rewards for

double spends, the minimal value for q is lower.

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-78
SLIDE 78

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Why this happens?

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-79
SLIDE 79

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Why this happens?

  • If the hashrate is over 42% of the total hashrate, following the
  • ptimal strategy and with unlimited resources, he has a positive

return expectation of catch-up, mining on top of his mined block.

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-80
SLIDE 80

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Why this happens?

  • If the hashrate is over 42% of the total hashrate, following the
  • ptimal strategy and with unlimited resources, he has a positive

return expectation of catch-up, mining on top of his mined block.

  • Quick explanation: If the miner mines 2 consecutive blocks

before the rest of the network, although it is less probable, he will cash the reward corresponding to 3 blocks: The 2 mined blocks plus the invalidate one.

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-81
SLIDE 81

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Why this happens?

  • If the hashrate is over 42% of the total hashrate, following the
  • ptimal strategy and with unlimited resources, he has a positive

return expectation of catch-up, mining on top of his mined block.

  • Quick explanation: If the miner mines 2 consecutive blocks

before the rest of the network, although it is less probable, he will cash the reward corresponding to 3 blocks: The 2 mined blocks plus the invalidate one. Catch-up mining instability When a miner refuses to mine on top of the network blockchain and mines on top on blocks that he has secretly validated.

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-82
SLIDE 82

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Why this happens?

  • If the hashrate is over 42% of the total hashrate, following the
  • ptimal strategy and with unlimited resources, he has a positive

return expectation of catch-up, mining on top of his mined block.

  • Quick explanation: If the miner mines 2 consecutive blocks

before the rest of the network, although it is less probable, he will cash the reward corresponding to 3 blocks: The 2 mined blocks plus the invalidate one. Catch-up mining instability When a miner refuses to mine on top of the network blockchain and mines on top on blocks that he has secretly validated.

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-83
SLIDE 83

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Why this happens?

  • If the hashrate is over 42% of the total hashrate, following the
  • ptimal strategy and with unlimited resources, he has a positive

return expectation of catch-up, mining on top of his mined block.

  • Quick explanation: If the miner mines 2 consecutive blocks

before the rest of the network, although it is less probable, he will cash the reward corresponding to 3 blocks: The 2 mined blocks plus the invalidate one. Catch-up mining instability When a miner refuses to mine on top of the network blockchain and mines on top on blocks that he has secretly validated.

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-84
SLIDE 84

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Sorry for the formulas...

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol

slide-85
SLIDE 85

Dynamical instability Perdurance of the Bitcoin protocol. Hard forks Double spend attacks Catch-up mining instability

Sorry for the formulas...

and thank you for your attention!!

  • R. P´

erez-Marco CNRS On instabilities of the Bitcoin protocol