The consensus mechanism of bitcoin is pow, right
POW: full name of proof of work
pos: proof of stake
both of them are the consensus mechanism of blockchain and the bookkeeping method of digital currency
the difference is:
1. POW mechanism: workload proof mechanism, that is, the proof of workload, is the requirement that must be met when generating a new transaction information (that is, a new block) to be added to the blockchain. In the blockchain network based on workload proof mechanism, the ability of nodes to obtain the correct numerical solution to generate blocks by calculating the numerical solution of random hash hash is the specific performance of node computing power
POS mechanism: the proof of rights and interests requires the certifier to provide a certain amount of ownership of cryptocurrency. The operation mode of the proof of rights and interests mechanism is that when creating a new block, the miners need to create a "currency right" transaction, and the transaction will send some coins to the miners themselves according to the preset proportion. According to the proportion and time of token owned by each node, the equity proof mechanism reces the mining difficulty of nodes proportionally according to the algorithm, so as to speed up the speed of searching for random numbersextended materials:
the concept of bitcoin was first proposed by Nakamoto in 2009. According to Nakamoto's ideas, the open source software and the P2P network on it were designed and released. Bitcoin is a kind of P2P digital currency. Point to point transmission means a decentralized payment system
unlike most currencies, bitcoin does not rely on specific currency institutions. It is generated by a large number of calculations based on specific algorithms. Bitcoin economy uses the distributed database composed of many nodes in the whole P2P network to confirm and record all transactions, and uses the design of cryptography to ensure the security of all aspects of currency circulation. The decentralized nature and algorithm of P2P can ensure that it is impossible to artificially manipulate the value of bitcoin through mass proction
pos: POS is a consensus algorithm in the public chain, which can be used as a replacement of pow algorithm. POW is a mechanism to ensure the security of bitcoin, Ethereum and many other blockchains, but POW algorithm is criticized for destroying the environment and wasting power in the process of mining. POS tries to solve these problems by replacing the concept of mining with a different mechanism
POS mechanism can be described as a kind of virtual mining. POS mainly relies on the token in the blockchain itself. In pow, a user may buy a computer for 1000 dollars, join the network to mine and proce new blocks, and get a reward. In POS, users can buy tokens of equal value with us $1000 and put them into the POS mechanism as deposit, so that users have the opportunity to generate new blocks and get rewards. In pow, if users spend $2000 on hardware equipment, they will of course get twice the computing power to mine, thus getting twice the reward. Similarly, if you invest twice as much token as the deposit in the POS mechanism, you have twice as much chance to get the right to generate new blocks.
cloud chain is the first risk protection platform in the world to guarantee the blockchain world. In the cloud insurance chain platform, each user can use CIC token to complete the whole risk hedging process of insurance, underwriting and automatic claim settlement. The cloud insurance chain guarantees the intelligent contract to realize the automation of claims settlement, at the same time to disintermediate the guarantee of the blockchain world, which greatly reces the trust cost and operation cost. On February 5, okex, the world's largest digital currency trading platform, announced the global launch of cloud insurance chain (CIC), and opened the trading markets of CIC / BTC, CIC / Eth and CIC / usdt.
like the theory of evolution, the main chain is obtained through continuous screening consensus, and the accumulated amount of computation is high. If you want to forge the main chain, you must pay a higher price (half of the computing power of the whole network). For example, the electricity consumption of bitcoin mining is equal to that of Singapore. You have to pay half of Singapore's electricity if you want to fake it
bitcoin uses the pow mechanism in the process of block generation. A block hash that meets the requirements is composed of n leading zeros, and the number of zeros depends on the difficulty value of the network. In order to get a reasonable block hash, it needs a lot of calculation, and the calculation time depends on the hash speed of the machine. When a node provides a reasonable block hash value, it means that the node has gone through a lot of calculation. Of course, the absolute value of calculation times can not be obtained, because it is a probability event to find a reasonable hash. When a node has n% of the computing power of the whole network, it has n / 100 probability to find block
hash
the work proof mechanism seems very mysterious, but it is widely used in society. For example, diploma, degree certificate and other certificates are proof of work. Having a certificate means that you have devoted yourself to study and work in the past. Most things in life are judged by results.
