Research Article
A Blockchain-Based Contractual Routing Protocol for the Internet of Things Using Smart Contracts
Table 2
Simulation parameter values.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
S: Source IoT Device. I: Intermediary IoT Device. : As shown in line 1, the value for RRB in an original smart contract is 100 tokens. When an intermediary IoT device receives an original smart contract, it sets the RRB value of its own intermediary smart contract to the value of RRB value of the received original smart contract minus , as . This trend continues for next intermediary smart contract; that is, if the previous contract is an intermediary smart contract, the RRB value would be . : As shown in line 2, the value for RRE in an original smart contract is 800 seconds. When an intermediary IoT device receives an original smart contract, it sets the RRE value of its own intermediary smart contract to the value of RRE value of the received original smart contract minus , as . This trend continues for next intermediary smart contract; that is, if the previous contract is an intermediary smart contract, the RRE value would be . |