Research Article
Blockchain-Based Trust Auction for Dynamic Virtual Machine Provisioning and Allocation in Clouds
| Input: Applicant A address, actual stored payment, actual stored time, deadline, auction contract AC, CFP address | | Output: Complete transaction fee storage and transfer | | 1 User node (, ,) → TC | | 2 function TC() | | 3 ← matchAC(,P) | | 4 if <&&=then | | 5 return | | 6 else if <&&< | | 7 return “Insufficient transaction fee” | | 8 else if> | | 9 return “ Storage failure” | | 10 end function | | 11 functionPay(,) | | 12→ | | 13 end function |
|