Position: Home page » Bitcoin » Bitcoin random number generator

Bitcoin random number generator

Publish: 2021-05-18 14:17:36
1.

bitcoin is actually an e-coin data coin proced by P2P batch software, which belongs to a network virtual asset so bitcoin is also called bitcoin. It is generated by a set of cipher codes through complex algorithms. This rule is not interfered by any person or organization. Anyone can download, run or participate in the manufacture of bitcoin. One of the biggest characteristics of bitcoin is that it cannot be forged< you can make money in the bitcoin market by investing time and money
when you spend time on websites, you can visit these websites every few minutes to get a small amount of bitcoin. Therefore, we can do this if we have time. If you want to earn more, you should invest money in the early stage. Bitcoin also has a special casino, so you can earn more by luck

2. First of all, let's talk about the background. The basic principle of bitcoin "account" is key public key address. You can roughly understand it as "key box box number". Now is to start from the box number or box to crack the key
there are basically two kinds of attacks, one is dictionary attack, the other is brute force attack
dictionary attack is to use common passwords and their simple variants as keys one by one. As long as your pass phrase is not hard enough, the possibility of successful attack is very high. So if you want to use this, you need to popularize the knowledge of cryptography first, and don't think it's very safe to add a long password
if you don't use the wallet generated by pass phrase, you can only crack it violently, which is equivalent to enumerating all the possible keys. At present, this is impossible, even if the electronic computer is becoming more and more powerful. However, quantum computer can do it theoretically, but don't worry too much. If such a powerful quantum computer comes out, it will not only endanger bitcoin
at the same time, bitcoin has a second layer of protection: if an address only accepts bitcoin but does not output it, its public key is confidential, that is to say, no one else can see the box, only the box number. At present, the process of decing the box from the box number can't even be done by quantum computer. In other words, if there is a quantum computer, bitcoin has a last line of Defense: it's temporarily safe to transfer your money to a new address
finally, some time ago, the wallet generated by the Android client was attacked because of a bug in the underlying random number generator. In fact, this function is not random securerandom, which Google quickly admitted and fixed. It's hard to say whether this kind of thing will happen again, but I don't think we need to worry too much.
3. 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.
4.

Every other time, the bitcoin system will generate a random code on the system node. All computers in the Internet can search for this code. Whoever finds this code will generate a block and get a bitcoin. This process is often called mining

at present, one bitcoin is divided into eight decimal places based on the current data structure, that is, 0.00000001btc. The smallest unit of bitcoin g by miners is 0.00000001btc

generally speaking, bitcoin is like a gold mountain with a total amount of 21 million gold coins. To get it, players need to use the computing power of the computer to calculate a group of numbers according to the existing algorithms

extended data:

unlike all currencies, bitcoin does not rely on specific currency institutions to issue. 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 the use of cryptography design to ensure the security of all aspects of money circulation

the decentralized feature and algorithm of P2P can ensure that it is impossible to artificially control the value of bitcoin by mass manufacturing. The design based on cryptography can make bitcoin only be transferred or paid by the real owner. This also ensures the anonymity of money ownership and circulation transactions. The biggest difference between bitcoin and other virtual currencies is that the total amount of bitcoin is very limited and it has a strong scarcity

5. Bitcoin is a hot topic recently. It's a way to make money like lottery, but its appreciation and decline are a bit serious, so I don't mind playing with it.
6. Hub75, do you buy outdoors or indoors? It's OK to use SCM to proce a few simple characters. But if you want to have grayscale or something, SCM will not be able to proce characters. If you want to have more colors and less IO ports, you can't do it. If you want to play simply, you'd better buy lingxingyu's 801 receiving card, and the Gigabit network card will be good, Otherwise, it's really troublesome. If you want to find information, you can take a look at the website of Taiwan accumulation. There are Chinese information of 5020 or 5026 chips on it. Maybe your screen is not such a chip, but they are similar things. Just look at one. The information is easy to understand at noon!
7. 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.
8. I also want to know your question. For the same question, I have worked out one. Doesn't it need to broadcast all over the network? Doesn't it need time to broadcast all over the network? What should we do if there is a conflict? Who decides the time? I see some information that it's a random choice. If it's a bifurcation, who will decide and merge? Looking forward to expert answers
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