The consensus algorithm is the foundation of all blockchains and the most important part of the blockchain platform. The most common consensus algorithms in the blockchain include POW (Proof of Work), and POS (Proof of Stake), etc. Among them, the POW proof-of-work mechanism, which is the most widely used and…