PoD Consensus Algorithm Overview
Last updated
Last updated
As previously noted, our Escrow node is a voting transaction confirmation node. Each Escrow node is randomly selected according to a determined transaction volume and receives transaction confirmation status from a randomly selected voting node. During the 10-block generation, five voting nodes, excluding the sending and receiving nodes from the seven selected nodes, vote on each transaction, Escrow nodes determine true or not-true of a transaction using a decision-making formula. The number of voting nodes participating in the vote will change depending on the scale of Voting nodes joining in the future. If the sum of the transaction’'s true/not-true results are greater than or equal to 75% (the threshold value), the transaction's token is released. Figure 2 shows the flow diagram for true/not-true transactions.
Voting-based blockchain sample codeVoting-based blockchain sample code
Escrow Accounts
Escrow node escrow accounts help prevent the mistake of giving tokens to the wrong party. The Escrow node holds the tokens until the transactions in the escrow account are confirmed by selected multiple voting nodes, and when the Escrow node confirms that the transaction is true, it releases the tokens to the recipient's wallet.
Escrow Account Determination Formula
θj is the bias coefficient of the decision condition when the NFT content has comments.
In the default setting example below, seven nodes were selected, five nodes responded True except for sender and receiver nodes, and one node responded Not-True. If the threshold is less than or equal to 75%, the transaction is considered a "True" transaction.
User Type | Voting Node | Reply Signal | Result | Custody |
NFT buyer | A | T | True | True |
NFT seller | B | T | True | True |
Other user | C | NT | True | True |
Other service | D | NT | True | True |
Other user | E | NT | True | True |
Other service | F | T | Not true | Not true |
Other user | G | NT | True | True |
In the above example, the result is True both when the response signal is True (lines 1 and 2) and when it is not (lines 3,4, and 5).
The motivation for maintaining Xenea is it has the capability of PoW mining with a confirmation vote for each transaction. The Xenea algorithm randomly selects a number of nodes to identify the transaction nodes. If consensus is reached, all selected nodes will receive token rewards. Thus, all participating voting nodes have the opportunity to receive rewards if they reply to the transaction confirmation within the required time frame.