As we all know, Bitcoin, which is based on the concept of decentralization, constructs a secure and free payment network, avoiding the problem of traditional currency inflation. In addition, each node can reasonably and effectively allocate resources reasonably in P2P networks, making nodes and the transaction is convenient and fast. Under this kind of money network, each node pays a certain amount of labor to obtain the corresponding resources, commonly known as ‘mining’.As we all know, Bitcoin, which is based on the con