Position: Home page » Equipment » Principle of pow mining algorithm

Principle of pow mining algorithm

Publish: 2021-04-24 14:11:59
1.

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 numbers

extended 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

2. Bitcoin mining is a process of using computer hardware to do mathematical calculation for bitcoin network to confirm transactions and improve security. As a reward for their service, miners can get the Commission included in the transaction they confirm, as well as the newly created bitcoin. Mining is a professional and competitive market. The bonus is divided according to the amount of calculation. Not all bitcoin users mine, and it's not easy to make money from mining

however, at present, professional Avalon ASIC miner is needed for mining, and it also needs to be included in a mine pool. If you are a retail investor, of course, if you arrange a large mine, you don't need it.
3.

the principle of bitcoin mining is to implement rules made by people and automatically executed by computers

Satoshi Nakamoto, the inventor of bitcoin, has stipulated this rule from the very beginning, and those who participate in bitcoin blockchain must automatically abide by it unconditionally

The content of

rules is generally ,

people who pack the circulation data of bitcoin, arrange it into a fixed size, and then upload it to the blockchain for bitcoin whole network synchronous broadcasting can get 50 bitcoins rewarded by the system

under certain conditions, these rewards will be halved, about once every four years

so how to complete the data packing

the person who wants to complete this action must first have the necessary tools, that is, the software to execute the bitcoin blockchain, and the machine (computer at the beginning) to run the software; Then download and save all the bitcoin transaction data that have been recognized by the whole network. At this time, you become a "node" and a part of protecting the blockchain data

The

node can only get the priority of the packaged data after running a specific mathematical formula and getting the correct answer. The system will automatically give the reward to the node who gets the priority, who completes the packaging first and then uploads it to the blockchain, and receives and approves it from other nodes

if there is bitcoin service charge in the packaged transaction, the service charge belongs to the node

people think that the process of calculating the mathematical formula and then completing the package to get the reward is just like fishing for gold in the river. It is necessary to discard many wrong answers in order to find the right key to get gold, so people compare this process to mining

so bitcoin mining is not really to dig something, or to use computers to constantly collide and guess. Whoever guesses first wins the reward, that's all

4. Let me tell you this: POW has almost all the advantages and POCS have none of the disadvantages. Bitcoin's pow consensus mechanism has obvious shortcomings: energy waste, noise, mining centralization. The cost of bitcoin mining is getting higher and higher, and the computing power is concentrated in several large mines, so it is difficult for ordinary users to participate; HDFS adopts POC mechanism for hard disk mining, so that everyone can mine.
5. Bitcoin mining is through the mining node, and then the bitcoin mining machine (computer) constantly consumes its own computing power in exchange for bitcoin. In the bitcoin system, through its own algorithm, it can dynamically adjust the mining difficulty of the nodes in the whole network, and ensure that every 10 minutes, one node will succeed in mining. At this time, the bitcoin system will reward this person with a certain amount of bitcoin. Bitcoin mining is a complicated process, but it usually goes through these steps: preparation, finding the mine pool, registering the mine pool account, setting the mine pool account, downloading the bitcoin miner (software) and configuring the bitcoin miner; After the above steps, you can mine
the content of this article comes from: financial code of the people's Republic of China: application edition, China Law Press
6.

Bitcoin mining is a process of using computer hardware to do mathematical calculation for bitcoin network to confirm transactions and improve security

7. It's like a coin called yunbaolian. I searched for a paragraph to see if it's useful
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.
8. There are mainly two kinds of bitcoin algorithms, which are elliptic curve digital signature algorithm and sha256 hash algorithm

elliptic curve digital signature algorithm is mainly used in the generation process of bitcoin public key and private key, which is the cornerstone of bitcoin system. SHA-256 hash algorithm is mainly used in the workload proof mechanism of bitcoin

the principle of bitcoin generation is the special solution generated by complex operation, and mining is the process of finding the special solution. However, the total number of bitcoin is only 21 million, and with the continuous mining of bitcoin, the more difficult it will be to proce bitcoin, and the cost of acquiring bitcoin may be higher than the price of bitcoin itself

the bitcoin block consists of a block header and the transaction list contained in the block. The size of the block header is 80 bytes, which is composed of 4-byte version number, 32 byte hash value of the previous block, 32 byte Merkle root hash, 4-byte timestamp (current time), 4-byte current difficulty value and 4-byte random number. A block header with a fixed length of 80 bytes is the input string used to prove the workload of bitcoin. Constantly change the random number in the block header, that is, the value of nonce, and do double sha256 operation on the block header after each change, and compare the result value with the target value of the current network. If it is less than the target value, the problem is solved successfully, and the workload is proved to be complete

the essence of bitcoin is actually the unique solution of a set of equations generated by a bunch of complex algorithms. Bitcoin is the first distributed virtual currency in the world, which has no specific distribution center. The network of bitcoin is composed of all users, because there is no center to ensure the security of data.
9. 1. POW is the proof of workload, which is familiar with mining. Through mathematical operation, we can calculate a random number that meets the rules, that is, we can obtain the bookkeeping right, send out the data that need to be recorded in this round, and store it together with other nodes in the whole network after verification. In a word, nineteen is one hundred and sixty; The more you do, the more you get, that is socialism, distribution according to work, more work, more gain
2. POS is the proof of rights and interests of POS, which is an upgrade consensus mechanism of pow; According to the token proportion and time of each node; It can rece the difficulty of mining in equal proportion, so as to speed up the speed of finding random numbers. In a word: the more you hold, the more you get. POS is capitalism, distributing according to money, money makes money
3. I read the news a few days ago that God V wanted to solve this problem. Pgpow algorithm is proposed by biut public chain. Polling group proof of work integrates the advantages of POS and POW consensus algorithm to realize decentralized POW mining.
Hot content
Inn digger Publish: 2021-05-29 20:04:36 Views: 341
Purchase of virtual currency in trust contract dispute Publish: 2021-05-29 20:04:33 Views: 942
Blockchain trust machine Publish: 2021-05-29 20:04:26 Views: 720
Brief introduction of ant mine Publish: 2021-05-29 20:04:25 Views: 848
Will digital currency open in November Publish: 2021-05-29 19:56:16 Views: 861
Global digital currency asset exchange Publish: 2021-05-29 19:54:29 Views: 603
Mining chip machine S11 Publish: 2021-05-29 19:54:26 Views: 945
Ethereum algorithm Sha3 Publish: 2021-05-29 19:52:40 Views: 643
Talking about blockchain is not reliable Publish: 2021-05-29 19:52:26 Views: 754
Mining machine node query Publish: 2021-05-29 19:36:37 Views: 750