BTCmap: Mapping Bitcoin Peer-to-Peer Network Topology

Bitcoin is a digital currency that has enticed considerable recognition as an alternative solution to the traditional payment system. Its success is mostly due to the use of Blockchain over a decentralised peer-to-peer network. Today’s Bitcoin network has more than 10,000 online peers geographically scattered around the world. However, its topology is still unknown due to security concerns. In this paper, we design and implement a fast and efficient framework named BTCmap to discover and map the Bitcoin network topology. Our BTCmap framework includes two modules viz., a sniffer to collect the local addresses database of each peer, and a Bitcoin peer emulator to select neighbours and generate the topology. Our analyses show that to remain within 1% confidence interval, we have a window of 56 minutes 40 seconds for collecting the local address databases from all peers. Within this time duration, BTCmap requests more than 8200 reachable peers to map the real Bitcoin network topology. We present a Bitcoin topology snapshot captured on June 14, 2018, 15:53 CEST and show that this snapshot is connected.

[1]  Andrew Miller,et al.  Discovering Bitcoin ’ s Public Topology and Influential Nodes , 2015 .

[2]  Ethan Heilman,et al.  Eclipse Attacks on Bitcoin's Peer-to-Peer Network , 2015, USENIX Security Symposium.

[3]  Bogdan Carbunar,et al.  Hardening Stratum, the Bitcoin Pool Mining Protocol , 2017, Proc. Priv. Enhancing Technol..

[4]  Björn Scheuermann,et al.  Bitcoin and Beyond: A Technical Survey on Decentralized Digital Currencies , 2016, IEEE Communications Surveys & Tutorials.

[5]  Satoshi Nakamoto Bitcoin : A Peer-to-Peer Electronic Cash System , 2009 .

[6]  Alex Biryukov,et al.  Deanonymisation of Clients in Bitcoin P2P Network , 2014, CCS.

[7]  Ming Ouyang,et al.  Breadth-First Search with A Multi-Core Computer , 2017, 2017 IEEE International Parallel and Distributed Processing Symposium Workshops (IPDPSW).