|
Algorithm 1 Custom Proof-of-Work Algorithm cPoW
|
-
Input:
the new block header , the target value tv, the voting weight function , the key binding identification lid, and the ring member set R
-
Output:
weight w and proof info
-
1:
parse , , the current timestamp is ;
-
2:
while
do
-
3:
if find ne to make
then
-
4:
, ;
-
5:
return;
|