Research Article

Blockchain-Assisted Distributed Fog Computing Control Flow Attestation

Table 1

Comparison of the consensus algorithm.

Consensus algorithmPoWPoSDPoSPBFTRAFT

Byzantine fault tolerance50%50%50%33%N/A
Crash fault tolerance50%50%50%33%50%
DecentralizationHighHighLowLowLow
Resource consumptionHighMediumLowLowLow
ScalabilityStrongStrongStrongWeakWeak
Communication complexityO(n)O(n)O(n)O(n2)O(n)
Verification speed>100 s<100 s<100 s<10 s<10 s
Throughput (TPS)<100<1000<1000<2000>10 k