What is the principle diagram of network mining
In short, mining is the use of chips for a random number related calculation, get the answer in exchange for a virtual currency. Virtual currency can be exchanged for the currency of each country through some way. The stronger the computing power, the faster the chip can find this random answer. Theoretically, the more virtual coins can be proced per unit time. Because it's about random numbers, you can only get rewards if you happen to find the answer
In his paper, Nakamoto stated:"in the absence of central authority, it not only encourages miners to support bitcoin network, but also enables bitcoin's currency circulation system to have the initial source of money injection."
Nakamoto compares the generation of bitcoin by consuming CPU power and time to the consumption of resources by gold mines to inject gold into the economy. Bitcoin mining and node software mainly initiates zero knowledge proof and verification transactions through peer-to-peer network, digital signature and interactive proof system
each network node concts broadcast transactions to the network. After these broadcast transactions are verified by miners (computers on the network), miners can use their own work proof results to express their confirmation. The confirmed transactions will be packaged into data blocks, and the data blocks will form a continuous data block chain
Nakamoto himself designed the first version of bitcoin mining program, which was later developed into the first generation of widely used mining software bitcoin, which was popular from 2009 to mid-2010
each bitcoin node will collect all the unconfirmed transactions and gather them into a data block. The miner node will add a random adjustment number and calculate the SHA-256 hash value of the previous data block. The mining node tries again and again until it finds the random adjustment number so that the hash value is lower than a specific target
extended data
at the earliest, bitcoin miners were mining through Intel or AMD CPU procts. But because mining is a computing intensive application, and with the continuous improvement of mining number and equipment performance, the difficulty graally increases, now using CPU mining has no profit or even loss
as of 2012, since the first quarter of 2013, miners graally began to use GPU or FPGA and other mining equipment [5]. At the same time, a large number of ASIC devices were launched in mid 2013
since July 2013, the computing power of the whole network has shown a straight-line rise e to the large number of ASIC equipment put into operation. Based on the average computing power in July 2013, all CPU mining equipment has been unable to generate positive revenue, and FPGA equipment is close to no revenue
according to the estimation of average computing power in September 2013, the existing small ASIC mining equipment developed for indivials will also be close to no positive revenue in the next 1-2 months. A large amount of computing power is monopolized by cluster ASIC mining equipment with 5 th ash / s or more. Because of no profit, indivial mining is almost squeezed out of mining groups. Some bitcoin miners have raised funds to build machine rooms and install a large number of mining equipment in places where low-cost electricity can be obtained
in order to save the cost of mining, some bitcoin miners make mining programs into malicious programs to infect other people's computers on the network to mine for themselves
do you remember what the consensus mechanism of bitcoin is? The consensus mechanism of bitcoin is pow. To put it simply, the more work you do, the higher the amount of computation you pay, the more likely you will be the first to find the correct hash value, and the more likely you will be rewarded with bitcoin
however, there are some defects in the pow of bitcoin, that is, it is too slow to process transactions, and miners need to constantly collide hash values through calculation, which is costly and inefficient. Friends who are interested in blockchain knowledge should see such a saying:
in order to make up for the deficiency of bitcoin, Ethereum has proposed a new consensus mechanism, called POS (this is the abbreviation of English, which means "proof of equity", also translated into "proof of equity")
POS simply means the same as its literal meaning: equity, equity. The more currency you hold, the more equity you have, the higher your equity
Ethereum's POS means that the more money you hold, the longer you hold it, the less difficult it will be to calculate and the easier it will be to mine
in the initial setting of Ethereum, Ethereum hopes to build a relatively stable system by using POW in the early stage, then graally adopt POW + POS, and finally completely transition to POS. So, it's true that the consensus mechanism of Ethereum is POS, but POS is only a plan or goal at the beginning of Ethereum's release. At present, Ethereum has not yet transitioned to POS, and the consensus mechanism adopted by Ethereum is still pow, that is, the pow of bitcoin, but it is slightly different from the pow of bitcoin
the amount of information here is a bit large,
the first information point is that the consensus mechanism currently adopted by Ethereum is also pow, but it is slightly different from the pow of bitcoin. So, what's the difference between the pow of Ethereum and bitcoin: in short, the mining difficulty of Ethereum can be adjusted, but the mining difficulty of bitcoin can't be adjusted. Just like our college entrance examination, because the teaching situation and the number of students in different provinces are not the same, so the college entrance examination is divided into national papers and provincial independent proposition
Ethereum said that I am in favor of the topic by region. Bitcoin said: No, it must be the same volume in the whole country. The difficulty is the same for everyone
the popular explanation is that bitcoin uses computer computing power to do a lot of hash collisions, enumerate various possibilities to find a correct hash value. The Ethereum system has a special formula to calculate the difficulty of each block. If a block is verified faster than the previous block, Ethereum protocol will increase the difficulty of the block. By adjusting the block difficulty, the time needed to verify the block can be adjusted
according to the Ethereum protocol, the dynamic adjustment method of difficulty is to make the time interval of creating new blocks in the whole network 15 seconds, and the network uses 15 seconds to create blockchain. In this way, because the time is too fast, the synchronization of the system is greatly improved, and it is difficult for malicious participants to launch 51% (that is, more than half) of the computing power to modify historical data in such a short time
the second information point is: in the initial setting of Ethereum, we hope to achieve the transition from POW to
POS through phased upgrade
dating back to 2014, at the beginning of Ethereum's launch, the team announced that the launch of the project would be divided into four stages, namely, Froniter, homestead, metropolis and serenity. In the first three stages, the consensus mechanism adopts pow (workload proof mechanism), and in the fourth stage, it switches to POS (equity proof mechanism)
on July 30, 2015, the first phase "frontier" of Ethereum was officially released. This phase is only suitable for developers. Developers can write smart contracts and decentralized application DAPP on Ethereum network, and miners begin to enter Ethereum network to maintain network security and get Ethereum coins. The leading-edge version is similar to the beta version, proving whether the Ethereum network is reliable or not
on March 14, 2016, Ethereum entered the second stage of "homeland". In this stage, Ethereum provides the wallet function, so that ordinary users can easily experience and use Ethereum. There is no obvious technology improvement in other aspects, but it shows that Ethereum network can run smoothly
in September 2017, Ethereum has reached the third stage of "metropolis"“ "Metropolis" is composed of Byzantine and Constantinople. The goal of this stage is to introce the hybrid chain mode of POW and POS, so as to prepare for the smooth transition from POW to POS. This is the latest popular "Ethereum Constantinople upgrade". In the Constantinople upgrade, Ethereum will make some changes to the underlying protocols and algorithms to lay a good foundation for the implementation of POW and
POS
how much reward will Ethereum get for mining? Miners who win the block creation competition will get the following income:
1. Static reward, 5 ethereums
2. The fuel cost in the block, i.e. gas, we talked about in the last issue
3. As a part of the block, it includes the extra reward of "Uncle block". Uncle is uncle of uncle, and each uncle block can get 1 / 32 of the mining reward as a reward, that is, 5 times 1 / 32, which is equal to 0.15625 ethereums. Here, let's briefly explain the concept of "TERT block". The concept of "TERT block" was proposed by Ethereum. Why should we introce the concept of TERT block? This also starts with bitcoin. In the bitcoin protocol, the longest chain is considered absolutely correct. If a block is not part of the longest chain, it is called a "orphan block". An isolated block is a block, which is also legal, but it may be found later, or the network transmission is slower, and it does not become part of the longest chain. In bitcoin, the solitude is meaningless and will be discarded later, and the miners who find the solitude will not receive mining related rewards
however, Ethereum does not think that isolated blocks are worthless, and Ethereum system will give rewards to miners who find isolated blocks. In Ethereum, isolated blocks are called "Uncle blocks", which can contribute to the security of the main chain. Ethereum's ten second block interval is too fast, which will rece the security. By encouraging the use of tertiary blocks, the main chain can obtain more security guarantees (because the isolated block itself is legal). Moreover, paying the tertiary block can also stimulate the miners to actively mine and actively use tertiary blocks. Therefore, Ethereum thinks that it is valuable.
upgrade mining machine, purchase electricity, dig together, realize wealth growth on the blockchain
how much overtime food to eat, rickets in the March bed, illness consciousness mode, desperate struggle, save life story
I have no fear of the world when I hold money Capital gathering, computing power resisting inflation and material desire
. The bitcoin system ensures that bitcoin will not be g out too quickly by adjusting the difficulty coefficient. Every 10 minutes, the whole network is absent from work to jointly calculate a difficult problem, compete for bookkeeping rights and bitcoin rewards. If the computing power of the whole network continues to grow, bitcoin will be g out soon. In order to ensure that bitcoin can be g out in about 10 minutes, Nakamoto designs the difficulty of mining for bitcoin, Every 2016 blocks (about 2 weeks) are dynamically adjusted, so that the difficulty after adjustment makes the expected time for each block to be generated 10 minutes. Now the difficulty coefficient is about 480ph / S (Note: September 2017), which is about 68 billion times that of Genesis block. In other words, with the current computing power, the miners in the whole network need to go through about 300 trillion hash operations to find a qualified answer, Generate a new block
. Compared with point-to-point trading, mining and other purchases on the trading platform are the most popular ways to obtain blockchain assets, that is, floor trading. Floor trading of blockchain assets is similar to stock trading. The platform can help you match up, and you don't need to know who your trading partner is. Your trading partner may be one person or many people, Whether it's buying or selling, the trading platform will record the hanging order price of everyone. The buyer and the seller can obtain the latest transaction price through the real-time order. At the same time, the trading platform will summarize the historical transaction price and volume into a K-line chart, which is convenient for investors to analyze the market trend. For example, the UTOR market is the mainstream trading platform in the world.
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.
the content of this article comes from: financial code of the people's Republic of China: application edition, China Law Press
Bitcoin mining is a process of using computer hardware to do mathematical calculation for bitcoin network to confirm transactions and improve security
IPFs mining machine is not so much mining as charging rent. Why do you say that? If there is a user's demand for storage, the miner will rent his miner's memory as storage space, and the user will pay the miner filecoin as a reward
the working principle is simple: the user's storage demand is equivalent to didi express order, while the miner's job is to grab the order. The closer the distance, the higher the priority. Where the users are most concentrated must be Beijing, Shanghai and Guangzhou, so the miners from Beijing, Shanghai and Guangzhou have a natural advantage
compared with the traditional miner, the IPFs miner like interstellar Aoyun has advantages. It doesn't need a lot of computation, it has no noise, it consumes less power, and it's almost perfect. Even renting storage space is a bit of sharing economy, and it also requires miners to have better network speed and hard disk, fair competition, and good upward effect on the development of the whole ecology.