Research Article

Computational Resource Allocation Strategy in a Public Blockchain Supported by Edge Computing

Algorithm 1

VCG auction algorithm.
Input: ;
Output: ;
 1.    For each
 2.    ;;
 3.    End for
 4.    ;;;;
 5.    While &&;
 6.    ;
 7.    ;;;
 8.    
 9.    End while
 10.   For each ;
 11.   ;;;
 12.   ;;;;
 13.   While &&;
 14.   ;
 15.   ;;;
 16.   
 17.   End while
 18.   
 19.   End for