ContribChain: A Stress-Balanced Blockchain Sharding Protocol with Node Contribution Awareness
Xinpeng Huang, Wanqing Jie, Shiwen Zhang, Haofu Yang, Wangjie Qiu, Qinnan Zhang, Huawei Huang, Zehui Xiong, Shaoting Tang, Hongwei Zheng, Zhiming Zheng
TL;DR
ContribChain tackles shard stress in blockchain sharding by introducing node contribution values that capture both security and performance, updated epochally. It couples NACV for node allocation with P-Louvain for account allocation to align shard workloads with capabilities, achieving improved throughput and reduced cross-shard traffic. The framework is supported by theoretical analyses of contribution validity and shard security, and empirical results on real Ethereum data show substantial gains over baselines in allocation speed, TPS, and stability. This stress-balanced approach enhances scalability and resilience in heterogeneous, dynamic networks, with avenues for dynamically adjusting shard count and allocation frequency in future work.
Abstract
Existing blockchain sharding protocols have focused on eliminating imbalanced workload distributions. However, even with workload balance, disparities in processing capabilities can lead to differential stress among shards, resulting in transaction backlogs in certain shards. Therefore, achieving stress balance among shards in the dynamic and heterogeneous environment presents a significant challenge of blockchain sharding. In this paper, we propose ContribChain, a blockchain sharding protocol that can automatically be aware of node contributions to achieve stress balance. We calculate node contribution values based on the historical behavior to evaluate the performance and security of nodes. Furthermore, we propose node allocation algorithm NACV and account allocation algorithm P-Louvain, which both match shard performance with workload to achieve stress balance. Finally, we conduct extensive experiments to compare our work with state-of-the-art baselines based on real Ethereum transactions. The evaluation results show that P-Louvain reduces allocation execution time by 86% and the cross-shard transaction ratio by 7.5%. Meanwhile, ContribChain improves throughput by 35.8% and reduces the cross-shard transaction ratio by 16%.
