Abstract:
This paper proposes a consensus algorithm based on the credit voting mechanism for alliance chain, named proof of vote and trust (PoVT). This algorithm introduces the voting mechanism to decide the ownership of the accounting privilege, avoids the competition of the computation power among nodes, and makes all nodes in the system get the accounting privilege fairly. By assigning credit value to nodes, the influence of both rights and interests on the system can be reduced. Meanwhile, quantitative evaluation on the behavior of nodes can better prevent nodes conducting malicious behaviors. Based on the proposed PoVT, a master-slave multi-chain layered cross-chain model is constructed and the performance is evaluated through experiments. The results show that the efficiency of the system is improved, and the system has a certain defense capability against attack methods such as double spending attack, selfish mining, and nothing-at-stake attack.