Position: Home page » Bitcoin » Bitcoin mining hash algorithm

Bitcoin mining hash algorithm

Publish: 2021-05-05 17:37:44
1. In fact, the mining calculation of bitcoin is to do math problems together. The problem stem is the transaction that needs to be recorded. By doing the problem, everyone grabs the bookkeeping right, and the miners can get system rewards and transaction fees
the feature of sha256 algorithm used in bitcoin is that it's easy to verify the known answers correctly, but it's very troublesome to get the answers, and you need to try them one by one. The miner who got the answer first was recognized by everyone as having snatched the right to keep accounts, and the reward was given to him. Let's continue to grab the bookkeeping right of the next question
simply speaking, the significance of these calculations only lies in ensuring the stability and security of the whole system, and has no more significance. It is not comprehensive to regard bitcoin as a by-proct of computing. The generation and issuance of bitcoin, all the transactions and circulation in the bitcoin chain, and the stability of the bitcoin system are all the purposes of computing. Of course, in addition to maintaining the system, it does not proce other value and procts. This is also a black spot where bitcoin is accused of not being environmentally friendly and wasting resources
in general, bitcoin, as a milestone blockchain digital currency, comes from the huge value of a large amount of computing power investment and user trust. There is no doubt about that.
2. What is hash algorithm? How to ensure the fairness of mining
hash algorithm is a cryptographic algorithm that can only encrypt, but not decrypt. It can convert any length of information into a fixed length string
this string has two characteristics:
1. Even if the input value changes only a little, the output hash value will be very different
2. Only exactly the same input value can get exactly the same output value
3. There is no rule between the input value and the output value, so the input value cannot be calculated by the output value. In order to find the specified output value, we can only use enumeration method: constantly change the input value to find the output value that meets the conditions
hash algorithm ensures that the results of bitcoin mining can not be deced reversely. Therefore, the miner's continuous operation is essentially brutally cracking the correct input value. Whoever finds the first one will get the bitcoin reward.
3.

Bitcoin mining is a process that uses computer hardware to calculate the location of bitcoin and obtain it

mining is an incentive process to record data in the bitcoin system. In the bitcoin system, indivial users have the right to pack blocks after calculating a specific hash value by using CPU or GPU to hash

and in order to reward this user for packing blocks, the system will give a certain amount of bitcoin as reward. Because this process is very similar to "mining" in real life, most people call this process mining. In addition to bitcoin, other electronic virtual currencies can also be obtained through mining rewards, such as Ethereum, Monroe and so on

extended data:

mining risk:

1, currency security

the withdrawal of bitcoin requires hundreds of keys, and most people will record this long string of numbers on the computer, but frequent problems such as hard disk damage will make the key permanently lost, which also leads to the loss of bitcoin

2, system risk

system risk is very common in bitcoin, and the most common one is bifurcation. Bifurcation will lead to a drop in currency price and a sharp drop in mining income. However, many cases show that the forking will benefit the miners, and the forked competitive currency also needs the miners' computing power to complete the minting and trading process. In order to win more miners, the competitive currency will provide more block rewards and handling charges to attract miners. Risk makes miners

4. In order to know what mining is calculating, we must first know the essence of bitcoin and its proction process. Bitcoin is a network-based electronic currency, which is actually a string of codes of the Internet, calculated by algorithms. Mining is the process of completing the algorithm and the only way to proce bitcoin. And because of the algorithm, there are only 21 million bitcoins
1. Mining can not only proce bitcoin, but also guarantee transaction information
similarly, a mathematical system contains 21 million mathematical problems, so we need to constantly seek the special solution of each mathematical problem through a huge amount of calculation. In addition, the special solution is unique
mining can not only increase the supply of bitcoin money, but also protect the security of bitcoin transactions and prevent fraulent transactions. In terms of process, bitcoin network is a point-to-point payment system, and anyone can trade through the transaction program
in order to ensure that the transaction process is truthfully recorded, the role of "miner" is required to be responsible for recording bitcoin transaction information. The time interval is 10 minutes. The best recorded transaction records among miners will be packaged and stored in a new block, and the corresponding miners will also receive a certain amount of bitcoin rewards
2. The mining process is extremely complex, which is beyond human power
the specific process is as follows. When a miner listens to the transaction, he will first verify the transaction information. The verified transactions will be recorded by miners and stored in their own database. There may be thousands of miners in the world doing the same thing, but every ten minutes, only one miner has the right to create a new block, so that the transaction information recorded by himself can be recognized and stored permanently
next, miners need to fight for the right to keep accounts. This is a competition of computing power. The core of this competition is to use computers to complete a large number of calculation tasks and find a super difficult random number. This random number is the special solution of the equation mentioned in the first paragraph. The miner who calculates the correct random number first wins. According to the rules of the game, the probability of a miner getting the accounting right is directly proportional to the proportion of his computing power in the total computing power of the whole network. In other words, the probability of finding the random number is equivalent to throwing out 100 million dice, and the total number of dice is less than 150 million. Therefore, mining requires a large number of computers, installation of specific algorithm software, repeated operation day and night, not human
3. Bitcoin mining is actually "villagers' bookkeeping"
maybe some netizens still don't understand, let's take an example. In a village, the villagers often borrow money from each other, even if they write a written document, there is a risk of default. Then, every time there is a loan behavior in the village, we will use the village trumpet to inform everyone that all the villagers (miners) will record all the transaction records in their own account books.
5. Mining is a process to increase the supply of bitcoin money, while protecting the security of the bitcoin system and preventing fraulent transactions. Miners provide computing power for the bitcoin network in exchange for the opportunity to obtain bitcoin rewards
bitcoin system is composed of users (users control the wallet through the key), transactions (transactions will be broadcast to the whole bitcoin network) and miners (a blockchain is generated by competitive computing to reach a consensus at each node, and the blockchain is a distributed public authoritative account book, including all transactions in the bitcoin network)
mining is a process of increasing bitcoin money supply. Mining also protects the security of the bitcoin system, prevents fraulent transactions, and avoids "double payment", which means spending the same bitcoin multiple times. Miners offer algorithms for bitcoin networks in exchange for the opportunity to get bitcoin rewards. The miners verify each new transaction and record it in the general ledger. Every 10 minutes, a new block will be "mined", and each block contains all the transactions from the generation of the previous block to the present, which are added to the blockchain in turn. We call the transactions included in the block and added to the blockchain "confirmed" transactions. After the transaction is "confirmed", the new owner can spend the bitcoin he gets in the transaction
there are two types of rewards for miners in the process of Mining: the new currency reward for creating a new block, and the transaction fee for the transaction contained in the block. In order to get these rewards, miners compete to complete a mathematical problem based on encrypted hash algorithm, that is, to use bitcoin mining machine to calculate the hash algorithm. This requires strong computing power, how much the calculation process is, and whether the calculation results are good or bad. As the proof of miners' calculation workload, it is called "workload proof". The competition mechanism of the algorithm and the mechanism that the winner has the right to record transactions on the blockchain ensure the security of bitcoin
miners also get transaction fees. Each transaction may contain a transaction fee, which is the difference between the input and output of each transaction. A miner who successfully "digs" a new block in the process of mining can get all the transaction "tips" contained in the block. With the decrease of mining reward and the increase of the number of transactions in each block, the proportion of transaction fee in miners' income will graally increase. After 2140, all miners' earnings will be made up of transaction fees
mining is a process of decentralizing settlement, in which each settlement verifies and settles the processed transaction. Mining protects the security of bitcoin system, and achieves the consensus of the whole bitcoin network without a central organization. The invention of mining makes bitcoin very special. This decentralized security mechanism is the basis of point-to-point e-money. The reward and transaction fee for casting new coins are a kind of incentive mechanism, which can regulate miners' behavior and network security, and at the same time complete the currency issuance of bitcoin.
6.
  1. bitcoin is a string of code generated by an open-source P2P software, which we call cryptocurrency, e-currency and so on. Bitcoin is proced by mining. Generally speaking, bitcoin mining is to use your hardware to calculate the mathematical problems of sh265 algorithm, confirm network transactions, and ensure the security of the whole network system. As a reward, bitcoin system will give a certain amount of bitcoin reward according to the amount of computing power contributed by miners

  2. mining is bitcoin. Bitcoin will be generated several times every other period of time, and whoever grabs it will own it. The computer connected to the bitcoin system is the tool "miner" for grabbing bitcoin. As for the issue of national recognition of bitcoin, simply speaking, it depends on the possible impact on the country< br />

7.

In today's era of high development of the Internet, we are using the Internet more and more frequently, which has become an indispensable and important tool in our life. In particular, the mobile phone used for Internet communication has been used as a medium. In today's era, we are using mobile payment more and more, There are more and more ways to move. So what is digital currency? What do you know about it{ But generally speaking, it is a form of money< p> Finally, for such a form of transaction, it's all for the convenience of our daily life, and it's also for serving our own broad masses of people, so we don't have to worry about the advantages and disadvantages of digital currency and mobile payment

8.

Hash algorithm maps any length of binary value to a fixed length of smaller binary value, which is called hash value. Hash value is a unique and compact numerical representation of a piece of data. If you hash a piece of plaintext and change only one letter of the paragraph, subsequent hashes will proce different values. It is computationally impossible to find two different inputs with the same hash value

message authentication code (MAC) hash function is usually used with digital signature to sign data, while message detection code (MDC) hash function is used for data integrity

the basic information of bitcoin network is as follows:

all digital currencies that need to be mined have hash values, such as Laite coin, Ruitai coin, doggy coin, Weimeng coin, Diandian coin, Yuanbao coin, etc< br />

9.

Bitcoin is actually a useless string of numbers, but it is recognized as useful, just like diamonds, antiques, calligraphy and paintings, game skin and so on. They can't be eaten or used, but we will recognize their value


"mining" just allows more people to participate in the construction of blockchain network. Is it really good that so many electricity charges are used to "calculate" a series of virtual values? Bitcoin is not a hedge. The price of bitcoin fluctuates greatly. Speculation on bitcoin may become rich overnight or become poor overnight. Bitcoin is not as safe as it claims. In 2014, the world's largest bitcoin trading website, mtgox, was hacked and went bankrupt, and the $467 million worth of bitcoin evaporated instantly. Criminals use it to launder money, evade taxes and so on. It is also quite difficult for the government to investigate. The above personal opinions are welcome to be criticized and corrected. Agree with me, please click like before you go, thank you! Like me, please pay attention to me, thank you again


10. 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.
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