Hostname: page-component-6766d58669-6mz5d Total loading time: 0 Render date: 2026-05-21T21:17:59.115Z Has data issue: false hasContentIssue false

Fluid limit of a distributed ledger model with random delay

Published online by Cambridge University Press:  13 February 2026

Jiewei Feng*
Affiliation:
Northeastern University
Christopher King*
Affiliation:
Northeastern University
*
*Postal address: Department of Mathematics, Northeastern University, Boston, MA 02115, USA.
*Postal address: Department of Mathematics, Northeastern University, Boston, MA 02115, USA.
Rights & Permissions [Opens in a new window]

Abstract

Distributed ledgers, including blockchain and other decentralized databases, are designed to store information online where all trusted network members can update the data with transparency. The dynamics of a ledger’s development can be mathematically represented by a directed acyclic graph (DAG). In this paper, we study a DAG model that considers batch arrivals and random delay of attachment. We analyze the asymptotic behavior of this model by letting the arrival rate go to infinity and the inter-arrival time go to zero. We establish that the number of leaves in the DAG, as well as various random variables characterizing the vertices in the DAG, can be approximated by its fluid limit, represented as the solution to a set of delayed partial differential equations. Furthermore, we establish the stable state of this fluid limit and validate our findings through simulations.

Information

Type
Original Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2026. Published by Cambridge University Press on behalf of Applied Probability Trust
Figure 0

Figure 1. Example of a DAG. A solid directed edge implies that the associated POW has been completed and the data has been accepted into the ledger. For example, vertex 3 has selected 1 as its parent and finished its POW. A dashed vertex with outgoing dashed edge implies the POW has started but not yet been finished. For example, vertex 5 has selected 2 and 3 as its parents but its POW has not yet been finished. We generally refer to the solid vertices that have no solid edge pointing toward them as tips, which means the vertices have been accepted to the distributed ledger but have not yet been attached by any other vertices. For example, vertices 2 and 3 are tips because there is no solid edge pointing toward them, while vertices 0 and 1 are not tips because they have been attached by other solid vertices. Also, vertices 4 and 5 are not considered to be tips because they have not been accepted to the system, as indicated by the fact that their POW have not been finished

Figure 1

Figure 2. A demonstration of a DAG modeling IOTA at some time t. Each time there are $N=2$ arriving vertices, for example, $C_1,C_2$ arrived at the same time while $D_1,D_2$ arrived simultaneously $\epsilon$ time after $C_1,C_2$ arrived. A solid vertex with outgoing solid edge(s) implies that its corresponding POW has been completed and the vertex has been accepted into the system. For example, vertex $C_1$ has selected $A_1$ as its parent and finished its POW, hence it has been accepted into the system. A dashed vertex with outgoing dashed edge(s) implies the POW has not yet been finished. For example, vertex $D_2$ has selected $B_1$ and $A_2$ as its parents but the POW corresponding to $D_2$ has not yet been finished. The dashed vertices are the ones that have not been accepted into the system because their POWs are still in process. A dashed vertex will be included in the system once its corresponding POW is finished, then the dashed vertex and the dashed edge(s) originating from it will become solid

Figure 2

Figure 3. Example of the random variables $F_i(t_k)$. In this example, $N=3$ which means there are 3 arrivals at each time. At some time $t_k$ the vertices $D_1,D_2,D_3$ arrive and they have POW durations $h_1,h_2,h_3$, respectively. The graph on the left represents the graph at $t_k$ when $D_1,D_2,D_3$ arrive while the right graph represents the graph at $t_{k+1}$. At time $t_k$, the vertices $A_1,B_1,C_1,C_2$ are free tips since their corresponding POWs have been finished but they have not yet been selected as parents. The free tip $A_1$ is selected as a parent by a Type 1 arrival $D_1$. The free tip $B_1$ is selected by a Type 1 arrival $D_1$ and a Type 2 arrival $D_2$. The free tip $C_2$ is selected by a Type 2 arrival $D_2$ and a Type 3 arrival $D_3$. Then $F_1(t_k)=2$ because both $A_1,B_1$ are selected by a Type 1 arrival. Because $B_1$ is already included in $F_1(t_k)$, we have $F_2(t_k)=1$ although both $B_1,C_2$ are selected by a Type 2 arrival. Finally, $F_3(t_k)=0$ because $C_2$ is the only free tip that is selected by a Type 3 arrival but $C_2$ has been counted in $F_2(t_k)$. The selection will be reflected at $t_{k+1}$ and hence $A_1,B_1,C_2$ become pending tips at $t_{k+1}$

Figure 3

Figure 4. Simulations with $\lambda=400, N=20, \epsilon=0.05$ where the vertical axis displays values for $L(t)/\lambda,F(t)/\lambda$ and the horizontal axis represents time $t_n$. Here, M is assumed to be 2, corresponding to Proposition 3.1 The panel (a) corresponds to the simulation with $p_1=0.8$ and $p_2=0.2$ while the panel (b) corresponds to the simulation with $p_1=0.3$ and $p_2=0.7$. Both simulations assume $h_1=3$ and $h_2=5$. Multiple simulations are performed with the same parameters and, we can see that the scaled random processes behave almost deterministically with minor deviation.