# A Hierarchical and Location-aware Consensus Protocol for IoT-Blockchain Applications

arXiv: https://arxiv.org/abs/2305.17681 · HTML: https://mlsanity.com/paper/2305.17681/

## Key facts

- Cited by 2 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 28 May 2023.

## Built on by (most cited first, 2 of 2)

- [B^2SFL: A Bi-level Blockchained Architecture for Secure Federated Learning-based Traffic Prediction](https://mlsanity.com/paper/2310.14669/) (2023)
- [A Quality-of-Service Compliance System using Federated Learning and Optimistic Rollups](https://mlsanity.com/paper/2312.00026/) (2023)

## Abstract (arXiv)

Blockchain-based IoT systems can manage IoT devices and achieve a high level of data integrity, security, and provenance. However, incorporating existing consensus protocols in many IoT systems limits scalability and leads to high computational cost and consensus latency. In addition, location-centric characteristics of many IoT applications paired with limited storage and computing power of IoT devices bring about more limitations, primarily due to the location-agnostic designs in blockchains. We propose a hierarchical and location-aware consensus protocol (LH-Raft) for IoT-blockchain applications inspired by the original Raft protocol to address these limitations. The proposed LH-Raft protocol forms local consensus candidate groups based on nodes' reputation and distance to elect the leaders in each sub-layer blockchain. It utilizes a threshold signature scheme to reach global consensus and the local and global log replication to maintain consistency for blockchain transactions. To evaluate the performance of LH-Raft, we first conduct an extensive numerical analysis based on the proposed reputation mechanism and the candidate group formation model. We then compare the performance of LH-Raft against the classical Raft protocol from both theoretical and experimental perspectives. We evaluate the proposed threshold signature scheme using Hyperledger Ursa cryptography library to measure various consensus nodes' signing and verification time. Experimental results show that the proposed LH-Raft protocol is scalable for large IoT applications and significantly reduces the communication cost, consensus latency, and agreement time for consensus processing.
