Understand the consensus algorithm of NGK
The distributed consensus algorithm is the only algorithm exists in the NGK.IO blockchain. This algorithm meets the performance requirements of the referenced program on the blockchain. Therefore, the users who hold tokens on the NGK blockchain could continuously select the block producers through a voting mechanism. In this way, any token holders who have votes can participate in the process of producing blocks.
In this process, NGK blockchain could generate a block approximately every three seconds, and the producer can freely choose when to complete the block production. Once it is not completed within the predetermined time, the blocks of this time period will be skipped. If this happens multiple times, then the blockchain will have an interval time that is a multiple of three seconds.
NGK blockchain has 21 producers, each with 6 producers, and a total of 126 blocks are produced in one round. These 21 producers are the so-called 21 block producers, and their production order will be voted by the token holders.
If a producer misses to produce a block and no block is produced within 24 hours, they will be removed by the system. They could also restore their status by informing the entire ecosystem that they are going to start production again. This method ensures the reliability of block producers and the smooth operation of the entire network.
With the support of the consensus algorithm, the relationship between the block producers is cooperative rather than competitive, so the DPOSS blockchain will not encounter any forks. If there is a fork, the algorithm will bring the consensus to the longest chain. This method effectively maintains the block producers with the same consensus on the original blockchain.
Every transaction in the NGK.IO system will contain the hash value of the nearest block. The system can quickly check if any user goes to the fork and prevent the users from making large transactions on the blockchain fork. Besides, this makes it extremely difficult to be counterfeited. Over time, all users will recognize the chain they are on because it is difficult for the fork to occur. Thus, it is difficult to bring the transactions from a legal blockchain to a fake fork.