Research Article

Blockchain-Based Crowdsourcing Framework with Distributed Task Assignment and Solution Verification

Algorithm 1

Preference-based task matching (PTD) mechanism.
Input: task preference list, , and worker preference list,
Output: task matching result
(1) and
(2)while whose status is undistributed do
(3) The primary task in his receives his task completion proposal
(4)ifthen
(5)  
(6)  
(7)else ifs.t. ranks higher than in then
(8)  
(9)  
(10)ifthen
(11)  
(12)