Virtual currency mining hash
bookkeeping
because bookkeeping is a reward, each time you can add a certain number of bitcoin for yourself, so everyone is competing for bookkeeping, which of course leads to a problem: when there is inconsistency in bookkeeping, the system introces workload proof to solve the problem, and the rules are as follows:
1. In a period of time, only one person can succeed in bookkeeping
2. Obtain the unique bookkeeping right by solving the cryptography problem
3. Other nodes the bookkeeping results
but before the workload proof, The accounting node will do the following preparatory work:
1. Collect the original transaction information that has not been recorded in the broadcast
2. Check whether the payment address in each transaction information has enough balance
3. Verify whether the transaction has the correct signature
4. Package and record the verified transaction information
5. Add a reward transaction: add 12.5 to your address Bitcoin
if you succeed in competing for bookkeeping rights, you can get a reward of 12.5 bitcoin
workload proof
the hash value of the previous block and the current account page information will be hashed together as the original information in each bookkeeping. In order to ensure that only one person can keep accounts around 10 minutes, we have to improve the difficulty of keeping accounts. The results of hash must start with several zeros. In order to satisfy the condition, hash is to introce a random number variable
denoted by pseudo code:
1. Hash (last hash value, transaction record set) = 456635bcd
2. Hash (last hash value, transaction record set, random number) = 0000afd635bcd
if you change part of the original information of hash, the hash value will also change continuously. Therefore, when you run hash, the value of random number will change continuously, A random number can always be found so that the result of hash starts with several zeros. The node that finds the random number first obtains the unique bookkeeping right
verification
after the node successfully finds the hash value, it will broadcast and package the block to the whole network immediately, and the node of the network will verify it after receiving the broadcast. If the verification is passed, it indicates that a node has successfully decrypted, it will not compete for the current block, but will choose to accept the block and record it in its own account book for the next round of competitive guessing. Only the fastest decrypted block in the network will be added to the ledger, and other nodes will to ensure the uniqueness of the whole ledger
If a node has cheating behavior, it will cause the node of the network to fail the verification, give up its packaged block directly, and cannot be recorded in the general ledger, then the consumption cost of the cheating node will be in vain. Therefore, miners consciously abide by the consensus protocol of bitcoin system, and ensure the security of the whole system
it's like you go to the construction site to move bricks. After moving bricks for one day, the contractor asks you how can you prove that you move bricks for one day?
it seems that his family sells both mining machines and computing power contracts. More funds, try to buy their own mining machine. If the investment fund is small, it is better not to choose to mine by yourself. After all, the cost of manpower, material resources and energy required for mining is too high and not cost-effective. You can try cloud computing power mining. You don't need to spend too much time to maintain it yourself. Someone has helped you. Moreover, the threshold is relatively low. I remember that it seems that I can buy 1t computing power at the lowest level, so the risk will be much less
let's see what others say.
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 />
whole network computing power (estimation)
199947 gigahashes / s
this is the current computing power of 3600 coins proced per day divided by computing power 0. It's just 8000g last month. The price is rising too fast. The mining machine has been in mass proction
lightning network is a kind of chain breaking technology, which uses layer 2 to eliminate the transaction processing capacity of bitcoin
examples of terminology usage
bitfinex plans to implement tether based lightning network (usdt)
detailed description
if lightning network is introced, it is possible to trade outside the crowded blockchain, so as to speed up the transaction speed and rece the cost. If you can speed up transactions and rece costs, you can make small payments, which is expected to create new procts and services
6. Mining pool
Mining pool is an organized server, which is created to collect the hash value of each miner and cooperate in mining
examples of terminology usage
the rewards earned by the virtual currency exchange binance in the mining pool can be directly traded by binance
detailed description
in the mining business of vital scale, a mechanism for multiple miners to cooperate in mining. The reward is paid according to the contribution of the mining
7. Half lifehalf life refers to the time when the mining reward (= new circulation) of bitcoin and other virtual currencies is reced by half
examples of terminology usage
cryptocurrency bitcoin (BTC) will reach its third half-life on May 12, 2020, and the mining reward will be reced from 12.5 BTC to 6.25 BTC
detailed description
many virtual currencies have "issuance limits" to prevent inflation, and the new issuance will be reced by half every certain interval of half-life. This is also a noteworthy event unique to virtual money, because with the decrease of supply and the rising of price, the scarcity value increases significantly