Practical Byzantine Fault Tolerance(PBFT)is a widely used blockchain consensus mechanism,but the security of consensus network cannot be guaranteed by using PBFT,and communication resources will be consumed in the process of reaching consensus.This paper proposed a new consensus mechanism,namely the dynamic grouping Byzantine fault tolerance mechanism(DGPBFT)based on confidence of node.The working principle of DGPBFT is as follows:1)By adding node confidence,and designing a mechanism for evaluating node confidence,confidence adjustment rules and grouping adjustment can be performed on nodes in the system;2)The nodes in consensus network can be grouped by the proposed grouping rules based on the confidence of nodes,which greatly reduces the communication complexity and can effectively exclude malicious nodes.Based on the above research content,this paper designed and implemented a blockchain-based merchandise information management system.The system uses blockchain technology as the underlying storage technology to ensure that the merchandise information is non-tamperable,traceable,and transparent.This paper described in detail the building steps of the system from requirements analysis,system design,implementation process,test process and test results. |