Research Article

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

Algorithm 2

CDA Algorithm.
Input: ;;;
Output: matching relationship ; trading price
1. Sort bids of buyers with decreasing value.
2. Sort bids of sellers with increasing value.
3. For each ;
4. If then ;
5. Output , ;
6. End for