Skip to main content
. 2021 Jul 29;21(15):5146. doi: 10.3390/s21155146
Algorithm 2. Task Confirmation Algorithm.
Input Workers; Report
Output Confirmed report
1: Request for confirmation to workers
2: Confirm or reject the report
3: if confirm = True then
4:  return report confirmation;
5: end if
6: if NumberOfConfirmation > NumberOfWorkers/2 then
7:  send report to blockchain;
8:  return confirmed report;
9: end if