TrustChain for Smartphones

Measuring reconnection latency when the network is interrupted

Bachelor Thesis (2025)
Author(s)

A.M. Nicola (TU Delft - Electrical Engineering, Mathematics and Computer Science)

Contributor(s)

Johan Pouwelse – Mentor (TU Delft - Data-Intensive Systems)

B. Nasrulin – Mentor (TU Delft - Data-Intensive Systems)

K.G. Langendoen – Graduation committee member (TU Delft - Embedded Systems)

Faculty
Electrical Engineering, Mathematics and Computer Science
More Info
expand_more
Publication Year
2025
Language
English
Graduation Date
24-06-2025
Awarding Institution
Delft University of Technology
Project
['CSE3000 Research Project']
Programme
['Computer Science and Engineering']
Faculty
Electrical Engineering, Mathematics and Computer Science
Reuse Rights

Other than for strictly personal use, it is not permitted to download, forward or distribute the text or part of it, without the consent of the author(s) and/or copyright holder(s), unless the work is under an open content license such as Creative Commons.

Abstract

TrustChain is a scalable, lightweight blockchain architecture that avoids global consensus by maintaining a personal chain of co-signed interactions for each peer, forming a directed acyclic graph. While its structure makes it promising for mobile and resource constrained environments, its behavior under real world conditions, such as the time it takes to restore connectivity, remains underexplored. This paper presents an implementation of TrustChain in Rust for Android mobile devices and evaluates its robustness under network disconnections across two protocols: UDP and Iroh over QUIC. Robustness is defined as the time elapsed between network connectivity restoration and the successful exchange of the first valid TrustChain message between peers. Experiments involved controlled Wi-Fi interruptions, measuring the reconnection time for each protocol. The findings reveal trade-offs between protocol simplicity and recovery performance. UDP demonstrated consistent low-latency reconnection times between 4 and 6 seconds, averaging 5 seconds, due to its stateless nature and lack of connection recovery overhead. In contrast, Iroh reconnection times ranged from 4.5 to 11.5 seconds, with most values between 6 and 8 seconds, due to QUIC's timeout strategy, DNS-based peer discovery, and relay reconnection overhead. The results provide insights for deploying decentralized systems in mobile contexts and highlight open challenges in peer reconnection for lightweight blockchain protocols. This study also proposes improvements and directions for future work, including multi-peer evaluation, measuring different Wi-Fi congestion levels, or experimentation with other network protocol stacks.

Files

Research_paper_final.pdf
(pdf | 0.451 Mb)
License info not available