DAG-based DLTs allow for parallel, asynchronous writing access to a ledger. Consequently, the perception of the most recent blocks may differ considerably between nodes, and the underlying network properties of the P2P layer have a direct impact on the performance of the protocol. Moreover, the stronger inter-dependencies of several core components demand a more complex and complete approach to studying such DLTs. This paper presents an agent-based, open-sourced simulator for large-scale networks that implement the leaderless Tangle 2.0 consensus protocol. Its scope includes modelling the underlying peer-to-peer communication with network topology, package loss, heterogeneous latency, the gossip protocol with reliable broadcast qualities, the underlying DAG-based data structure, and the consensus protocol. The simulator allows us to explore the performance of the protocol in different network environments, as well as different attack scenarios.
@article{arxiv.2305.01232,
title = {TangleSim: An Agent-based, Modular Simulator for DAG-based Distributed Ledger Technologies},
author = {Bing-Yang Lin and Daria Dziubałtowska and Piotr Macek and Andreas Penzkofer and Sebastian Müller},
journal= {arXiv preprint arXiv:2305.01232},
year = {2023}
}