TY - GEN
T1 - TopoShot
T2 - 21st ACM Internet Measurement Conference, IMC 2021
AU - Li, Kai
AU - Tang, Yuzhe
AU - Chen, Jiaqi
AU - Wang, Yibo
AU - Liu, Xianghong
N1 - Publisher Copyright:
© 2021 ACM.
PY - 2021/11/2
Y1 - 2021/11/2
N2 - 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. However, an Ethereum network's topology is stored in individual nodes' internal routing tables, 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.
AB - 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. However, an Ethereum network's topology is stored in individual nodes' internal routing tables, 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.
KW - blockchain
KW - ethereum transactions
KW - network measurements
KW - overlay networks
UR - http://www.scopus.com/inward/record.url?scp=85118977942&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85118977942&partnerID=8YFLogxK
U2 - 10.1145/3487552.3487814
DO - 10.1145/3487552.3487814
M3 - Conference contribution
AN - SCOPUS:85118977942
T3 - Proceedings of the ACM SIGCOMM Internet Measurement Conference, IMC
SP - 302
EP - 319
BT - IMC 2021 - Proceedings of the 2021 ACM Internet Measurement Conference
PB - Association for Computing Machinery
Y2 - 2 November 2021 through 4 November 2021
ER -