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. 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.
翻译:Eceenum 网络的地形学知识是理解 Eceenum 安全、可用性和用户匿名性的关键。 从测量角度来说, Eceenum 网络的地形学是隐藏在 Eceenum 节点内部的路线式信息, 测量构成挑战并仍然是现有文献中一个公开的研究问题。 本文展示了 TopoShot, 一种独特的新方法, 用于对 Eceenum 的交易替换/ 评估政策进行表层测量。 TopoShot 可以配置支持 Getth、 Paity 和其他主要的 Eceenum 客户。 从测量角度看, Eceenum 网络的地形学是一个路径式的路径式信息, 测量在 Etheenum 节点中, 测量构成挑战, 并且仍然是现有文献中一个公开的研究问题。 为了在 Eceinum 主目录中进行道德计量, 我们建议 TopoShoot 的工作量调整配置, 以最大限度地减少服务中断 Getrodeal 网络, 在Estestreal 网络中, 我们系统测量了Estemal rodeal real real real real real real real real real deal sal sal sal 。