Blockchain Sharding Scalable Model of Adaptive Node Scale
Sharding is one of the core technologies to address the scalability of blockchains.However,the existing sharding schemes generally adopt a static sharding method with a predetermined shards'scale,which does not match the open and low-threshold distributed environment of the public blockchain.When the number of nodes in the network increases significantly,it is difficult for the static sharding method to fully utilize the performance of all nodes in a timely manner,and when the number of nodes in the network is significantly reduced,it will increase the security risks in the shards.Accordingly,a Dynamic Sharding Scalable Model(DSSM)with an adaptive change of nodes'scale is constructed.On the basis of basic shards,this model establishes layered logical shards,supports state reduction,and allows nodes to synchronize the state of shards at different levels.A logical relationship of a full binary tree is established between logical and basic shards.To achieve adaptive adjustment,the scale of the shards is expanded and shrunk through dynamic splitting and merging of the shards.The experiments have demonstrated that when the number of nodes increases significantly,the DSSM can nearly double the throughput by adaptively expanding the scale of shards,and when the number of nodes is significantly reduced,the DSSM guarantees the minimum security requirements of the network by adaptively shrinking the scale of shards.