16 Nov 2022 |
Research article |
Software Systems, Multimedia and Cybersecurity
Quantifying the Decentralization of Blockchain Networks




Purchased on Istockphoto.com. Copyright.
This article presents a methodology for quantifying the decentralization degree of a blockchain network using two well-known graph models, Erdös–Rény and Barabási–Albert. Furthermore, it investigates impacts of network parameters, such as the number of connections per node and the peer selection algorithm on the decentralization degree of blockchain networks. Keywords: Blockchain, Decentralization, Erdös–Rény model, Barabási–Albert model, clustering coefficient
What is Decentralization?
In computer networks, decentralization is a shift from the traditional client-server architecture to a peer-to-peer (P2P) network in which all nodes have the same role. In blockchain networks, decentralization is usually expressed at the application layer as the execution and storage of transactions without a trusted third party, or at the consensus layer through a Byzantine Fault-Tolerant protocol. However, an overlooked aspect is the decentralization of the public blockchain network itself, which is sensitive to the peer selection strategy and network protocol.
While the main aim of blockchain-based systems is to remove the need for a trusted third party (TTP), a poorly decentralized blockchain network can be prone to be a single point of failure (network partitions) or vulnerable to denial of service (DoS) attacks. Furthermore, poor network decentralization can lead to governance issues, as a minority of central nodes can enforce a certain protocol version by limiting communication among nodes which support a different version. Therefore, a methodology for quantifying network decentralization is crucial in order to analyze these proposals in depth and ensure they do not have unintended side effects on network decentralization.
Blockchain Networks
Blockchain networks commonly operate over an unstructured P2P overlay network, where participating nodes are free to join the network by establishing a connection to any existing node in the network.
After initial setup, each node continuously maintains a certain number of connections to other neighboring nodes according to a peer selection strategy, which can vary based on the blockchain implementation. Different parameters can be considered for selecting neighbors such as P2P bandwidth, delay, number of hops to the targeted peer, or geographical distance. The peer selection strategy will strongly affect network topology, and consequently, network decentralization, as we will demonstrate in this paper.
Bitcoin Network
Bitcoin is a permissionless blockchain-based system that operates over an unstructured P2P network. The network protocol allows the participating nodes to join or leave the network at any time. When joining the network for the first time, a newly arrived node has no knowledge of the IP address of the other nodes in the network. In order to enable the new nodes to discover the network during the bootstrapping phase, there are a number of domain name service (DNS) seeds being run by the volunteer nodes in the network, such as a custom implementation of the Berkeley Internet Name Daemon (BIND).
After discovering the network and finding other nodes, newcomer nodes are now able to maintain multiple connections to the neighboring nodes in order to maintain and update the ledger state. As well, Bitcoin uses an inventory-based dissemination protocol.
Relay Networks
Relay networks are a set of nodes (or global gateways) deployed in the blockchain network with a large number of connections from the blockchain nodes (e.g., miners in PoW blockchains) and provide them with high-speed links that enable them to propagate their block or transaction as quickly as possible, thereby increasing the efficiency of information propagation. Currently, relay networks are being leveraged as a scalability solution for blockchain networks such as Bitcoin.
Erdös–Rény Model
Erdös–Rény (ER) is a random graph model for generating random graphs. In this model, in a network of participants, two arbitrary nodes are connected to each other with the same probability of in such a way that the average degree of nodes equals . This model can be suitable for modeling the blockchain networks with no hubs or relay networks.
Barabási–Albert Model
Barabási–Albert (BA) is a random graph model with two defining features, preferential attachment and power-law degree distribution. Networks with power-law degree distribution are also referred to as scale-free networks. Preferential attachment is also called the rich get richer. This is because it is more likely for newly joining nodes to select peers with more connections, thereby increasing their already high number of connections.
System Model and Analysis
In this paper, we first perform a decentralization analysis of permissionless blockchains using a clustering coefficient. We then propose the average shortest path as an indicator of the network speed. These two metrics represent the trade-off between decentralization and performance, respectively.
The clustering coefficient is a metric that captures the tendency of nodes in a graph to form a cluster. For a simple graph, the clustering coefficient is bounded between zero and one and is defined as local clustering coefficient (LCC) and global clustering coefficient (GCC).
We also wish to understand the effect of the relay network size on the overall decentralization degree of the network. To accomplish this goal, we conducted a set of experiments in which the overall size of the network was kept constant (at N=10000), while varying the percentage of nodes participating in the relay network. The results are depicted in Figure 1. As can be seen, for a constant network size, when the size of the relay network tends to 50%, the network tends to be fully decentralized.
As a clear consequence, for a constant size of a blockchain network, a bigger percentage of the nodes participating as a relay node means a more decentralized and fairer network.

Figure1: Impact of relay networks on network decentralization
Conclusion
In this paper, we presented an analytical methodology for quantifying the decentralization degree in blockchain networks based on the peer selection strategy. The results obtained disclosed that the decentralization degree of the network greatly depends on the topology and the architecture of the network. We have proven that the use of hubs and relay networks drastically reduces the decentralization degree of the network.
Additional Information
For more information on this research, please refer to the following conference paper:
Shahsavari, Y.; Zhang, K.; Talhi, C. 2022. “Toward Quantifying Decentralization of Blockchain Networks With Relay Nodes,” Frontiers in Blockchain

Yahya Shahsavari
Yahya Shahsavari earned an MSc in Information and Communication Technology from Iran University of Science and Technology, Iran, in 2016 respectively. Currently he is pursuing his PhD degree in the FUSÉE laboratory at ÉTS.
Program : Information Technology Engineering
Research laboratories : FUSÉE- Fast Unified Scalable Event processing Event messaging

Kaiwen Zhang
Kaiwen Zhang is a professor in the Department of Software and IT Engineering at ÉTS.
Program : Software Engineering Information Technology Engineering
Research laboratories : FUSÉE- Fast Unified Scalable Event processing Event messaging

Chamseddine Talhi
Chamseddine Talhi is a Professor in the Department of Software Engineering and IT at ETS. His research interests include cloud native telco service management and security, DevOps security, and federated learning.
Program : Software Engineering Information Technology Engineering
Research laboratories : LASI – Computer System Architecture Research Laboratory
Research laboratories :
Field(s) of expertise :

