Research Article

Efficient Byzantine Consensus Mechanism Based on Reputation in IoT Blockchain

Algorithm 1

Node evaluation.
Input: Node set , Old behavior record table
Output: New behavior record table
Whiledo
  Read();
;
;
;
;
;
;
;
;
;
end
;
;
 Return ;