NP consensus mechanism
The consensus mechanism is an algorithm for maintaining consistency in distributed systems. The NP blockchain consensus algorithm uses a relatively mature and time-proven POS consensus mechanism. In the NP blockchain network transaction, each transaction will generate an order_list and its hash value, the complete data of the order_list will be stored on the chain, and the node will use the MBM model to constantly check the id in the NP blockchain network. Construct and update maturity_value.
In this model, we can see that nodes tend to use the greatest possibility to speed up the update of maturity_value, so as to ensure that the consensus is reached in the fastest time, and in the period of frequent transactions, the consensus will be reached faster.
In the transaction bookkeeping and verification process, the verification of the maturity_value of id should be a zero-knowledge verification process, and the id confusion and other algorithms involved in this process will be described in more detailed design documents.
NP's smart contract settlement is a data_feed_source for the chain, and the block hash on the chain is a pre-validator for the smart contract. Under such a structure, a transaction is divided into two bookkeeping processes with different security levels, bookkeeping based on goods and services and bookkeeping based on funds. The former can quickly reach a consensus and complete the delivery, and the latter can be completed after the former. On top of that, the whole network verification of the fund status is done on NP again, which has higher security and ensures the ultimate security of funds.
Last updated