Abstract
XRP Ledger is one of the oldest, well-established blockchains. Despite the popularity of the XRP Ledger, little is known about its underlying peer-to-peer network. The structural properties of a network impact its efficiency, security and robustness. We aim to close the knowledge gap by providing a detailed analysis of the XRP overlay network. In this paper we examine the graph-theoretic properties of the XRP Ledger peer-to-peer network and its temporal characteristics. We crawl the XRP Ledger over two months and collect 1,290 unique network snapshots. We uncover a small group of nodes that act as a networking backbone. In addition, we observe a high network churn, with a third of the nodes changing every five days. Our findings have strong implications for the resilience and safety of the XRP Ledger.
Introduction
While the XRP Ledger (XRPL) is a prominent decentralized system, its underlying peer-to-peer (P2P) overlay network has remained largely unstudied. In such systems, the network topology—the physical connectivity between nodes—is a critical factor determining transaction speed, censorship resistance, and robustness against DDoS attacks. Unlike Bitcoin, which often obscures its topology for security reasons, XRPL natively supports network crawling. This study leverages this feature to analyze the physical network's decentralization, resilience, and stability.
Methods
The researchers mapped the network using the XRP Ledger Crawler. Starting from a single trusted rippled server, the crawler recursively queried peers to discover reachable nodes. The study involved:
- Temporal Sampling: 1,290 unique snapshots collected over 60 days (January to March 2022) at hourly intervals.
- Graph-Theoretic Analysis: Application of metrics such as clustering coefficients, path lengths, and assortativity.
- Statistical Modeling: Testing degree distributions against models like Power-law and Gamma to determine if the network is "scale-free."
- AS Mapping: Enriching node data with Autonomous System (AS) information to identify infrastructure-level centralization.
The resulting dataset includes 3,000 unique nodes with associated IP addresses, AS numbers, and uptime reports.
Structural Analysis and Centralization
The XRPL overlay is relatively small, averaging 948 nodes and 15,010 edges. It exhibits "small-world" characteristics, with an average shortest path of only 2.3 hops, facilitating rapid message propagation. However, the network reveals a significant "hub-and-spoke" topology. It is highly disassortative ($r = -0.48$), meaning low-degree nodes predominantly connect to high-degree hubs.
This centralization is stark: approximately 11% of nodes handle 85% of all incoming traffic. Furthermore, 60% of nodes act as "selfish" consumers, accepting zero incoming connections and only establishing outgoing links to stay synchronized. Infrastructure is also centralized, with 62% of nodes hosted by just 10 Autonomous Systems, primarily Amazon, Google, and Microsoft.
Temporal Dynamics and Node Stability
The network experiences high churn. While the total node count remains stable, a third of the network is replaced every five days. The average node uptime is only 9.7 days.
Despite this volatility, a small "backbone" of elite nodes remains consistently online, with some uptimes exceeding 250 days. These nodes act as the permanent anchors of the ledger, providing necessary stability amidst the high turnover of the broader network.
Conclusion
This analysis uncovers structural vulnerabilities in the XRPL, particularly its reliance on a small number of hubs and major cloud providers. While the network is efficient for message propagation, its centralized nature and high churn suggest potential risks to resilience. Future research should involve active stress tests and simulated attacks on the identified backbone nodes to further quantify the ledger's actual security and safety.
Summary updated