Abstract

The cryptocurrency system Bitcoin uses a peer-to-peer network to distribute new transactions to all participants. For risk estimation and usability aspects of Bitcoin applications, it is necessary to know the time required to disseminate a transaction within the network. Unfortunately, this time is not immediately obvious and hard to acquire. Measuring the dissemination latency requires many connections into the Bitcoin network, wasting network resources. Some third parties operate that way and publish large scale measurements. Relying on these measurements introduces a dependency and requires additional trust. This work describes how to unobtrusively acquire reliable estimates of the dissemination latencies for transactions without involving a third party. The dissemination latency is modelled with a lognormal distribution, and we estimate their parameters using a Bayesian model that can be updated dynamically. Our approach provides reliable estimates even when using only eight connections, the minimum connection number used by the default Bitcoin client. We provide an implementation of our approach as well as datasets for modelling and evaluation. Our approach, while slightly underestimating the latency distribution, is largely congruent with observed dissemination latencies.

Highlights

  • The increasing popularity of Bitcoin [1] and the underlying blockchain have led to many applications and use cases relying on this technology

  • Many blockchain applications rely on low latencies, such as an automated teller machine (ATM) [2], file storages [3], and in general, marketplaces [4]

  • As this paper focuses on network behaviour, we restrict the description of blockchains to a high-level understanding

Read more

Summary

Introduction

The increasing popularity of Bitcoin [1] and the underlying blockchain have led to many applications and use cases relying on this technology. Many blockchain applications rely on low latencies, such as an automated teller machine (ATM) [2], file storages [3], and in general, marketplaces [4]. For such low-latency applications, knowledge about the expected time required to disseminate a transaction through most parts of the network has many uses. Bitcoin [1] is the first implementation of a so-called blockchain: A distributed data structure of time-stamped transactions between an indeterminate amount of users To identify these users of the blockchain protocol, Bitcoin uses asymmetric cryptographic keys. To decide which transactions are valid, the blocks and mining process is used

Methods
Results
Conclusion

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.