By Peter Kent, Tyler Bain
Cryptocurrency mining involves the addition of transactions to a blockchain by a crypto miner. But, its a bit more complicated than that. Take a look at decentralization and discover the role of the crypto miner.
Cryptocurrencies are decentralized that is, no central bank, no central database, and no single, central authority manages the currency network. The United States, for example, has the Federal Reserve in Washington, the organization that manages the U.S. dollar, and European Central Bank in Frankfurt manages the euro, and all other fiat currencies also have centralized oversight bodies.
However, cryptocurrencies dont have a central authority; rather, the cryptocurrency community and, in particular, cryptocurrency miners and network nodes manage them. For this reason, cryptocurrencies are often referred to as trustless. Because no single party or entity controls how a cryptocurrency is issued, spent, or balanced; you dont have to put your trust in a single authority.
Trustless is a bit of a misnomer. Trust is baked into the system. You dont have to trust a single authority, but your trust in the system and fully auditable codebase is still essential. In fact no form of currency can work without some form of trust or belief. (If nobody trusts the currency, then nobody will accept it or work to maintain it!)
In the trustless cryptocurrency world, you can still trust the cryptocurrency community and its mechanisms to ensure that the blockchain contains an accurate and immutable unchangeable record of cryptocurrency transactions. Cryptocurrencies are established using a set of software rules that ensure that the system can be trusted, and the mining process is part of this system that allows everyone to trust the blockchain.
Cryptocurrencies have no central bank printing new money. Instead, miners dig up new currency according to a preset coin-issue schedule and release it into circulation in a process called mining.
When you compare cryptocurrency mining to gold mining, why the process is referred to as mining becomes clear. In both forms of mining, the miners put in work and are rewarded with an uncirculated asset. In gold mining, naturally occurring gold that was outside the economy is dug up and becomes part of the gold circulating within the economy.
In cryptocurrency mining, work is performed, and the process ends with new cryptocurrency being created and added to the blockchain ledger. In both cases, miners, after receiving their reward the mined gold or the newly created cryptocurrency usually sell it to the public to recoup their operating costs and get their profit, placing the new currency into circulation.
The cryptocurrency miners work is different from that of a gold miner, of course, but the result is much the same: Both make money. For cryptocurrency mining, all of the work happens on a mining computer or rig connected to the cryptocurrency network no burro riding or gap-toothed gold panners required!
Cryptocurrency miners add transactions to the blockchain, but different cryptocurrencies use different mining methods, if the cryptocurrency uses mining at all. (Most cryptocurrencies dont use mining.) Different mining and consensus methods are used to determine who creates new blocks of data and how exactly the blocks are added to the blockchain.
How you mine a particular cryptocurrency varies slightly depending on the type of cryptocurrency being mined, but the basics are still the same: Mining creates a system to build trust between parties without needing a single authority and ensures that everyones cryptocurrency balances are up-to-date and correct in the blockchain ledger.
The work performed by miners consists of a few main actions:
The preceding cryptocurrency mining process is essential work, needed for the continued propagation of the blockchain and its associated transactions. Without it, the blockchain wont function. But why would someone do this work? What are the incentives for the miner?
The bitcoin miner actually has a couple of incentives (other cryptocurrencies may work in a different manner):
Combined, the fees and subsidy are known as the block reward. In Bitcoin, the block subsidy began at 50 BTC. (BTC is the ticker symbol for bitcoin.) The block subsidy at the time of writing is currently 12.5 BTC. The block subsidy is halved every 210,000 blocks, or roughly every four years; sometime around May 2020 it will halve again to 6.25 BTC per block.
The image below, from the BlockChain.com blockchain explorer, shows a block subsidy being paid to an address that is owned by the miner who added the block to the blockchain. Near the top you can see that 12.5 BTC is being paid as the subsidy; the actual sum received by the miner (the full reward, 13.24251028 BTC) is larger, because it also includes the transaction fees for all the transactions in the block.
For a cryptocurrency to function, several conditions must be met by the protocol. Jan Lanksys 6-factor list is particularly helpful. (Jan is a cryptocurrency academic teaching at a university in the Czech Republic). As can be seen, below, mining (in the mineable cryptocurrencies, non-mineable currencies have different mechanisms) is an integral part of making sure these conditions are met.
If even one of these six conditions arent met, a cryptocurrency will fail because it cant build enough trust for people to reliably use it. The process of mining solidifies and satisfies every single one of these conditions.
Theres a mind exercise known as the Byzantine Generals Problem (or the Byzantine Fault, the error avalanche, and various other things) that illustrates the problem that cryptocurrency consensus algorithms seek to solve.
The overall problem? Youre trying to reach consensus; in cryptocurrency, youre trying to reach agreement over the history of currency transactions. But in a cryptocurrency network, a distributed computer system of equals, you have thousands, maybe tens of thousands of computers (nodes); in the Bitcoin network you currently have 80,000 to 100,000 nodes.
But out of those tens of thousands of systems, some are going to have technical problems; hardware faults, misconfiguration, out-of-date software, misfunctioning routers, and so on. Others are going to be untrustworthy; theyre going to be seeking to exploit weaknesses for the financial gain of the people running the node (they are run by traitors). The problem is that for various reasons, some nodes may send conflicting and faulty information.
So someone came up with a sort of parable or metaphor, the Byzantine Generals Problem. (A guy named Leslie Lamport Shostak first told this story back in 1980, in a paper related to general issues of reliability in distributed computer systems.)
Originally named the Albanian Generals Problem, it was renamed after a long-defunct empire so not to offend any Albanians! (Though in this interconnected world of constant social media offense, there must be at least some offended residents of Istanbul.)
Apparently distributed-computing academics like to sit around and devise these little metaphors; theres the dining philosophers problem, the readers/writers problem, and so on. In fact the Byzantine Generals Problem was derived from the Chinese Generals Problem.
Anyway, the idea is this, as described in the original paper:
We imagine that several divisions of the Byzantine army are camped outside an enemy city, each division commanded by its own general. The generals can communicate with one another only by messenger. After observing the enemy, they must decide upon a common plan of action. However, some of the generals may be traitors, trying to prevent the loyal generals from reaching agreement. The generals must have an algorithm to guarantee that A. All loyal generals decide upon the same plan of action.[and] B. A small number of traitors cannot cause the loyal generals to adopt a bad plan.
(Search online for byzantine generals problem leslie lamport robert shostak marshall pease if youre interested in seeing the original paper.)
Thats the problem that cryptocurrency consensus algorithms, as theyre known, are trying to solve. How do the generals (the computer nodes) come up with consensus (all agree on the same plan of actionor transaction ledger), and avoid being led astray by a small number of traitors (faulty equipment and hackers)?
To have a chance at the mining reward, crypto miners must set up their mining rigs (the computer equipment) and run that cryptocurrencys associated mining software.
Depending on how many resources the crypto miner is committing, he or she will have a proportional chance to be the lucky miner who gets to create and chain the latest block; the more resources employed, the higher the chance of winning the reward. Each block has a predetermined amount of payment, which is rewarded to the victorious miner for their hard work to spend as they wish.
So how is the winning miner chosen? That depends. In most cases, one of two basic two methods are used:
When Bitcoin first started, anyone with a simple desktop computer was able to mine. The would-be miner simply downloaded the Bitcoin mining software, installed it, and let the BTC roll in! As time went on, though, competition increased.
Faster and more powerful computers were built and used for mining. Eventually, specialized processing chips called Application Specific Integrated Circuits (ASICs) were developed. An ASIC, as the name implies, is a computer chip designed for a specific purpose, such displaying high-resolution graphics quickly, running a smartphone, or carrying out a particular form of computation.
Specific ASICs have been designed to be highly efficient at the forms of computation required for cryptocurrency mining for example, for Bitcoin mining. Such a chip can be 1,000 times more efficient at Bitcoin mining than the chip in your PC, so in todays Bitcoin mining environment, its go ASIC or go home!
For high-difficulty cryptocurrencies, such as Bitcoin, the ideal mining environment is one with:
Fear not, though! With many different copies and mimicry of Bitcoin running rampant, Bitcoin is no longer the only game in town, and you can find lots of alternative mining choices, with varying levels of required computing power. Today, some of the most profitable cryptocurrencies to mine are lesser known and can be mined using off-the-shelf computer hardware due to less stringent difficulty levels that are associated with lower popularity and adoption.
Currently, a large portion of the global cryptocurrency mining takes place in China, at perhaps three times the rate of the next closest nation (the United States). A combination of cheap electricity and easy access to cheap computer components for building mining rigs gives China an edge that Chinese miners have leveraged and so far, maintained, even with their governments apparent disapproval of cryptocurrencies.
This is a testament to how resilient and difficult to shut down distributed cryptocurrency systems such as Bitcoin are.
A cryptocurrency has value because a large number of people collectively believe that it does. But why do they believe cryptocurrency has value? The answer is trust.
A holder of Bitcoin can trust that their Bitcoin will be in their wallet a day from now or 10 years from now. If they want to research how the system works, they can audit the code base to understand the system on a deeper level to see how trust is maintained.
However, if they do not have the skillset or the computer science knowledge to audit code, they can choose to trust that other people, more knowledgeable than them, understand and monitor the system; they can trust the overall blockchain community that is managing the particular cryptocurrency.
Without the mining functionality underpinning the distributed peer-to-peer cryptocurrency system, this collective trust (based on the proof of collective work towards the chain) would not exist.
Cryptocurrency mining makes sure that your balances wont change without your authorization. It incentivizes everyone to behave correctly and punishes those who dont. It creates a digital form of value transfer that can be trusted by each individual user as an equal peer in the network because every part of the system is aligned for one purpose: providing a secure way to create, verify, and transfer ownership of digitally scarce cryptographic units.
Peter Kent is a longtime technology author who also created the online course Crypto Clear: Bitcoin & Cryptocurrency Made Simple. Tyler Bain is a professional engineer who specializes on the electrical grid. He is also a Certified Bitcoin Professional who focuses on system resiliency and mining mechanics.
Read more:
What is Cryptocurrency Mining? - dummies
- New Bitcoin-Esque Cryptocurrency Named After Kanye West Launching [Last Updated On: January 5th, 2014] [Originally Added On: January 5th, 2014]
- Coinye West: A new cryptocurrency for the masses and an ode to Kanye [Last Updated On: January 5th, 2014] [Originally Added On: January 5th, 2014]
- Cryptocurrency gets hip: 'Coinye West' [Last Updated On: January 5th, 2014] [Originally Added On: January 5th, 2014]
- As Bitcoin Soars in Value, Alternative Cryptocurrencies, Such ... [Last Updated On: January 5th, 2014] [Originally Added On: January 5th, 2014]
- AltCoins - Crypto()Currency - Cryptocurrency [Last Updated On: January 5th, 2014] [Originally Added On: January 5th, 2014]
- CryptoCurrency.org [Last Updated On: January 5th, 2014] [Originally Added On: January 5th, 2014]
- DimeCoin - The New Cryptocurrency - Video [Last Updated On: January 5th, 2014] [Originally Added On: January 5th, 2014]
- Kanye West Sues Amazon, Others Over 'Coinye West' Cryptocurrency [Last Updated On: January 22nd, 2014] [Originally Added On: January 22nd, 2014]
- $25,000 in Dogecoin raised to save the Jamaican bobsled team [Last Updated On: January 22nd, 2014] [Originally Added On: January 22nd, 2014]
- Gotangco: Is PH ready for Bitcoin and cryptocurrency? [Last Updated On: January 22nd, 2014] [Originally Added On: January 22nd, 2014]
- As Bitcoin Soars in Value, Alternative Cryptocurrencies ... [Last Updated On: January 22nd, 2014] [Originally Added On: January 22nd, 2014]
- Cryptominer.de Avalon 200GH/S Bitcoin Miner Asic 55nm Mining Cryptocurrency - Video [Last Updated On: January 22nd, 2014] [Originally Added On: January 22nd, 2014]
- Cryptocurrency mining Rig build 1 - Video [Last Updated On: January 22nd, 2014] [Originally Added On: January 22nd, 2014]
- Bitcoin Value and rise of the cryptocurrency - Video [Last Updated On: January 22nd, 2014] [Originally Added On: January 22nd, 2014]
- LeadCoin - Cryptocurrency - Video [Last Updated On: January 22nd, 2014] [Originally Added On: January 22nd, 2014]
- Cryptocurrency Mining [Part 2] - Video [Last Updated On: January 22nd, 2014] [Originally Added On: January 22nd, 2014]
- Cryptocurrency Mining [Part 1] - Video [Last Updated On: January 22nd, 2014] [Originally Added On: January 22nd, 2014]
- Know How 74: Cryptocurrency - Video [Last Updated On: January 22nd, 2014] [Originally Added On: January 22nd, 2014]
- Worlds First BITCOIN ATM Opens in Vancouver Canada - Is CryptoCurrency the Future Currency? - Video [Last Updated On: January 22nd, 2014] [Originally Added On: January 22nd, 2014]
- 42 Coin cryptocurrency contest - Video [Last Updated On: January 23rd, 2014] [Originally Added On: January 23rd, 2014]
- What is Bitcoin anyway? [Last Updated On: January 24th, 2014] [Originally Added On: January 24th, 2014]
- The rise and rise of dogecoin, the internet's hottest cryptocurrency [Last Updated On: January 24th, 2014] [Originally Added On: January 24th, 2014]
- Cryptocurrency Mining Rigs by plugNmine - Video [Last Updated On: January 26th, 2014] [Originally Added On: January 26th, 2014]
- How Cryptocurrency, Crowdfunding And A Little Internet Altruism Saved Jamaica’s Hopes For Bobsled Gold [Last Updated On: January 27th, 2014] [Originally Added On: January 27th, 2014]
- Introducing Dogecoin the Greatest Cryptocurrency - Video [Last Updated On: January 27th, 2014] [Originally Added On: January 27th, 2014]
- Dogecoin - Wikipedia, the free encyclopedia [Last Updated On: January 28th, 2014] [Originally Added On: January 28th, 2014]
- Dummy plug for GPU for cryptocurrency mining - Video [Last Updated On: January 28th, 2014] [Originally Added On: January 28th, 2014]
- My first CryptoCurrency Miner up and running yet partially completed - Video [Last Updated On: January 28th, 2014] [Originally Added On: January 28th, 2014]
- Thought of the Day - 01 / 28 / 2014 - CryptoCurrency - Dogecoin - What is this? - Video [Last Updated On: January 30th, 2014] [Originally Added On: January 30th, 2014]
- Wall Street's Cryptocurrency Headquarters: Inside Bitcoin Center NYC - Video [Last Updated On: January 30th, 2014] [Originally Added On: January 30th, 2014]
- My Take on the Profitablity of Cryptocurrency - Video [Last Updated On: January 30th, 2014] [Originally Added On: January 30th, 2014]
- Bitcoin steps a little closer to acceptance [Last Updated On: January 31st, 2014] [Originally Added On: January 31st, 2014]
- Bitcoin gets two hearings - and steps closer to acceptance [Last Updated On: January 31st, 2014] [Originally Added On: January 31st, 2014]
- Dogecoin cryptocurrency donors help send Indian athletes to Sochi [Last Updated On: January 31st, 2014] [Originally Added On: January 31st, 2014]
- How To Create Your Own Cryptocurrency [Last Updated On: January 31st, 2014] [Originally Added On: January 31st, 2014]
- Cryptocurrency - Bitcoin Song (by 13inlet) - Video [Last Updated On: January 31st, 2014] [Originally Added On: January 31st, 2014]
- Selling Dem Coins - How to convert your Cryptocurrency - Tutorial - Video [Last Updated On: February 1st, 2014] [Originally Added On: February 1st, 2014]
- Dogecoin - From joke cryptocurrency to Bitcoin rival - Video [Last Updated On: February 1st, 2014] [Originally Added On: February 1st, 2014]
- New York to Regulate Bitcoin: Is the Cryptocurrency Biz Like "the Wild West?" - Video [Last Updated On: February 1st, 2014] [Originally Added On: February 1st, 2014]
- Dogecoin: A 2014 Cryptocurrency Revolution - Video [Last Updated On: February 1st, 2014] [Originally Added On: February 1st, 2014]
- U.S. Treasury Goes Easy on the Bitcoin [Last Updated On: February 3rd, 2014] [Originally Added On: February 3rd, 2014]
- WoW - Dogecoin The #1 Cryptocurrency - Video [Last Updated On: February 3rd, 2014] [Originally Added On: February 3rd, 2014]
- The Dark Horse of Cryptocurrency - Franko - Video [Last Updated On: February 3rd, 2014] [Originally Added On: February 3rd, 2014]
- Think Bitcoin is Expensive? Try 42 Coin, The £100,000 Cryptocurrency [Last Updated On: February 4th, 2014] [Originally Added On: February 4th, 2014]
- We Love DogeCoin The #1 Cryptocurrency - Video [Last Updated On: February 4th, 2014] [Originally Added On: February 4th, 2014]
- Cryptocurrency Hackathon will talk Bitcoin, Dogecoin and more for coders and novices [Last Updated On: February 5th, 2014] [Originally Added On: February 5th, 2014]
- Dogecoin Kiss: An original song about the world's friendliest Cryptocurrency - Video [Last Updated On: February 5th, 2014] [Originally Added On: February 5th, 2014]
- Cryptocurrency Hackathon will talk Bitcoin, Dogecoin and ... [Last Updated On: February 6th, 2014] [Originally Added On: February 6th, 2014]
- Dogecoin: cryptocurrency passes Bitcoin to reach the moon - Video [Last Updated On: February 6th, 2014] [Originally Added On: February 6th, 2014]
- ZedCoin new CryptoCurrency - Video [Last Updated On: February 7th, 2014] [Originally Added On: February 7th, 2014]
- LiteCoin Trading Robot LTC Robot Cryptocurrency Trading Robot - Video [Last Updated On: February 7th, 2014] [Originally Added On: February 7th, 2014]
- Apple approves Dogecoin app after removing Bitcoin app [Last Updated On: February 8th, 2014] [Originally Added On: February 8th, 2014]
- Cryptocurrency - Wikipedia, the free encyclopedia [Last Updated On: February 9th, 2014] [Originally Added On: February 9th, 2014]
- Cryptocurrency, Permaculture, and 3D Printing - Video [Last Updated On: February 9th, 2014] [Originally Added On: February 9th, 2014]
- Litecoin Robot | The World's First Litecoin Trading Bot Review | Scrypt Money | Cryptocurrency LTC - Video [Last Updated On: February 9th, 2014] [Originally Added On: February 9th, 2014]
- Bitcoin Slump Shows the $8 Billion Cryptocurrency Lacks Mature Infrastructure [Last Updated On: February 10th, 2014] [Originally Added On: February 10th, 2014]
- WE WIN COINS - EXCLUSIVE CRYPTOCURRENCY BETTING SOFTWARE TO INCREASE WINS - Video [Last Updated On: February 10th, 2014] [Originally Added On: February 10th, 2014]
- Dogecoin Value Soars $40M in Value Following Chinese Exchange Opens [Last Updated On: February 12th, 2014] [Originally Added On: February 12th, 2014]
- Cryptocurrency News Round-Up: Protests at Mt Gox as ... [Last Updated On: February 12th, 2014] [Originally Added On: February 12th, 2014]
- Dogecoin Soars $40M in Value Following Chinese Exchange Opens [Last Updated On: February 14th, 2014] [Originally Added On: February 14th, 2014]
- Is the new cryptocurrency PotCoin worth it? A Crypto-Market-News review of PotCoin - Video [Last Updated On: February 14th, 2014] [Originally Added On: February 14th, 2014]
- Cryptocurrency Expert - Lorraine Murphy - Video [Last Updated On: February 14th, 2014] [Originally Added On: February 14th, 2014]
- CryptoCurrency Con 2013 - Cathy Reisenwitz - Why a Free Society Needs a Free Money - Video [Last Updated On: February 14th, 2014] [Originally Added On: February 14th, 2014]
- How to transfer Bitcoins from one cryptocurrency exchange to another cryptocurrency exchange - Video [Last Updated On: February 14th, 2014] [Originally Added On: February 14th, 2014]
- Cryptocurrency Explained The Tech Guy 1046127 - Video [Last Updated On: February 14th, 2014] [Originally Added On: February 14th, 2014]
- CryptoCurrency Hacking Hard - Video [Last Updated On: February 14th, 2014] [Originally Added On: February 14th, 2014]
- ** UPDATE ** Computer, Cryptocurrency, Games and More!! - Video [Last Updated On: February 15th, 2014] [Originally Added On: February 15th, 2014]
- The glitch that will help kill Bitcoin [Last Updated On: February 16th, 2014] [Originally Added On: February 16th, 2014]
- Skinny Puppy at GITMO, NSA Myths, Dogecoin and Cryptocurrency #TMS 2/15/2014 - Video [Last Updated On: February 16th, 2014] [Originally Added On: February 16th, 2014]
- PotCoin, the cryptocurrency for the Cannabis Industrie - Video [Last Updated On: February 16th, 2014] [Originally Added On: February 16th, 2014]
- cryptocurrency mining rig - Video [Last Updated On: February 17th, 2014] [Originally Added On: February 17th, 2014]
- Quark - The Best Cryptocurrency - Video [Last Updated On: February 17th, 2014] [Originally Added On: February 17th, 2014]
- Cryptocurrencies: I Lived on Bitcoin for a Week - Video [Last Updated On: February 17th, 2014] [Originally Added On: February 17th, 2014]
- Cryptocurrencies: The State of Play - Video [Last Updated On: February 17th, 2014] [Originally Added On: February 17th, 2014]
- AMD graphics card pricing skyrockets due to cryptocurrency mining, could kill AMD’s gaming efforts [Last Updated On: February 18th, 2014] [Originally Added On: February 18th, 2014]
- Could there be a $50,000 bitcoin? [Last Updated On: February 18th, 2014] [Originally Added On: February 18th, 2014]
- CRYPTOCURRENCY - Bitcoin Overview... - Video [Last Updated On: February 18th, 2014] [Originally Added On: February 18th, 2014]
- CRYPTOCURRENCY - Money Changer Den of Thieves, The Federal Reserve - Video [Last Updated On: February 18th, 2014] [Originally Added On: February 18th, 2014]
- How to Buy PotCoins Part 2: Make a cryptocurrency trading account at swissex.com to buy PotCoin - Video [Last Updated On: February 18th, 2014] [Originally Added On: February 18th, 2014]
- BitPagar cryptocurrency - Video [Last Updated On: February 18th, 2014] [Originally Added On: February 18th, 2014]