- Was is bitcoin mining
- What is Bitcoin Mining?
- What is the Blockchain?
- What is Proof of Work?
- What is Bitcoin Mining Difficulty?
- The Computationally-Difficult Problem
- The Bitcoin Network Difficulty Metric
- The Block Reward
- Bitcoin mining
- Contents
- What is Bitcoin mining [ edit ]
- Transaction record process [ edit ]
- How Bitcoin Mining Works [ edit ]
- Difficulty [ edit ]
- Mining in pools [ edit ]
- Equipment [ edit ]
- Mining farm [ edit ]
- Cloud mining [ edit ]
- Web mining [ edit ]
- Mining profit [ edit ]
- Mining Hardware [ edit ]
- CPU [ edit ]
- GPU [ edit ]
- FPGA [ edit ]
- ASIC [ edit ]
- Mining Hardware Comparison [ edit ]
Was is bitcoin mining
Bitcoin mining is the process of adding transaction records to Bitcoin’s public ledger of past transactions or blockchain. This ledger of past transactions is called the block chain as it is a chain of blocks. The block chain serves to confirm transactions to the rest of the network as having taken place.
Bitcoin nodes use the block chain to distinguish legitimate Bitcoin transactions from attempts to re-spend coins that have already been spent elsewhere.
What is Bitcoin Mining?
What is the Blockchain?
Bitcoin mining is intentionally designed to be resource-intensive and difficult so that the number of blocks found each day by miners remains steady. Individual blocks must contain a proof of work to be considered valid. This proof of work is verified by other Bitcoin nodes each time they receive a block. Bitcoin uses the hashcash proof-of-work function.
The primary purpose of mining is to allow Bitcoin nodes to reach a secure, tamper-resistant consensus. Mining is also the mechanism used to introduce Bitcoins into the system: Miners are paid any transaction fees as well as a «subsidy» of newly created coins.
This both serves the purpose of disseminating new coins in a decentralized manner as well as motivating people to provide security for the system.
Bitcoin mining is so called because it resembles the mining of other commodities: it requires exertion and it slowly makes new currency available at a rate that resembles the rate at which commodities like gold are mined from the ground.
What is Proof of Work?
A proof of work is a piece of data which was difficult (costly, time-consuming) to produce so as to satisfy certain requirements. It must be trivial to check whether data satisfies said requirements.
Producing a proof of work can be a random process with low probability, so that a lot of trial and error is required on average before a valid proof of work is generated. Bitcoin uses the Hashcash proof of work.
What is Bitcoin Mining Difficulty?
The Computationally-Difficult Problem
Bitcoin mining a block is difficult because the SHA-256 hash of a block’s header must be lower than or equal to the target in order for the block to be accepted by the network.
This problem can be simplified for explanation purposes: The hash of a block must start with a certain number of zeros. The probability of calculating a hash that starts with many zeros is very low, therefore many attempts must be made. In order to generate a new hash each round, a nonce is incremented. See Proof of work for more information.
The Bitcoin Network Difficulty Metric
The Bitcoin mining network difficulty is the measure of how difficult it is to find a new block compared to the easiest it can ever be. It is recalculated every 2016 blocks to a value such that the previous 2016 blocks would have been generated in exactly two weeks had everyone been mining at this difficulty. This will yield, on average, one block every ten minutes.
As more miners join, the rate of block creation will go up. As the rate of block generation goes up, the difficulty rises to compensate which will push the rate of block creation back down. Any blocks released by malicious miners that do not meet the required difficulty target will simply be rejected by everyone on the network and thus will be worthless.
The Block Reward
When a block is discovered, the discoverer may award themselves a certain number of bitcoins, which is agreed-upon by everyone in the network. Currently this bounty is 25 bitcoins; this value will halve every 210,000 blocks. See Controlled Currency Supply.
Additionally, the miner is awarded the fees paid by users sending transactions. The fee is an incentive for the miner to include the transaction in their block. In the future, as the number of new bitcoins miners are allowed to create in each block dwindles, the fees will make up a much more important percentage of mining income.
Bitcoin Mining™® © 2011-2021 Hesiod Services LLC | Terms | Privacy
Источник
Bitcoin mining
Enjoyed the article? Share:
Bitcoin mining is a transaction record process with bitcoins to blockchain – the public database of all the operations with Bitcoin, which is responsible for the transaction confirmation. Network nodes use blockchain to differ the real transactions from the attempt to spend the same facilities twice. The main mining objective is reaching a consensus between network nodes on which transactions consider legitimate.
Contents
What is Bitcoin mining [ edit ]
Bitcoin mining is the process of issuing bitcoin, built on the calculation of mathematical problems, is the only way to create a cryptocurrency.
The essence of mining is that in different parts of the Earth, there are computers that solve mathematical tasks, the result of which is the creation of bitcoin. The release (production) process is distributed to all participants in the system, which ensures security and is not controlled by a single issuing center.
All Bitcoin transfers are recorded in the public transaction log, they are transmitted to the miners in a chain. The job of which is to pick up one single hash from a million combinations, which would be suitable for all new transactions and a secret key, which is a guarantee of receiving a reward of 25 Bitcoins. At the same time, many “getters” are competing for the award, who are the first to try to figure out the hash. When it is guessed, the block and all transactions are closed and the miners start generating the next block.
An example hash with the same phrases but with different additional parameters (in the example, the last line has the lowest hash value):
The target level of difficulty in the Bitcoin system is recalculated every 2016 blocks (approximately 2 times a week). It can increase or decrease, it all depends on the time of creation of new batches of the block and how much it differs from 2016 minutes (20160 * 10). Regardless of the total power of all miners, 1 block is generated on average within 10 minutes.
The miner’s probability of receiving a reward during these 10 minutes is equal to the ratio of his computing power to the computing power of the entire network. And if this ratio is small, then the probability of receiving an award, even over a long period of time, will be low.
Transaction record process [ edit ]
Besides this, mining is the only way of bitcoins emission that are allocated as a miner reward for the mathematical task solution with the help of computer equipment. The process is advisedly done resource-intensive and difficult to leave permanent the number of blocks found by miners.
Every block should contain the confirmation that the mathematical task has been solved and each of the network nods can easily check, if the block has been really closed by the rules. Emission is decentralized as a reward that means a control absence over the output by a single center. During this process miners confirm accomplishing transactions in the network. In order to protect the network from overruns, mining is possible in strictly defined capacities.
Bitcoins, issued with the help of mining are the best way to hold the transaction anonymity during the work with cryptocurrency. Nevertheless, they can be used only after getting 100 network confirmations.
How Bitcoin Mining Works [ edit ]
All the transfers in the Bitcoin system are public. Miners’ work consists in choosing the right hash, which will be convenient to all the network transactions and will provide getting of the private key. There are millions of possible combinations and that’s why the process usually takes time and demands powerful equipment.
Unknown hash is the quantity that consists of the previous block hash, a random number and transactions check value sum, made during 10 minutes. System conditions can satisfy the only one quantity, which isn’t permanent and changes after each block is closed.
As soon as the right hash is defined the transaction block closes and the miner obtains reward in the amount of 12.5 bitcoins. This process can be compared with lottery, because a lot of participants are simultaneously searching the hash. The system works pursuant to the strict rules and according to them changing of closed block is practically impossible.
Difficulty [ edit ]
Mining difficulty is a dynamic indicator that is periodically recalculated. With an increase in the processing power of mining equipment, complexity grows. It is best to look for up-to-date information on the state of difficulty in mining cryptocurrency on official currency sites. However, this is difficult. Links to mining statistics, even on official websites, are sometimes difficult to find. To simplify the process, aggregator sites of statistical information about all cryptocurrencies have been created. They collect, process and publish relevant data not only about the complexity of mining, but also several dozen indicators: price, capitalization, hashrate, profitability, transaction amount, and so on.
Mining in pools [ edit ]
Bitcoin mining is a very difficult process and it’s necessary to have essential capacities for processing. It has become practically impossible to follow mining alone, because of permanent increasing difficulty of the process and crypto-currency market development. As a result, the concept “pool mining” has appeared, which means the computational capacities banding of several participants in a group for the new block generation. The pool obtained reward for the closed block is shared between its participants.
Equipment [ edit ]
For the long time mining has been available for home computers users, but in 2013 competition between miners for finding the right hash has increased, therefore personal mining has lost it’s economic justifiability. During the development and modernization process the next computer equipment types have been used for mining:
- CPU is a one of the oldest versions working with the help of the computer processor. This option can be found in the main bitcoin client, but it’s off-stream now because of the extra low effectiveness;
- GPU lies in using graphic card. This type of mining has changed the processors. It’s hallmark is the increasing of system power;
- FPGA is an upgrade variant of GPU, which differs by lower energy consumption;
- ASIC is a mining with a special equipment created specially for work with crypto-currency. Its effectiveness far exceeds the attributes of usual graphic cards, so it has inaugurated a new era in Bitcoin development.
Potential investors can use online mining calculators to know the effectiveness and profitability of special equipment like mining farms.
Mining farm [ edit ]
Mining farm – is a data center, technically equipped to mine bitcoins or other cryptocurrencies.
They were emerged as a result of the constant complication of the process, which requires more technical, energy and financial resources.
Farms allow the productivity of computers and, consequently, the Hash Rate to be maximized. The productivity of the largest farms can be several dozen PH/s (1015 hashes/second).
Physically, farms are rooms with a large number of computers and servers that take on tasks for mining.
There are also home-mining farms. They differ from ordinary PCs, by being specially assempled and designed for mining. Home farms can bring profitability, but users often face the problem of excessive electricity consumption and overheating of the computer at home which makes mining unprofitable.
One of the main resources into which a miner has to invest is electricity. It is also a risk factor, since the farm requires a permanent 24/7 power source. In addition, a large number of processors require an appropriate cooling and ventilation system.
Cloud mining [ edit ]
Cloud mining is a process of obtaining Bitcoins with the use of a remote data processing center with the general computational power. This allows the users to mine Bitcoins or alternative crypto currencies without controlling the equipment directly. Most of all, the services of the cloud mining are used by the users from the countries with an expensive electric power supply, which doesn’t allow them to create mining rigs by their own.
Another option is a private virtual service, where a user installs the mining software.
Finally, a user may take the computational powers themselves by using already the results of their work and not coming in touch with physical or virtual servers.
Web mining [ edit ]
Web-mining, or «hidden mining» – is an alternative method of cryptocurrency mining through the web browsers of users of websites. In fact, owners of Internet resources can convert the capacities of visitors’ computers into cryptocurrency.
This method is conducted by special web-miners — programs that can work when the user’s browser is switched on or runs in the background. Technically, such a program can be started on the computer with a line of JavaScript code written on the page, or the code itself is embedded into the browser extension. There are also viruses that make computer capacities work for cryptocurrency mining.
Mining profit [ edit ]
Profitability of mining is the level of reward that a user of the blockchain network receives (providing of his technical capacities for verifying transactions and solution of network tasks, resulting in a new data block on the network).
The profitability depends on two related factors. The first one consists in the complexity of the process itself, on which the reward depends (the more difficult the process is, the smaller amounts of tasks can be made per technical resource unit and, consequently, the less reward you will receive). The second factor is the cost of bitcoin (or other crypto currency). That is, how much your reward is in terms of fiat currencies.
The average annual profitability ranges from 120 to 200% per annum, and for some products in the period of «mining boom» from the end of 2016 showed even the best result. However, this indicator does not take into account additional investments: rental of premises, management of farms and energy costs. Adjusted for these factors in 2016, the profitability of mining amounted to about 10-50% per annum.
Mining Hardware [ edit ]
Specifically for Bitcoin, the number of mining types has significantly decreased. If other cryptocurrencies can still be mined using video cards, processors, hard drives, etc., then the high complexity of Bitcoin mining makes all these methods not only inefficient, but even unprofitable.
CPU [ edit ]
A central processing unit (or CPU) is an integrated circuit that is an essential part of the hardware of a personal computer or any other equipment. Currently, any modern, high-performance computer is equipped with a powerful central processor with a high frequency of operation and several cores. Accordingly, if a miner has a good personal computer, then he will not have to invest hundreds or thousands of dollars in equipment.
GPU [ edit ]
Mining on a video card is the process of mining cryptocurrency using graphic processors (GPUs). To do this, user needs a powerful video card in his home computer or a specially assembled farm of several devices in one system. If miner is interested in why GPUs are used for this process, then the answer is very simple. The thing is that video cards are initially developed to process a large amount of data by performing the same operations, as is the case with video processing. The same picture is observed in cryptocurrency mining, because here the hashing process is just the same. See the main article: Why a GPU mines faster than a CPU.
FPGA [ edit ]
FPGA stands for Field Programmable Gate Array. The microcircuit is a semiconductor. Used in cases where the device is designed to perform logical operations, such as and, or, nand and others.
ASIC [ edit ]
An application-specific integrated circuit, or ASIC, is just a chip designed solely for one type of work – decryption of a specific algorithm. To mine Bitcoins, this is SHA-256. Due to the lack of multitasking, devices show significantly more power than those that are suitable for all algorithms at once.
Mining Hardware Comparison [ edit ]
Hardware | Power | Adaptability | Price | Availability | User Friendly |
---|---|---|---|---|---|
ASIC | ✔️ | — | — | ✔️ | ✔️ |
GPU | — | ✔️ | ✔️ | ✔️ | ✔️ |
FPGA | ✔️ | ✔️ | — | ✔️ | — |
To describe the table above, ASIC uses a lot of electricity, has a high price and very user-friendly but the price is expensive and ASIC can’t change the mining algorithm. Meanwhile, GPU is using a fairly low power compared to ASIC, can adapt to various algorithms, cheap compared to other options, easy to get, and easy to use. Finally, FPGA can change algorithm but not user-friendly, you’ll need to be able to create a Verilog program. Also, FPGA was quite expensive and hard to get, but now you can find them easily and cheaply online. In terms of hashing speed, CPU History [ edit ]
Bitcoin’s public ledger (the blockchain) was started on January 3rd, 2009 at 18:15 UTC presumably by Satoshi Nakamoto. The first block is known as the genesis block. The first transaction recorded in the first block was a single transaction paying the reward of 50 new bitcoins to its creator. Blockchain mining.
Источник