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.
翻译:基于有向无环图(DAG)的分布式账本技术(DLT)支持对账本的并行、异步写入访问。因此,不同节点对最新区块的感知可能差异显著,而点对点(P2P)层的底层网络属性直接影响协议性能。此外,多个核心组件更强的相互依赖性要求采用更复杂、更全面的方法来研究此类DLT。本文提出一种基于智能体、开源的模拟器,用于实现去中心化的Tangle 2.0共识协议的大规模网络。其研究范围涵盖:通过网络拓扑结构建模底层点对点通信、数据包丢失、异质性延迟、具有可靠广播特性的 gossip 协议、底层基于DAG的数据结构以及共识协议。该模拟器使我们能够探索协议在不同网络环境及不同攻击场景下的性能表现。