What does consensus mean in blockchain
e to the high network delay in peer-to-peer network, the transaction order observed by each node can not be completely consistent. Therefore, the blockchain system needs to design a mechanism to reach a consensus on the sequence of transactions that occur in the same time. This algorithm to reach consensus on the order of transactions in a time window is called consensus mechanism
-- chainknow
in a decentralized structural system, because the status of all participants is equal, when there are differences, how to reach consensus becomes a problem
therefore, a well-designed and easy to operate consensus mechanism is the key to the smooth self operation of a distributed system
in short, consensus mechanism is an algorithm to reach consensus on the sequence of things in a period of time. It is a mechanism for blockchain nodes to reach consensus on block information in the whole network.
the biggest consensus of blockchain is to make money
there will be a process for the advancement of blockchain consensus. In the current flood and famine period, making money based on cognition and circle is still in consensus 1.0 stage. Fortunately, its size is not enough to affect the overall situation of the world economic structure, and the cost of supervision and policy intervention is low. In the large community of blockchain, more roles need to be involved, In particular, the government with service functions should not be absent, and the people in the community should not act like frightened birds, independent from the outside world
the bustling blockchain communities are not forests, but bird nests in a few trees at most. They chatter in order to grab food. Even if there is a third-class wind, everyone will be scattered. If you really want to dream of building a forest, you should bravely go down the tree, dig ditches and divert water
in the blockchain system, there is no centralized bookkeeping institution like a bank, so it is very important to ensure the consistency of each transaction on all bookkeeping nodes, that is, to make the whole network reach a consensus. The consensus mechanism solves this problem
at present, the main consensus mechanisms are workload proof mechanism POW and equity proof mechanism POS
POW determines your chances of getting bookkeeping rights by evaluating your workload. The greater the workload, the more likely you will get this bookkeeping opportunity
POS determines your chances of getting bookkeeping rights by evaluating the number and ration of tokens you hold. This is similar to the stock dividend system, holding a relatively large number of shares can get more dividends
the principle of dpos is similar to that of POS, except that some "deputies to the National People's Congress" are selected. The main difference from POS is that the node elects several agents, which are verified and recorded by the agents
with the development of technology, more advanced consensus mechanisms may emerge in the future.
blockchain is not only the core technology behind bitcoin, but also the infrastructure supporting bitcoin. Therefore, when talking about the consensus of blockchain, we must talk about the consensus of bitcoin
the core breakthrough of bitcoin is to reach a consensus on transaction events in the case of decentralization, that is, to reach an agreement on the effectiveness of a transaction without a central organization<
bitcoin's method to achieve this consensus mainly includes two parts:
incentive; That is, each block generates a certain amount of new bitcoin to motivate participants
introce external resources to ensure safety; That is, to ensure the security of consensus through a large number of external calculations, that is, proof of power
this is also the method adopted by almost all POW currencies. For example, dent, Wright coin, sand coin, dog coin and so on.
blockchain is a decentralized distributed ledger system. Due to the high network delay in the peer-to-peer network, the transaction order observed by each node can not be completely consistent
therefore, the blockchain system needs to design a mechanism to reach a consensus on the sequence of transactions that occur in a certain period of time. This algorithm to reach consensus on the order of transactions in a time window is called consensus mechanism.
1、 The types of mobile phones are not exactly the same: g9700 belongs to 4G / 3G mobile phones; G9730 belongs to 5g mobile phone
Second, the screen size and resolution are different: the main screen size of g9700 is 5.8 inches, the narrow frame is 3.42mm, and the screen proportion is high 84.49%, the main screen resolution is 2280 x 1080 pixels; G9730 home screen size 6.1 inches, narrow frame 04mm, screen ratio The resolution of the main screen is 3040x1440 pixels Third, the camera configuration is different: g9700 has three cameras, including two rear cameras, which are 16 million pixels + 12 million pixels, and the front camera is 10 million pixels; G9730 has four cameras, one more 12 megapixel rear camera than g9700 Fourth, the overall size and weight of the mobile phone are different: the size of g9700 mobile phone is 142.2x69.9x7.9mm, the weight is not the same 150g The size of g9730 mobile phone is 149.9x70.4x7.8mm, and the weight of g9730 mobile phone is 157g (5) the color of mobile phone is different: g9700 mobile phone has four colors: bright jade white, carbon crystal black, glass green and lime yellow; G9730 has one less lime yellow color than g9700