Tsoday i am writing homework task for @besticofinder which is about cryptocurreny mining.
## How crypto currency mining works ?
![matrix-3109378_1280.jpg](https://cdn.steemitimages.com/DQmW4nQUc3dApM1yDAKMJD8P4YsmWrJnhfdQMQnJH6bGh6V/matrix-3109378_1280.jpg)
[source](https://pixabay.com/illustrations/matrix-technology-tech-data-3109378/)
<div class="text-justify">
Mining is a process of validating cryptocurrency transections and recording thereafter in the form of blocks on blockchain. It is done by miners. Miners are the record keepers of blockchain. They maintain records of transections on nodes. After storing copy of block, it is immedatwly transferred to other nodes for validation. To be accepted by network, a new block must contain proof of work which requires miners to find a number called nonce (number only used once). Nonce is a mathematicsal computation which a miner need to discover before solving a block in a blockchain.One new block is added to blockchain every 10 minutes. it is a tedious, time consuming and skilful task which deserve reward. So a miner is rewarded cryptocurrncy for their exceptional computational power . And this is how new crypros ( example, bitcoins) are created.</div>
<br>
<div class="text-justify"> As mining is based on solving complex methametical problems, it is achieved by use of equipments like powerful computers, GPUs, ASIC (application specific integrared circuit chips) and more recently concept of mining pool has evolved. In mining pool , multiple miners join to solve hashs quickly and earn/ share rewards. </div>
<div class="text-justify">
So mining is a record keeping process done by miners to keep blockchain going for which they are rewarded cryptocurrncy and therby serve as a mechanism of new cryptocurrncy generation. In case of Bitcoin, as supply is limited to 21 million that are anticipated to be unleashed by 2140. To keep rewarding miners thereafter, it is said that miners will be paid from transaction fee.</div>
## What is mining difficulty?
<div class="text-justify">
Mining difficulty is a sort of unit to measure difficulty in finding right HASH for each block which is done by solving complex mathematical problems. As cryptos are becoming more and more popular, more and more powerful computers , GPUs of miners are entering the field of mining to grab miming rewards. So competition is increasing or we can say mining difficulty or hashpower is increasing</div>.
<div class="text-justify">
To mantain the standard of blockchain and target block time (example, 1 block every ten minutes for Bitcoin ) , difficulty level has to be adjusted from time to time. After every 2016 blocks added to the network, mining difficulty is adjusted automatically. Mining difficulty is adjusted according to the number of miners and hashpower. </div>
<br>
![dotdash_Final_How_Does_Bitcoin_Mining_Work_Dec_2020-04-2d73080ca35e4e3bab0455cac17026de.jpg](https://cdn.steemitimages.com/DQmWJ2z4M81q94qMmHCgB5mkMDuApxxVZRHEb1WLUiuCNvd/dotdash_Final_How_Does_Bitcoin_Mining_Work_Dec_2020-04-2d73080ca35e4e3bab0455cac17026de.jpg)
[Soirce](https://www.investopedia.com/tech/how-does-bitcoin-mining-work/)
<sup> Hash equal to or lesser ( not greater) than target hash will be rewarded </sup>
<div class="text-justify"> So the rece is to find cryptographic Hash. A target hash is basically a 64 dighit hexadecimal number. Miners are supposed to find a number or Hash which is less than or equal to target Hash. So it is basically a guess work. And the one who finds it firet, is rewarded for the same known as block reward or miming reward.
![IMG_20210301_165826.jpg](https://cdn.steemitimages.com/DQmQEgatKB3Hu9VVL7K8rvRtaqn5z4MPN2wVwXbH9onr5jv/IMG_20210301_165826.jpg)
[Source](https://www.blockchain.com/charts/difficulty)
<div class="text-justify">
As seen in image above, the mining difficulty is not constant. Above is difficulty level for 20feb 2021 and that is 21.724 trillion (say 22 ) . It means that chances of any miner to find a hash number equal to or lesser rhan target is 1 in 22 trillion. So you can understand, how difficult is it to validate a transaction and earn mining rewards and is almost impossible to indulge in mining without devices with very high computational power. </div>
## What are the challanges for cryptocurrency miners?
### High cost equipments.
<div class="text-justify">
As mining is carried with the help of very powerful and costly equipments like GPUs, heavy computers, high quality graphic cards etc. Miners have to do cost benefit analysis. These costly equipments are a great challenge to miners along side other issues. </div>
### Regulatory issue.
Bitcoin and its mining therefore by default is yet to be globally accepted. It is still considered illegal in certain countries for its decentralised and anonymous nature and therefore potential of being misused.
### High Energy Consumption.
![farm-2852024_1280.jpg](https://cdn.steemitimages.com/DQmNpdYhpUkDwMjdyTR7DzWTgaELZbqasnCGcYDQ95i4b2K/farm-2852024_1280.jpg)
[Source](https://pixabay.com/photos/farm-mining-the-ethereum-market-2852024/)
<div class="text-justify">
High electricity consumption by miners is also an issue flared up by some economists and environmentalists, however I think, had it been such a big problem , it would have affected earning of miners too. Not to let this issue add to existing problems and to minimize the expenditure , alternative source of energy like geothermal, wind, solar, hydroelectric are becoming popular nowadays.
### Halving of mining rewards.
![BlockReward-5c0ad88946e0fb0001af7198.png](https://cdn.steemitimages.com/DQmPM35rnwr1gCJX6PqKQE7e3AD98rN1t8dBtLtKgc5Qr3a/BlockReward-5c0ad88946e0fb0001af7198.png)
[Source](https://www.investopedia.com/terms/b/bitcoin-mining.asp)
<div class="text-justify">
It is applicable to Bitcoin miming. As a rule in crypto market mixing rewards are halved every four years to keep the supply low, as bitcoin supply is limited to 21 million coins. In 2009, it was 50BTC per bock . In 2013, it was 25BTC, in 2018 it was 12.5BTC, and in May of 2020, it was halved to 6.25BTC. This system will continue till 2140 and than miners will be rewarded from transaction fee. So this system of decreasing rewards also poses a challenge to retain miners.</div>
## Migration of miners .
<div class="text-justify">
To find favourable environment for mining like places with low Elexteicry charges , no regulatory restrictions, favourable environment like cool and dry winters to minimize energy expenditure, miners have to migrate from their native places to such zones. It is challange for both miners as well localities where miner consolidation takes place. </div>
## Eco - unfriendly
Least not the last concern is generation of carbon footprint at places where electricity is extensively carbon driven.
***
## Thanks @besticofinder
## Powered up 100%
## Twitter shared.
***