## 1 Introduction

Background and Motivation. Blockchain is one of the most popular issues discussed extensively in recent years, and it has already changed people’s lifestyle in some real areas due to its great impact on finance, business, industry, transportation, heathcare and so forth. Since the introduction of Bitcoin by Nakamoto [65], blockchain technologies has obtained many important advances in basic theory and real applications up to now. Readers may refer to, for example, excellent books by Wattenhofer [95], Prusty [79], Drescher [29], Bashir [9] and Parker [73]; and survey papers by Zheng et al. [100], Constantinides et al. [22], Yli-Huumo et al. [98], Lindman et al. [58] and Risius and Spohrer [83].

It may be necessary and useful to further remark several important directions and key research as follows: (1) Smart contracts by Reed [81], Bartoletti and Pompianu [8], Alharby and van Moorsel [3] and Magazzeni et al. [59]. (2) Ethereum by Diedrich [27], Dannen [23], Atzei et al. [5] and Antonopoulos and Wood [4]. (3) Consensus mechanisms by Wang et al. [93], Debus [26], Pass et al. [74], Pass and Shi [75] and Cachin and Vukolić [16]. (4) Blockchain security by Karame and Androulaki [46], Lin and Liao [57] and Joshi et al. [44]. (5) Blockchain economics by Swan [88], Catalini and Gans [19], Davidson et al. [24], Bheemaiah [12], Becket al. [11] and Abadi and Brunnermeier [1]. In addition, there are still some important topics including the mining management, the double spending, PoW, PoS, PBFT, withholding attacks, pegged sidechains and so on, and also their investigations may be well understood from the references listed above.

Recently, blockchain has become widely adopted in many real applications. Readers may refer to, for example, Foroglou and Tsilidou [33], Bahga and Madisetti [7] and Xu et al. [97]. At the same time, we also provide a detailed observation on some specific perspectives, for instance, (1) blockchain finance by Tsai et al. [92], Nguyen [68], Tapscott and Tapscott [90], Treleaven et al. [91] and Casey et al. [18]; (2) blockchain business by Mougayar [64], Morabito [63], Fleming [32], Beck et al. [10], Nowiński and Kozma [70] and Mendling et al. [61]; (3) supply chains under blockchain by Hofmann et al. [40], Korpela et al. [53], Kim and Laskowski [51], Saberi et al. [84], Petersen et al. [77], Sternberg and Baruffaldi [87] and Dujak and Sajter [30]; (4) internet of things under blockchain by Conoscenti et al. [21], Bahga and Madisetti [6], Dorri et al. [28], Christidis and Devetsikiotis [20] and Zhang and Wen [99]; (5) sharing economy under blockchain by Huckle et al. [42], Hawlitschek et al. [39], De Filippi [25] and Pazaitis et al. [76]; (6) healthcare under blockchain by Mettler [62], Rabah [80], Griggs et al. [38] and Wang et al. [94]; (7) energy under blockchain by Oh et al. [71], Aitzhan and Svetinovic [2], Noor et al. [69] and Wu and Tran [96].

Based on the above discussions, whether it is theoretical research or real applications, we always hope to know how performance of the blockchain system are obtained, and wheth there is still some room to be able to further improve performance of the blockchain system. Based on this, it is a key to find solution of such a performance issue in the study of blockchain systems. Thus we need to provide mathemtical modeling and analysis for blockchain performance evaluation by means of, for example, Markov processes, Markov decision processes, queueing networks, Petri networks, game models and so on. Unfortunately, so far only a little work has been on performance modeling of blockchain systems. Therefore, this motivates us in this paper to develop Markov processes and queueing models for a more general blockchain system. We hope that the methodology and results given in this paper will open a new avenue to Markov processes of blockchain systems, and can motivate a series of promising future research on development of blockchain technologies.

Related Work. Now, we provide several different classes of related work for Markov processes in blockchain systems, for example, queueing models, Markov processes, Markov decision processes, random walks, fluid limit and so on.

Queueing models: To use queueing theory to model a blockchain system, we need to observer some key factors, for example, transaction arrivals, block-generation, block size, transaction fee, mining pools, mining reward, solving difficulty of crypto mathematical puzzle, blockchain-building, throughput and so forth. As sketched in Figure 1, we design a two stage, Service-In-Random-Order and batch service queueing system by means of two stages of asynchronous processes: Block-generation and blockchain-building. Li et al. [56] is the first one to provide a detailed analysis for such a blockchain queue by means of the matrix-geometric solution. Kasahara and Kawahara [47] and Kawase and Kasahara [48] discussed the blockchain queue with general service times through an incompletely solving idea for dealing with an interesting open problem. In addition, they also gave some useful numerical experiments for performance observation. Ricci et al. [82]

proposed a framework encompassing machine learning and a queueing model, which is used to identify which transactions will be confirmed, and to characterize the confirmation time of confirmed transactions. Memon et al.

[60] proposed a simulation model for the blockchain systems by means of queuing theory.Bowden et al. [15] discussed time-inhomogeneous behavior of the block arrivals in the bitcoin blockchain because the block-generation process is influenced by multiple key factors such as the solving difficulty level of crypto mathematical puzzle, transaction fee, mining reward, mining pools and so on. Papadis et al. [72] applied the time-inhomogeneous block arrivals to set up some Markov processes to study evolution and dynamics of blockchain networks, and discussed key blockchain characteristics such as the number of miners, the hashing power (block completion rates), block dissemination delays, and block confirmation rules. Further, Jourdan et al. [45] proposed a probabilistic model of the bitcoin blockchain by means of a transaction and block graph, formulated some conditional dependencies induced by the bitcoin protocol at the block level. Based on this, it is clear that when the block-generation arrivals are a time-inhomogeneous Poisson process, we believe that the blockchain queue analyzed in this paper will become very difficult and challenging, thus it will be an interesting topic in our future study.

Markov processes: To evaluate performance of a blockchain system, Markov processes are a basic mathematical tool, e.g., see Bolch et al. [14] for more details. As an early key work to apply Markov processes to blockchain performance issues, Eyal and Sirer [31] established a simple Markov process to analyze the vulnerability of Nakamoto Protocols through studying the block-forking behavior of blockchain. Note that some selfish miners may get higher payoffs by violating the information propagation protocols and postponing their mined blocks so that such selfish miners exploits the inherent block forking phenomenon of Nakamoto protocols. Nayak et al. [66] extended the work by Eyal and Sirer [31] through introducing a new mining strategy: Stubborn mining strategy. They used three improved Markov processes to further study the stubborn mining strategy and two extensions: the Equal-Fork Stubborn (EFS) and the Trail Stubborn (TS) mining strategies. Carlsten [17] used the Markov process to study the impact of transaction fees on the selfish mining strategies in the bitcoin network. Göbel et al. [36]

further considered the mining competition between a selfish mining pool and the honest community by means of a two-dimensional Markov process, in which they extended the Markov model of selfish mining by considering the propagation delay between the selfish mining pool and the honest community.

Kiffer and Rajaraman [50] provided a simple framework of Markov processes for analyzing consistency properties of the blockchain protocols, and used some numerical experiments to check the consensus bounds for network delay parameters and adversarial computing percentages. Huang et al. [41] set up a Markov process with an absorbing state to analyze performance measures of the Raft consensus algorithm for a private blockchain.

Markov decision processes:

Note that the selfish miner may adopt different mining policies to release some blocks under the longest-chain rule for controling the block-forking structure, thus it is interesting to find an optimal mining policy in the blockchain system. To do this, Sapirshtein et al.

[85], Sompolinsky and Zohar [86] and Gervais et al. [35] applied the Markov decision processes to find the optimal selfish-mining strategy, in which four actions: adopt, override, match and wait, are introduced in order to control the state transitions of the Markov decision process.Random walks: Goffard [37]

proposed a random walk method to study the double-spending attack problems in the blockchin system, and focused on how to evaluate the probability of the double-spending attack ever being successful. Jang and Lee

[43] discussed profitability of the double-spending attacks in the blockchain systems through using the random walk of two independent Poisson counting processes.Fluid limit: Frolkova and Mandjes [34] considered a bitcoin-inspired infinite-server model with a random fluid limit. King [52] developed the fluid limit of a random graph model to discuss the shared ledger and the distributed ledger technologies in the blockchain systems.

Contributions. The main contributions of this paper are twofold. The first contribution is to develop a more general framework of block-structured Markov processes in the study of blockchain systems. We design a two stage, Service-In-Random-Order and batch service queueing system, whose original aim is to generalize the blockchain queue studied in Li et al. [56] both “from exponential to phase-type” service times and “from Poisson to MAP” transaction arrivals. Note that the transaction MAP arrivals and two stages of PH service times make our new blockchain queueing model more suitable to various practical conditions of blockchain systems. By using the matrix-geometric solution, we obtain a sufficient stable condition of the more general blockchain system, and provide simple expressions for two key performance measures: The average stationary number of transactions in the queueing waiting room, the average stationary number of transactions in the block.

The second contribution of this paper is to provide an effective method for computing the average transaction-confirmation time of any transaction in a more general blockchain system. In general, it is always very difficult and challenging to analyze the transaction-confirmation time in the blockchain system with MAP inputs and PH service times, because the service discipline of the blockchain system is new from two key points: (1) The “block service” is a class of batch service; and (2) some transactions are chosen into a block through Service-In-Random-Order. In addition, the MAP inputs and PH service times also make analysis of the blockchain queue more complicated. To study the transaction-confirmation time, we set up a Markov process with an absorbing state (see Figure 4) according to the blockchain system (see Figures 1 and 2). Based on this, we show that the transaction-confirmation time of any transaction is the first passage time of the Markov process with an absorbing state, hence we can discuss the transaction-confirmation time (or the first passage time) by means of both the PH distributions of infinite sizes and the -factorizations. Further, we propose an effective algorithm for computing the average transaction-confirmation time of any transaction. We hope that our approach given in this paper can be applicable to deal with the transaction-confirmation times in more general blockchain systems.

The structure of this paper is organized as follows. Section 2 describes a two stage, Service-In-Random-Order and batch service queueing system, where the transactions arrive at the blockchain system according to a Markovian arrival process (MAP), the block-generation and blockchain-building times are all of phase type (PH). Section 3 establishes a continuous-time Markov process of GI/M/1 type, derives a sufficient stable condition of the blockchain system, and expresses the stationary probability vector of the blockchain system by means of the matrix-geometric solution. Section 4 provides simple expressions for the average stationary number of transactions in the queueing waiting room, the average stationary number of transactions in the block; and uses some numerical examples to verify computability of our theoretical results. To compute the average transaction-confirmation time of any transaction, Section 5 develops a computational technique of the first passage times by means of both the PH distributions of infinite sizes and the

-factorizations. Finally, some concluding remarks are given in Section 6.## 2 Model Description

In this section, from a more general point of view of blockchain, we design an interesting and practical blockchain queueing system, where the transactions arrive at the blockchain system according to a Markovian arrival process (MAP), while the block-generation and blockchain-building times are all of phase type (PH).

From a more practical background of blockchain, it is necessary to extend and generalize the blockchain queueing model, given in Li et al. [56], to a more general case not only with non-Poisson transaction inputs but also with non-exponential block-generation and blockchain-building times. Based on this, we further abstract the block-generation and blockchain-building processes as a queue of batch service, Service-In-Random-Order input and two different service stages by means of the MAP and the PH distribution. Such a blockchain queueing system is depicted in Figure 1.

From Figure 1, now we provide some model descriptions as follows:

Arrival process: Transactions arrive at the blockchain system according to a Markovian arrival process (MAP) with representation of order , where the matrix is the infinitesimal generator of an irreducible Markov process; indicates the state transition rates that only the random environment changes without any transaction arrival, denotes the arrival rates of transactions under the random environment ; , and is a column vector of suitable size in which each element is one. Obviously, the Markov process with finite states is irreducible and positive recurrent. Let be the stationary probability vector of the Markov process , it is clear that and . Also, the stationary arrival rate of the MAP is given by .

In addition, we assume that each arriving transaction must first enter a queueing waiting room of infinite size. See the lower left part corner of Figure 1.

A block-generation process: Each arriving transaction first needs to queue in a waiting room. Then it is possibly chosen into a block of the maximal size . This is regarded as the first stage of service, called block-generation process. Note that the arriving transactions will be continually chosen into the block until the block-generation process is over under which a nonce is appended to the block by a mining winner. See the lower middle part of Figure 1 for more details.

The block-generation time begins the initial epoch of a mining process until a nonce of the block is found (i.e., the cryptographic mathematical puzzle is solved for sending a nonce to the block), then the mining process is terminated immediately. We assume that all the block-generation times are i.i.d., and are of phase type with an irreducible representation

of order , where , the expected blockchain-building time is given by .The block-generation discipline: A block can consist of some transactions but at most transactions. Once the mining process begins, the transactions are chosen into a block, in which they are not completely based on the First Come First Service (FCFS) from the order of transaction arrivals. In this case, several transactions in the back of this queue may also be preferentially chosen into the block. When the block is formed, it will not receive any new arriving transaction. See the lower middle part of Figure 1.

A blockchain-building process: Once the mining process is over, the block with a group of transactions will be pegged to a blockchain. This is regarded as the second stage of service due to the network latency, called blockchain-building process, see the lower right corner of Figure 1. In addition, the upper part of Figure 1 also outlines the blockchain and the internal structure of every block.

In the blockchain system, we assume that the blockchain-building times are i.i.d, and have a common PH-distribution with an irreducible representation of order , where , and the expected block-generation time is given by .

The maximum block size: To avoid the spam attacks, the maximum size of each block is limited. We assume that there are at most transactions in each block. If there are more than transactions in the queueing waiting room, then the transactions are chosen into a full block so that those redundant transactions are left in the queueing waiting room in order to set up another possible block. In addition, the block size maximizes the batch service ability in the blockchain system.

Independence:

We assume that all the random variables defined above are independent of each other.

###### Remark 1

This paper is the first one to consider a blockchain system with non-Poisson transaction arrivals (MAPs) and with non-exponential block-generation and blockchain-building times (PH distributions), and it also provides a detailed analysis for the blockchain queueing model by means of the block-structured Markov processes and the -factorizations. However, so far analysis of the blockchain queues with renewal arrival process or with general service time distributions has still been an interesting open problem in queueing research of blockchain systems.

###### Remark 2

In the blockchain system, there are some key factors including the maximum block size, mining reward, transaction fee, mining strategy, security of blockchain and so on. Based on this, we may develop reward queueing models, decision queueing models, and game queueing models in the study of blockchain systems. Therefore, analysis for the key factors will be not only theoretically necessary but also practically important in development of blockchain technologies.

## 3 A Markov Process of GI/M/1 Type

In this section, to analyze the blockchain queueing system, we first establish a continuous-time Markov process of GI/M/1 type. Then we derive a system stable condition and express the stationary probability vector of the blockchain queueing system by means of the matrix-geometric solution.

Let and be the number of transactions in the queueing waiting room, the number of transactions in the block, the phase of the MAP, the phase of a blockchain-building PH time, and the phase of a block-generation PH time at time , respectively. We write . Then it is easy to see that is a continuous-time Markov process with block structure whose state space is given by

From Figure 1, it is easy to set up the state transition relation of the Markov process , see Figure 2 for more details. It is a key in understanding of Figure 2 that there is a different transition between State for the block-generation and State for the blockchain-building with because the block-generation and blockchain-building processes can not simultaneously exist at a time, and specifically, a block must first be generated, then it can enter the blockchain-building process.

By using Figure 2, the infinitesimal generator of the Markov process is given by

(1) |

where and are the Kronecker product and the Kronecker sum of two matrices, respectively,

and

Clearly, the continuous-time Markov process is of GI/M/1 type.

Now, we use the mean drift method to discuss the system stable condition of the continuous-time Markov process of GI/M/1 type. Note that the mean drift method for checking system stability is given a detailed introduction in Chapter 3 of Li [54].

From Chapter 1 of Neuts [67] or Chapter 3 of Li [54], for the Markov process of GI/M/1 type, we write

Clearly, the matrix is the infinitesimal generator of an irreducible, aperiodic and positive recurrent Markov process with two levels (i.e., Levels and ), together with instantaneous levels (i.e., Levels ) which will vanish as the time goes to infinity. On the other hand, such a special Markov process will not influence applications of the matrix-geometric solution because it is only related to the mean drift method for establishing system stable conditions.

The following theorem discusses the invariant measure of the Markov process , that is, the vector satisfies the system of linear equations and .

###### Theorem 1

There exists the unique invariant measure of the Markov process , where is the stationary probability vector of the irreducible positive-recurrent Markov process whose infinitesimal generator

Proof: It follows from that

(2) |

(3) |

(4) |

For Equation (3), note that

where

is the infinitesimal generator of an irreducible and a positive-recurrent Markov process, thus its eigenvalue of the maximal real part is zero so that all the other eigenvalues have a negative real part; while

, coming from the PH distribution with irreducible representation , is invertible with the real part of each eigenvalue be negative due to the fact that , and the matrix has the properties that all diagonal elements are negative, and all off-diagonal elements are nonnegative. Note that each eigenvalue of the matrix are the sum of an eigenvalue of the matrix and an eigenvalue of the matrix , thus each eigenvalue of the matrix has a negative real part (i.e., it is non-zero). This shows that the matrix is invertible by means of det, which is the product of all the eigenvalues of . Hence, from Equation for , we obtainThis gives

It follows from (2) and (4) that

Thus we have

Let

Then the matrix is the infinitesimal generator of an irreducible positive-recurrent Markov process. Thus the Markov process exists the stationary probability vector , that is, there exists the unique solution to the system of linear equations: and . This completes the proof.

The following theorem provides a necessary and sufficient conditions under which the Markov process is positive recurrence.

###### Theorem 2

The Markv process of GI/M/1 type is positive recurrent if and only if

(5) |

Proof: By using the mean drift method given in Chapter 3 of Li [18] (e.g., Theorem 3.19 and the continuous-time case in Page 172), it is easy to see that the Markv process of GI/M/1 type is positive recurrent if and only if

(6) |

Note that

(7) |

and

(8) |

thus we obtain

This completes the proof.

It is necessary to consider a special case in which the transaction inputs are Poisson with arrival rate , and the blockchain-building and block-generation times are exponential with service rates and , respectively. Note that this special case was studied in Li et al. [56], here we only restate the stable condition as the following corollary.

###### Corollary 3

The Markov process of GI/M/1 type is positive recurrent if and only if

(9) |

By observing (9), it is easy to see that , that is, the complicated service speed of transactions is faster than the transaction arrival speed, under which the Markov process of GI/M/1 type is positive recurrent. However, it is not easy to understood from (5).

If the Markv process of GI/M/1 type is positive recurrent, we write its stationary probability vector as

where for

and for

for

and for

Note that in the above expressions, the vector is based on the lexicographical order of the elements, that is,

If , then the Markv process of GI/M/1 type is irreducible and positive recurrent. Thus the Markov process exists a unique stationary probability vector, which is also matrix-geometric. Thus, to express the matrix-geometric stationary probability vector, we need to first obtain the rate matrix , which is the minimal nonnegative solution to the following nonlinear matrix equation

(10) |

In general, it is very complicated to solve this nonlinear matrix equation (10) due to the term of size . In fact, for the blockchain queueing system, here we can not provide an explicit expression for the rate matrix yet. In this case, we can use some iterative algorithms, given in Neuts [67], to give its numerical solution. For example, an effective iterative algorithm given in Neuts [67] is described as

Note that this algorithm is fast convergent, that is, after a finite number of iterative steps, we can numerically obtain a solution of higher precision which is used to approximate the rate matrix .

The following theorem directly comes from Theorem 1.2.1 of Chapter 1 in Neuts [67]. Here, we restate it without a proof.

###### Theorem 4

If the Markv process of GI/M/1 type is positive recurrent, then the stationary probability vector is given by

(11) |

where the vector is the stationary probability vector of the censoring Markov process of levels and which is irreducible and positive recurrent. Thus it is the unique solution to the following system of linear equations:

(12) |

where

Proof: Here, we only derive the boundary condition (12). It follows from that

By using the matrix-geometric solution for , we have

This gives the desired result, and completes the proof.

## 4 The Stationary Transaction Numbers

In this section, we discuss two key performance measures: The average stationary numbers of transactions both in the queueing waiting room and in the block, and give their simple expressions by means of the vectors and , and the rate matrix . Finally, we use numerical examples to verify computability of our theoretical results, and show how the performance measures depend on the main parameters of this system.

If , then the blockchain system is stable. In this case, we write that w.p.1,

where and are the numbers of transactions in the queueing waiting room and of transactions in the block at time , respectively.

(a) The average stationary number of transactions in the queueing waiting room

It follows from (11) and (12) that

Note that the above three vectors has different sizes, for example, the size of the first one is for and for ; while the sizes of the second and third are . For simplicity of description, here we use only a vector whose size can easily be inferred by the context.

(b) The average stationary number of transactions in the block

Let . Then

In the remainder of this section, we provide some numerical examples to verify computability of our theoretical results, and to analyze how the two performance measures and depend on some crucial parameters of the blockchain queueing system.

In the two numerical examples, we take some common parameters: The block-building service rate , the block-generation service rate , the arrival rate , the maximum block size , respectively.

From Figure 3, it is seen that and decrease, as increases. At the same time, decreases as increases, but increases as increases.

## 5 The Transaction-Confirmation Time

In this section, we provide a matrix-analytic method based on the -factorizations for computing the average transaction-confirmation time of any transaction, which is always an interesting but difficult topic because of the batch service for a block of transactions, and the Service-In-Random-Order for choosing some transactions into a block.

In the blockchain system, the transaction-confirmation time is the time interval from the time epoch that a transaction arrives at the queueing waiting room to the time point that the block including the transaction is first confirmed and then it is built in the blockchain. Obviously, the transaction-confirmation time is the sojourn time of the transaction in the blockchain system, and it is the sum of the block-generation and blockchain-building times of a transaction taken in the block. Let denote the transaction-confirmation time of any transaction when the blockchain system is stable.

To study the transaction-confirmation time , we need to introduce the stationary life time of the PH blockchain-building time with an irreducible representation . Let be the stationary probability vector of the Markov process . Then the stationary life time is also a PH distribution with an irreducible representation , e.g., see Property 1.5 in Chapter 1 of Li [54]. Clearly,

Now, we introduce a Markov process with an absorbing state, whose state transition relation given in Figure 4 according to Figures 1 and 2. At the same time, we define the first passage time as

For and , if , then we write the first passage time as .

###### Remark 3

It is necessary to explain the absorbing rates in the below part of Figure 4.

(1) If for and , then the transactions can be chosen into a block once the previous block is pegged to the blockchain, a tagged transaction of the transactions is chosen into the block with probability .

(2) If for and , then any transactions of the transactions can randomly be chosen into a block once the previous block is pegged to the blockchain, thus a tagged transaction of the transactions is chosen into the block of the maximal size with probability .

When a transaction arrives at the queueing waiting room, it can observes the states of the blockchain system having two different cases:

Case one: State for and . In this case, with the initial probability , the transaction-confirmation time is the first passage time of the Markov process with an absorbing state, whose state transition relation given in Figure 4.

Case two: State for and . In this case, with the initial probability , the transaction-confirmation time is decomposed into the sum of the random variable and the first passage time given in Case one. It is easy to see Figure 4 that there exists a stochastic decomposition: .

For the above analysis, it is easy to see that computation of the first passage time is a key in analyzing the transaction-confirmation time.

Based on the state transition relation given in Figure 4, now we write the infinitesimal generator of the Markov process as

(13) |

where

for

If the blockchain system is stable, then the probability that a transaction observes State only after arrived at the instant is ; for , the probability that a transaction observes State only after arrived at the instant is ; for , the probability that a transaction observes State only after arrived at the instant is ; for , the probability that a transaction observes State only after arrived at the instant is . Obviously, for , States and will not be encountered by the transaction only after arrived at the instant, thus the stationary probabilities and should be omitted by the observation of any arriving transaction. Based on this, we introduce a new initial probability vector for the observation of any transaction only after arrived at the instant as follows:

where for

and for

To emphasize on the event that the transaction observes State only after arrived at the instant, we introduce a new initial probability vector

where for

In addition, we take

###### Theorem 5

If the blockchain system is stable, then the first passage time is a PH distribution of infinite size with an irreducible representation , where is given in (13), and

Also, we have

Proof: If the blockchain system is stable, then is the first passage time of the Markov process (or ) with an absorbing state and under the initial state . Note that the original Markov process given in (1) is irreducible and positive recurrent, thus is a PH distribution of infinite size with an irreducible representation . At the same time, a simple computation gives

This completes the proof.

Based on Theorem 5, now we extend the first passage time to , which is the first passage time of the Markov process with an initial probability vector . The following corollary shows that is PH distribution of infinite size, while its proof is easy and is omitted here.

###### Corollary 6

If the blockchain system is stable, then the first passage time is a PH distribution of infinite size with an irreducible representation , and

The following theorem provides a simple expression for the average transaction-confirmation time by means of Corollary 6.

###### Theorem 7

If the blockchain queueing system is stable, then the average transaction-confirmation time is given by

where is the stationary life time of the PH blockchain-building time with an irreducible representation . Further, we have

where is the stationary probability vector of the Markov process .

Proof: We first introduce two basic events

and

It is easy to see that . Thus the two events is complementary according to the fact that the transaction can observe all the states of the Markov process only after arrived at the instant. If the blockchain system is stable, then it is easy to compute the probabilities of the two events as follows:

and

By using the law of total probability, we obtain

The proof is completed.

As shown in Theorem 7, it is a key in the study of PH distributions of infinite sizes whether or not we can compute the inverse matrix of infinite size. To this end, we need to use the -factorizations, given in Li [54], to provide such a computable path. In what follows we provide only a simple interpretation on the computation, while some detailed discussions will be left in our another paper in the future.

In fact, it is often very difficult and challenging to compute the inverse of a matrix of infinite size only except for the triangular matrices. Fortunately, by using the -factorizations, the infinitesimal generator can be decomposed into a product of three matrices: Two block-triangular matrices and a block-diagonal matrix. Therefore, the -factorizations play a key role to generalizing the PH distributions from finite dimensions to infinite dimensions.

By using Subsection 2.2.3 in Chapter 2 of Li [54] (see Pages 88 to 89), now we provide the UL-type -factorization of the infinitesimal generator . It will be seen that the -factorization of has a beautiful block structure, which is well related to the special block characteristics of corresponding to the blockchain system. To this end, we need to define and compute the -, - and -measures as follows.

The -measure. Let for be the minimal nonnegative solution to the system of nonlinear matrix equations:

and

Comments

There are no comments yet.