Research Article

Consensus Mechanism of IoT Based on Blockchain Technology

Table 1

Sensor transaction structure.

#FieldTypeExplanation

1SenderStringSensor ID
2TimeIntSend time, Linux timestamp
3ValueFloatSensor sampling data
4MACStringMAC code