{"id":17768,"date":"2017-07-20T11:57:01","date_gmt":"2017-07-20T15:57:01","guid":{"rendered":"https:\/\/www.kaspersky.com\/blog\/?p=17768"},"modified":"2020-03-26T10:40:57","modified_gmt":"2020-03-26T14:40:57","slug":"mining-easy-explanation","status":"publish","type":"post","link":"https:\/\/www.kaspersky.com\/blog\/mining-easy-explanation\/17768\/","title":{"rendered":"Explainer: Bitcoin mining"},"content":{"rendered":"<p>If you\u2019ve shopped for a graphics card lately, you probably know about the worldwide shortage \u2014 or you may even have seen something about it in the news. Some sources blame miners for buying everything up. But who are these miners?<\/p>\n<p><em>Miners<\/em> is the term for people who collect cryptocurrency. Currency miners mine their cryptocurrency at their <em>farms<\/em>, specially tricked-out computers dedicated to the task. You\u2019ve no doubt heard of the most famous cryptocurrency, Bitcoin, although it\u2019s not the only one.<\/p>\n<p>But why is cryptocurrency in the news right now; why the commotion? And if everyone else is mining money, should you do it as well? Let us get to the bottom of what is happening right now.<\/p>\n<h3>Blockchain<\/h3>\n<p>First, let us review the basics of bitcoin and blockchain. You can read about them in detail in <a href=\"https:\/\/blog.kaspersky.com\/bitcoin-easy-explanation\/\" target=\"_blank\" rel=\"noopener nofollow\">one of our posts<\/a>; my explanation here will be brief.<\/p>\n<p>Bitcoin is a decentralized virtual currency. That means it has no central authority, and nobody trusts anybody; nevertheless, payments are secured. Blockchain helps to make them safe.<\/p>\n<p>Blockchain can be thought of as an Internet diary. The blockchain is a chain of successive blocks holding recorded transactions such as who transferred bitcoins, how many, and to whom. Blockchain may also be referred to as a <em>ledger <\/em>\u2014 which is accurate. It also has a couple of features worth noting here.<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"IybXrHePFh\"><p><a href=\"https:\/\/www.kaspersky.com\/blog\/bitcoin-easy-explanation\/12915\/\" target=\"_blank\" rel=\"noopener nofollow\">What is blockchain technology and how it works<\/a><\/p><\/blockquote>\n<p><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"\u201cWhat is blockchain technology and how it works\u201d \u2014 Daily - English - Global - blog.kaspersky.com\" src=\"https:\/\/www.kaspersky.com\/blog\/bitcoin-easy-explanation\/12915\/embed\/#?secret=SDsqzHG5na#?secret=IybXrHePFh\" data-secret=\"IybXrHePFh\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p>The first key feature of the blockchain is that all true participants of the Bitcoin network store the entire chain of blocks with all of the transactions that have <em>ever<\/em> been made, and participants continuously add new blocks to the end of the chain.<\/p>\n<p>The second key aspect is that the blockchain is based on cryptography (hence the \u201ccrypto\u201d in \u201ccryptocurrency\u201d). Laws of mathematics, not the reputation of some person or organization, dictate system operation and guarantee that everything works as expected.<\/p>\n<p>Those who add new blocks are called <em>miners<\/em>. As a reward for each new block, its creator receives 12.5 bitcoins nowadays. That\u2019s approximately $30,000 according to the exchange rate for July 1, 2017.<\/p>\n<p>Finally, all new bitcoins are minted through the mining process \u2014 and that\u2019s the only way new bitcoins can be created.<a href=\"https:\/\/media.kasperskydaily.com\/wp-content\/uploads\/sites\/92\/2017\/07\/20113732\/everybody-mining-en.jpg\"><img decoding=\"async\" src=\"https:\/\/media.kasperskydaily.com\/wp-content\/uploads\/sites\/92\/2017\/07\/20113732\/everybody-mining-en.jpg\" alt=\"\" width=\"680\" height=\"533\" class=\"aligncenter size-full wp-image-17774\"><\/a><\/p>\n<p>Each new block is created once every 10 minutes. There are two reasons for that.<\/p>\n<p>First, it provides a constant for synchronization. Ten minutes are allocated for distributing a block across the Web. If people could continuously create blocks, then the Internet would be filled with their different versions and it would be hard to sort out which should be added at the end of the blockchain.<\/p>\n<p>Second, the 10 minutes are spent making the new block look \u201cbeautiful\u201d \u2014 in terms of the math, that is. Only a correct and \u201cbeautiful\u201d block will be added to the end of the blockchain diary.<\/p>\n<h3>Why blocks should look \u201cpretty\u201d<\/h3>\n<p>For a block to be \u201ccorrect,\u201d everything in it must be valid and follow the blockchain\u2019s rules. The most important rule is that someone who sends money must possess that amount of money.<\/p>\n<p>A \u201cbeautiful\u201d block is one whose digest has many zeroes at the beginning. For more information on what a digest is (or a <a href=\"https:\/\/en.wikipedia.org\/wiki\/Hash_function\" target=\"_blank\" rel=\"noopener nofollow\">hash<\/a>, which is a result of a certain mathematical transformation of a block), please refer to <a href=\"https:\/\/blog.kaspersky.com\/bitcoin-easy-explanation\/\" target=\"_blank\" rel=\"noopener nofollow\">the article<\/a> again. However, that is not of fundamental importance right now. To obtain a \u201cbeautiful\u201d block, the block has to be \u201cshaken.\u201d \u201cShaking\u201d means that the block is insignificantly changed and then verified to become \u201cbeautiful.\u201d<\/p>\n<p>Each miner continuously \u201cshakes\u201d candidate blocks with hopes that he or she will be the one who gets lucky and \u201cshakes out\u201d a \u201cbeautiful\u201d block, which will be the one included at the end of a blockchain, resulting in that nice $30,000 reward.<\/p>\n<p>If the number of miners increases tenfold, then a block must likewise become tenfold \u201cmore beautiful\u201d to be worthy of being added to the blockchain. This method maintains the speed of new block discovery: Regardless of the number of miners, a block will appear only once every 10 minutes. Thus, the odds of getting the reward decreases as the number of miners rises.<\/p>\n<p>And that is why the blocks need to be \u201cpretty.\u201d The requirement prevents someone from rewriting the entire transaction history. Essentially, with each block requiring 10 minutes of combined efforts from all of the miners, there\u2019s simply no way for one person to make a forged block \u201cbeautiful\u201d and falsify their transaction history working alone.<\/p>\n<input type=\"hidden\" class=\"category_for_banner\" value=\"ksc-trial-generic\">\n<h3>Miners<\/h3>\n<p>In 2009, when only enthusiasts and Bitcoin creators knew about Bitcoin, mining was easy, and one bitcoin was worth about five cents. Let us assume for the sake of example that there were a hundred miners. Therefore, Egbert, an imaginary miner, could \u201cshake out\u201d one block and get his reward at least once per day.<\/p>\n<p>By 2013, when the exchange rate for bitcoins went north of $100 per bitcoin, so many miner enthusiasts had joined the pack that a stroke of luck could take months to hit. Miners began merging into <em>pools<\/em>, cartels that \u201cshake\u201d the same candidate block together and then share the reward among the participants.<\/p><div id=\"attachment_17775\" style=\"width: 970px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/media.kasperskydaily.com\/wp-content\/uploads\/sites\/92\/2017\/07\/20114238\/early-mining-farm.png\"><img decoding=\"async\" aria-describedby=\"caption-attachment-17775\" src=\"https:\/\/media.kasperskydaily.com\/wp-content\/uploads\/sites\/92\/2017\/07\/20114238\/early-mining-farm.png\" alt=\"\" width=\"960\" height=\"640\" class=\"size-full wp-image-17775\"><\/a><p id=\"caption-attachment-17775\" class=\"wp-caption-text\">A home farm with a high power output (by 2013 standards).<\/p><\/div>\n<p>Then, new hardware appeared: <a href=\"https:\/\/ru.wikipedia.org\/wiki\/%252525D0%25252598%252525D0%252525BD%252525D1%25252582%252525D0%252525B5%252525D0%252525B3%252525D1%25252580%252525D0%252525B0%252525D0%252525BB%252525D1%2525258C%252525D0%252525BD%252525D0%252525B0%252525D1%2525258F_%252525D1%25252581%252525D1%25252585%252525D0%252525B5%252525D0%252525BC%252525D0%252525B0_%252525D1%25252581%252525D0%252525BF%252525D0%252525B5%252525D1%25252586%252525D0%252525B8%252525D0%252525B0%252525D0%252525BB%252525D1%2525258C%252525D0%252525BD%252525D0%252525BE%252525D0%252525B3%252525D0%252525BE_%252525D0%252525BD%252525D0%252525B0%252525D0%252525B7%252525D0%252525BD%252525D0%252525B0%252525D1%25252587%252525D0%252525B5%252525D0%252525BD%252525D0%252525B8%252525D1%2525258F\" target=\"_blank\" rel=\"noopener nofollow\">ASIC<\/a> (application-specific integrated circuit). ASICs are microchips created for a specific task \u2014 in this case, to \u201cshake\u201d Bitcoin blocks as effectively as possible.<\/p>\n<p>The mining power of ASICs is substantially higher than that of a general-purpose computer. Huge ASIC-based farms began to appear in China, Iceland, Singapore, and other countries, targeting locations that were cold (such as underground) and, even better, proximal to a hydropower plant for lower electric costs.<\/p>\n<p>Home-based bitcoin mining quickly became pointless, an early casualty of the Bitcoin arms race.<\/p><div id=\"attachment_17776\" style=\"width: 605px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/media.kasperskydaily.com\/wp-content\/uploads\/sites\/92\/2017\/07\/20114841\/industrial-grade-mining.png\"><img decoding=\"async\" aria-describedby=\"caption-attachment-17776\" src=\"https:\/\/media.kasperskydaily.com\/wp-content\/uploads\/sites\/92\/2017\/07\/20114841\/industrial-grade-mining.png\" alt=\"\" width=\"595\" height=\"335\" class=\"size-full wp-image-17776\"><\/a><p id=\"caption-attachment-17776\" class=\"wp-caption-text\">An industrial farm for cryptocurrency mining<\/p><\/div>\n<h3>Altcoin mining: Why graphics cards have disappeared<\/h3>\n<p>Bitcoin is the first and most popular cryptocurrency, but nowadays, we have about 100 alternative cryptocurrencies, also known as altcoins.<\/p><div id=\"attachment_17777\" style=\"width: 1034px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/media.kasperskydaily.com\/wp-content\/uploads\/sites\/92\/2017\/07\/20114947\/cryptocurrencies-exchange-rates.png\"><img decoding=\"async\" aria-describedby=\"caption-attachment-17777\" src=\"https:\/\/media.kasperskydaily.com\/wp-content\/uploads\/sites\/92\/2017\/07\/20114947\/cryptocurrencies-exchange-rates-1024x641.png\" alt=\"\" width=\"1024\" height=\"641\" class=\"size-large wp-image-17777\"><\/a><p id=\"caption-attachment-17777\" class=\"wp-caption-text\">The top 10 cryptocurrencies sorted by market capitalization (the total price of all of the minted coins). Data as of July 1, 2017. Source: <a href=\"http:\/\/coinmarketcap.com\" target=\"_blank\" rel=\"noopener nofollow\">coinmarketcap.com<\/a><\/p><\/div>\n<p>The creators of altcoins do not want mining\u2019s cost of entry to become too high or otherwise difficult to meet; thus, they must devise new criteria for the blocks\u2019 required \u201cbeauty.\u201d The creators want the criteria to hinder the creation of dedicated hardware (ASIC) or delay it for as long as possible. They do what they can to keep the game open to regular people using regular computers to make a tangible contribution to the total network power \u2014 and reap the rewards.<\/p>\n<p>In addition, a common graphics card is used for \u201cshaking\u201d altcoins. As it turns out, graphics cards work well for such computations. Hence, the availability of a mining process can increase the popularity of a specific altcoin.<\/p>\n<p>Note Ethereum\u2019s spot in the second line of the table above. This relatively new cryptocurrency (launched in 2015) has some unique features, mainly its ability to incorporate into a blockchain not only static information about processed payments but also interactive objects, or smart contacts, that operate in accordance with programmable rules.<\/p>\n<p>We shall discuss in another post why all of this has generated considerable public excitement. For now, we will just state that the new Ethereum properties have sparked big interest from crypto investors and caused rapid growth: Ether started 2017 at $8 and hit $200 by June 1.<\/p>\n<p>Mining Ethereum, in particular, became exceptionally profitable, and that is why miners bought up graphics cards.<\/p><div id=\"attachment_17778\" style=\"width: 1034px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/media.kasperskydaily.com\/wp-content\/uploads\/sites\/92\/2017\/07\/20115117\/gigabyte-np106d5-6g.jpg\"><img decoding=\"async\" aria-describedby=\"caption-attachment-17778\" src=\"https:\/\/media.kasperskydaily.com\/wp-content\/uploads\/sites\/92\/2017\/07\/20115117\/gigabyte-np106d5-6g-1024x467.jpg\" alt=\"\" width=\"1024\" height=\"467\" class=\"size-large wp-image-17778\"><\/a><p id=\"caption-attachment-17778\" class=\"wp-caption-text\">A Gigabyte graphics card specifically designed for mining: it lacks irrelevant things like display outputs. <a href=\"http:\/\/cryptomining-blog.com\/tag\/gigabyte-mining-gpu\/\" target=\"_blank\" rel=\"noopener nofollow\">Source<\/a><\/p><\/div>\n<h3>If miners stopped mining<\/h3>\n<p>What if mining stops paying off \u2014 say, if the income does not cover equipment and electricity costs and miners stop mining or start mining another currency. What then? Is it true that if miners stop mining, then Bitcoin will stop working or will become too slow?<\/p>\n<p>No, it is not. As we have already explained, a blockchain constantly adapts its criteria for block \u201cbeauty\u201d to maintain its rate of creation. If there are 90% fewer miners, then there will be 90% less calculations required for a new block to be approved. The blockchain itself will stay fully functional.<\/p>\n<p>The absolute value of reward for new blocks decreases over time. This change is programmed into the Bitcoin rules as well. During the first four years (2009\u20132012), the reward was 50 bitcoins. Currently, the reward is 12.5 bitcoins.<\/p>\n<p>However, the growing exchange rate has more than compensated for the decreased absolute value of reward: 50 BTC were worth only $500 in the middle of 2012, whereas the current reward, 12.5 BTC, is worth $30,000. Besides, someday the miners\u2019 revenue will also come from transaction fees.<\/p>\n<h2>Conclusions\n<\/h2><p>We have reviewed what mining really is, its purposes, for whom and when mining is advantageous, where the graphics cards have gone, and why some manufacturers release their graphics cards without any display outputs.<\/p>\n<p>Yet, the most intriguing thing, which is how the new Ethereum currency has gained so much popularity, remains behind the scenes. So keep an eye out \u2014 we will tell you all about it.<\/p>\n<input type=\"hidden\" class=\"category_for_banner\" value=\"ksc-trial-generic\">\n","protected":false},"excerpt":{"rendered":"<p>Who is mining cryptocurrency such as bitcoins \u2014 and where have all the graphics cards gone?<\/p>\n","protected":false},"author":669,"featured_media":17769,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1789],"tags":[374,1035,2640,1879,2581,1083],"class_list":{"0":"post-17768","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-technology","8":"tag-bitcoin","9":"tag-blockchain","10":"tag-cryptocurrencies","11":"tag-explainer","12":"tag-online-finance","13":"tag-technologies"},"hreflang":[{"hreflang":"x-default","url":"https:\/\/www.kaspersky.com\/blog\/mining-easy-explanation\/17768\/"},{"hreflang":"en-in","url":"https:\/\/www.kaspersky.co.in\/blog\/mining-easy-explanation\/10863\/"},{"hreflang":"ar","url":"https:\/\/me.kaspersky.com\/blog\/mining-easy-explanation\/4849\/"},{"hreflang":"en-us","url":"https:\/\/usa.kaspersky.com\/blog\/mining-easy-explanation\/12072\/"},{"hreflang":"en-gb","url":"https:\/\/www.kaspersky.co.uk\/blog\/mining-easy-explanation\/11366\/"},{"hreflang":"es-mx","url":"https:\/\/latam.kaspersky.com\/blog\/mining-easy-explanation\/11066\/"},{"hreflang":"es","url":"https:\/\/www.kaspersky.es\/blog\/mining-easy-explanation\/13948\/"},{"hreflang":"it","url":"https:\/\/www.kaspersky.it\/blog\/mining-easy-explanation\/13996\/"},{"hreflang":"ru","url":"https:\/\/www.kaspersky.ru\/blog\/mining-easy-explanation\/18020\/"},{"hreflang":"fr","url":"https:\/\/www.kaspersky.fr\/blog\/mining-easy-explanation\/9305\/"},{"hreflang":"pl","url":"https:\/\/plblog.kaspersky.com\/mining-easy-explanation\/7128\/"},{"hreflang":"de","url":"https:\/\/www.kaspersky.de\/blog\/mining-easy-explanation\/14207\/"},{"hreflang":"zh","url":"https:\/\/www.kaspersky.com.cn\/blog\/mining-easy-explanation\/8186\/"},{"hreflang":"ja","url":"https:\/\/blog.kaspersky.co.jp\/mining-easy-explanation\/17401\/"},{"hreflang":"en-au","url":"https:\/\/www.kaspersky.com.au\/blog\/mining-easy-explanation\/17626\/"}],"acf":[],"banners":"","maintag":{"url":"https:\/\/www.kaspersky.com\/blog\/tag\/bitcoin\/","name":"bitcoin"},"_links":{"self":[{"href":"https:\/\/www.kaspersky.com\/blog\/wp-json\/wp\/v2\/posts\/17768","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kaspersky.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kaspersky.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kaspersky.com\/blog\/wp-json\/wp\/v2\/users\/669"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kaspersky.com\/blog\/wp-json\/wp\/v2\/comments?post=17768"}],"version-history":[{"count":10,"href":"https:\/\/www.kaspersky.com\/blog\/wp-json\/wp\/v2\/posts\/17768\/revisions"}],"predecessor-version":[{"id":34478,"href":"https:\/\/www.kaspersky.com\/blog\/wp-json\/wp\/v2\/posts\/17768\/revisions\/34478"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.kaspersky.com\/blog\/wp-json\/wp\/v2\/media\/17769"}],"wp:attachment":[{"href":"https:\/\/www.kaspersky.com\/blog\/wp-json\/wp\/v2\/media?parent=17768"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kaspersky.com\/blog\/wp-json\/wp\/v2\/categories?post=17768"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kaspersky.com\/blog\/wp-json\/wp\/v2\/tags?post=17768"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}