|
Algorithm 2 Verifying cPoW Algorithm VerifycPoW
|
-
Input:
weight w, proof info, the voting weight function , linkable tag L, and information identification id
-
Output:
0 or 1
-
1:
parse , , the hash value of the chain head at slot is , the start timestamp of round r is ;
-
2:
for each info
do
-
3:
if
then
-
4:
;
-
5:
if
then
-
6:
return 1;
-
7:
return 0;
|