Research Article

Rational Protocols and Attacks in Blockchain System

Algorithm 1

The PoW consensus protocol.
Step 1. The initial voting set is empty, and each party has a proposal by solving a hard problem
Step 2. Each party broadcasts and others update their voting set after they verify the validity of the proposal
Step 3. They vote for the proposal with the most votes
Step 4. is recorded to the blockchain and the one who proposes it wins the rewards