Research Article

A Decentralized Public Auditing Scheme for Secure Cloud Storage Based on Blockchain

Algorithm 2

Counting.
1: Input:
2: if The sender of is the initiator of the vote, which is S-CSP then
3:   generates the addresses list of voters who voted , , and unvoted voters.
4:  if The number of voters for is greater than 50% of the total number of voters then
5:    sets the voting result to be .
6:  else
7:     sets the voting result to be .
8:  end if
9: else
10:  Failed vote
11: end if