Skip to main content

Sending Spies as Insurance Against Bitcoin Pool Mining Block Withholding Attacks

  • Conference paper
  • First Online:
Database and Expert Systems Applications - DEXA 2022 Workshops (DEXA 2022)

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 1633))

Included in the following conference series:

Abstract

Theoretical studies show that a block withholding attack is a considerable weakness of pool mining in Proof-of-Work consensus networks. Several defense mechanisms against the attack have been proposed in the past with a novel approach of sending sensors suggested by Lee and Kim in 2019. In this work we extend their approach by including mutual attacks of multiple pools as well as a deposit system for miners forming a pool. In our analysis we show that block withholding attacks can be made economically irrational when miners joining a pool are required to provide deposits to participate which can be confiscated in case of malicious behavior. We investigate minimal thresholds and optimal deposit requirements for various scenarios and conclude that this defense mechanism is only successful, when collected deposits are not redistributed to the miners.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 109.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 139.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  • Eyal, I., Sirer, E.G.: Majority is not enough: bitcoin mining is vulnerable. In: Conference Paper (2013)

    Google Scholar 

  • Eyal, I.: The Miner’s dilemma. In: IEEE Symposium, Security and Privacy, pp. 89–103 (2015)

    Google Scholar 

  • Eyal, I., Sirer, E.G.: Majority is not enough: bitcoin mining is vulnerable. Commun. ACM 61, 95–102 (2018)

    Article  Google Scholar 

  • Lee, S., Kim, S. Countering block withholding attack efficiently. In: IEEE INFOCOM (2019)

    Google Scholar 

  • Luu, L., Saha, R., Parameshwaran I., Saxena P., Hobor A.: On power splitting games in distributed computation: the case of bitcoin pooled mining. In: 2015 IEEE 28th Computer Security Foundations Symposium (2015)

    Google Scholar 

  • Rosenfeld, M.: Analysis of bitcoin pooled mining reward systems. arXiv, 1112.4980 (2011)

    Google Scholar 

  • Zhu, S., Li, W., Li, H., Hu, C., Cai, Z.: A survey: reward distribution mechanisms and withholding attacks in Bitcoin pool mining. Math. Found. Comput. 1(4), 393–414 (2018)

    Google Scholar 

Download references

Acknowledgements

We would like to thank Michael Zargham (BlockScience, USA), Jamsheed Shorish (ShorishResearch, Belgium), and Hitoshi Yamamoto (Rissho University, Japan) for their useful comments. We thank Alfred Taudes (former Director of the interdisciplinary Research Institute for Cryptoeconomics at the Vienna University of Economics) for his management of our project.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Krzysztof Paruch .

Editor information

Editors and Affiliations

A Proof of Theorems

A Proof of Theorems

1.1 A.1 Proof of Theorem 1

Proof

(Theorem 1). If no attacks occur in the network both \(x=y=0\) by definition. Plugging both in into Definition 1 we get

$$ D_A = \frac{m \alpha - m \alpha x}{m - m \alpha x - m \beta y} =\frac{m \alpha }{m} = \alpha $$

and

$$ D_B = \frac{m \beta - m\beta y}{m - m \alpha x - m \beta y} = \frac{m \beta }{m} = \beta $$

which respecting Definition 2 yields

$$R_A = \frac{D_A + m \alpha x R_B}{m \alpha + m \beta y} = \frac{\alpha }{m \alpha } = \frac{1}{m} $$

and

$$R_B = \frac{D_B + m\beta y R_A}{m \beta + m \alpha x} = \frac{\beta }{m \beta } = \frac{1}{m}. $$

Due to Definition 3 we get \(E_A = E_B = 1\).

1.2 A.2 Proof of Theorem 2

Proof

(Theorem 2). For \(x > 0\) and \(y=0\) plugging in into 1 yields

$$D_A = \frac{m \alpha - m \alpha x}{m - m \alpha x - m \beta y}= \frac{m \alpha - m \alpha x}{m - m \alpha x}= \frac{m (\alpha - \alpha x)}{m (1 - \alpha x)}= \frac{\alpha (1-x)}{1-\alpha x}$$

and

$$D_B =\frac{m \beta - m\beta y}{m - m \alpha x - m \beta y} = \frac{m \beta }{m - m \alpha x} = \frac{m \beta }{m (1 - \alpha x)} = \frac{\beta }{1 - \alpha x}$$

which again can be inserted into 2 and thus since \(y=0\) then \(R_B\) reduces to

$$ R_B = \frac{D_B + m\beta y R_A}{m \beta + m \alpha x} = \frac{\frac{\beta }{1 - \alpha x} }{m (\beta + \alpha x)} = \frac{\beta }{1 - \alpha x} \cdot \frac{1}{m (\beta + \alpha x)} = \frac{\beta }{m \beta +m \alpha x - m \beta \alpha x - m \alpha ^2 x^2} $$

which can be plugged into \(R_A\)

$$\begin{aligned} R_A= & {} \frac{D_A + m \alpha x R_B}{m \alpha + m \beta y} = \frac{\frac{\alpha (1-x)}{1-\alpha x} + m \alpha x \frac{\beta }{1 - \alpha x} \cdot \frac{1}{m (\beta + \alpha x)}}{m \alpha } \\= & {} ( \frac{\alpha (1-x)}{1-\alpha x} + m \alpha x \frac{\beta }{1 - \alpha x} \cdot \frac{1}{m (\beta + \alpha x)} ) \cdot \frac{1}{m \alpha } \\= & {} ( \frac{\alpha (1-x)}{1-\alpha x} \cdot \frac{m (\beta + \alpha x)}{m (\beta + \alpha x)} + \frac{ m \alpha x \beta }{1 - \alpha x} \cdot \frac{1}{m (\beta + \alpha x)} ) \cdot \frac{1}{m \alpha } \\= & {} ( \frac{\alpha (1-x) \cdot m (\beta + \alpha x) + m \alpha x \beta }{(1-\alpha x) \cdot m (\beta + \alpha x) } ) \cdot \frac{1}{m \alpha } \\= & {} ( \frac{(\alpha - \alpha x) \cdot (m \beta + m \alpha x) + m \alpha x \beta }{(1-\alpha x) \cdot m (\beta + \alpha x) } ) \cdot \frac{1}{m \alpha } \\= & {} ( \frac{m \beta \alpha - m \beta \alpha x - m \alpha ^2 x^2 + m \alpha ^2 x + m \alpha x \beta }{(1-\alpha x) \cdot m (\beta + \alpha x) } ) \cdot \frac{1}{m \alpha } \\= & {} ( \frac{m \alpha ( \beta - \alpha x^2 + \alpha x)}{(1-\alpha x) \cdot m (\beta + \alpha x) } ) \cdot \frac{1}{m \alpha } \\= & {} \frac{ \beta - \alpha x^2 + \alpha x}{(1-\alpha x) \cdot m (\beta + \alpha x) } \end{aligned}$$

and therefore both efficiencies compute as:

$$ E_A=mR_A = m \cdot \frac{ \beta - \alpha x^2 + \alpha x}{(1-\alpha x) \cdot m (\beta + \alpha x)} = \frac{ \beta - \alpha x^2 + \alpha x}{(1-\alpha x) (\beta + \alpha x)} $$

and

$$ E_B = m R_B = m \cdot \frac{\beta }{(1 - \alpha x)\cdot m (\beta + \alpha x)} = \frac{\beta }{(1 - \alpha x) (\beta + \alpha x)} $$

This shows that \(E_A>E_B\) because

$$\begin{aligned} E_A-E_B> & {} 0 \\ \frac{ \beta - \alpha x^2 + \alpha x}{(1-\alpha x) (\beta + \alpha x)} - \frac{\beta }{(1 - \alpha x) (\beta + \alpha x)}= & {} \\ \frac{ \alpha ( x - x^2)}{(1-\alpha x) (\beta + \alpha x)}> & {} 0 \end{aligned}$$

This is true because \(( x - x^2)>0\) as \(x<1\). This further shows that \(E_B < 1\) because:

$$\begin{aligned} E_B= & {} \frac{\beta }{(1 - \alpha x) (\beta + \alpha x)} \\= & {} \frac{\beta }{ \beta + \alpha x - \beta \alpha x + \alpha ^2 x^2} \\= & {} \frac{\beta }{ \beta + \underbrace{\alpha x}_{>0} \underbrace{( 1 - \beta + \alpha x)}_{>0}} < 1 \end{aligned}$$

since the denominator is greater than the numerator. Further we show when \(E_A>1\):

$$\begin{aligned} E_A> & {} 1 \\ \frac{ \beta - \alpha x^2 + \alpha x}{(1-\alpha x) (\beta + \alpha x)}> & {} 1 \\ \frac{ \beta - \alpha x^2 + \alpha x}{\beta - \beta \alpha x + \alpha x - \alpha ^2 x^2}> & {} 1 \\ \beta - \alpha x^2 + \alpha x> & {} \beta - \beta \alpha x + \alpha x - \alpha ^2 x^2 \\ - \alpha x^2> & {} - \beta \alpha x - \alpha ^2 x^2 \\ 0> & {} - \beta \alpha x - \alpha ^2 x^2 + \alpha x^2 \\ 0> & {} x (- \beta \alpha - \alpha ^2 x + \alpha x) \\ \end{aligned}$$

which is the case when

$$\begin{aligned} 0> & {} - \beta \alpha - \alpha ^2 x + \alpha x \\ \beta \alpha> & {} x (- \alpha ^2 + \alpha ) \\ \frac{\beta \alpha }{- \alpha ^2 + \alpha }> & {} x \\ x< & {} \frac{\beta \alpha }{\alpha (1 - \alpha )} = \frac{\beta }{ (1 - \alpha )} \end{aligned}$$

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Okada, I., De Silva, H., Paruch, K. (2022). Sending Spies as Insurance Against Bitcoin Pool Mining Block Withholding Attacks. In: Kotsis, G., et al. Database and Expert Systems Applications - DEXA 2022 Workshops. DEXA 2022. Communications in Computer and Information Science, vol 1633. Springer, Cham. https://doi.org/10.1007/978-3-031-14343-4_23

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-14343-4_23

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-14342-7

  • Online ISBN: 978-3-031-14343-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics