TopoShot: Uncovering Ethereum's Network Topology Leveraging Replacement Transactions

Kai Li, Yuzhe Tang, Jiaqi Chen, Yibo Wang, Xianghong Liu
9/30/2021
cs.NI

Official code: fs3l/Toposhot (0 stars, last commit 2022-01-03).

Abstract

Ethereum relies on a peer-to-peer overlay network to propagate information. The knowledge of Ethereum network topology holds the key to understanding Ethereum's security, availability, and user anonymity.

Show full abstract

From a measurement perspective, an Ethereum network's topology is routing-table information hidden inside individual Ethereum nodes, measuring which poses challenges and remains an open research problem in the existing literature. This paper presents TopoShot, a new method uniquely repurposing Ethereum's transaction replacement/eviction policies for topology measurement. TopoShot can be configured to support Geth, Parity, and other major Ethereum clients. As validated on local nodes, TopoShot achieves 100% measurement precision and high recall 88% - 97%. To efficiently measure the large Ethereum networks in the wild, we propose a non-trivial schedule to run pair-wise measurements in parallel. To enable ethical measurement on Ethereum mainnet, we propose workload-adaptive configurations of TopoShot to minimize the service interruption to target nodes/network. We systematically measure a variety of Ethereum networks and obtain new knowledge including the full-network topology in major testnets (Ropsten, Rinkeby and Goerli) and critical sub-network topology in the mainnet. The results on testnets show interesting graph-theoretic properties, such as all testnets exhibit graph modularity significantly lower than random graphs, implying resilience to network partitions. The mainnet results show biased neighbor selection strategies adopted by critical Ethereum services such as mining pools and transaction relays, implying a degree of centralization in real Ethereum networks.

View on arXivView PDF

Code Implementations(1)

fs3l/ToposhotOfficial100%

The source code of Toposhop that can uncover Ethereum topology

02Sep 21, 20214 years ago

Similar Papers

Cite this paper

@article{li2021toposhot,
  title  = {TopoShot: Uncovering Ethereum's Network Topology Leveraging Replacement Transactions},
  author = {Kai Li and Yuzhe Tang and Jiaqi Chen and Yibo Wang and Xianghong Liu},
  year   = {2021},
  eprint = {2109.14794},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.14794}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2109.14794.svg)](https://codeofpaper.com/paper/2109.14794)

Discussion