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.
Original post:
What is Cryptocurrency Mining? - dummies
- Crypto()Currency - CryptoCurrency.org [Last Updated On: April 26th, 2014] [Originally Added On: April 26th, 2014]
- Cryptocurrency - Wikipedia, the free encyclopedia [Last Updated On: April 26th, 2014] [Originally Added On: April 26th, 2014]
- TNW - Stefan Molyneux - Money, Power and Politics The Cryptocurrency Revolution - Video [Last Updated On: April 26th, 2014] [Originally Added On: April 26th, 2014]
- How to Set Up a Ripple (CryptoCurrency) Generating System! - Video [Last Updated On: April 26th, 2014] [Originally Added On: April 26th, 2014]
- Bitcoin / Cryptocurrency - An Extensive FAQ - Video [Last Updated On: April 26th, 2014] [Originally Added On: April 26th, 2014]
- --- The Great Debate --- Bitcoin vs Altcoin @ The CryptoCurrency Convention 4/9/14 - - Video [Last Updated On: April 26th, 2014] [Originally Added On: April 26th, 2014]
- Bryce Weiner @ CryptoCurrency Convention 4/9/14 - - Video [Last Updated On: April 26th, 2014] [Originally Added On: April 26th, 2014]
- Popularcoin @ CryptoCurrency Convention 4/9/14 - Joshua Nold - Video [Last Updated On: April 26th, 2014] [Originally Added On: April 26th, 2014]
- TimeKoin @ CryptoCurrency Convention 4/9/14 - Michael Brown - Video [Last Updated On: April 26th, 2014] [Originally Added On: April 26th, 2014]
- Infinitecoin @ CryptoCurrency Convention 4/9/14 - Loring Small - Video [Last Updated On: April 26th, 2014] [Originally Added On: April 26th, 2014]
- Bitcoin Exchange CryptoRush Loses Millions of BlackCoin Cryptocurrency - Video [Last Updated On: April 26th, 2014] [Originally Added On: April 26th, 2014]
- Brock Pierce, Entrepreneur "FireSide Chat" @ CryptoCurrency Convention NYC - 4/9/14 - Video [Last Updated On: April 26th, 2014] [Originally Added On: April 26th, 2014]
- [OFFICIAL SPONSOR] Nick Spanos, Bitcoin Center NYC @ CryptoCurrency Convention 4/9/14 - Video [Last Updated On: April 26th, 2014] [Originally Added On: April 26th, 2014]
- AuroraCoin @ CryptoCurrency Convention NYC 4/9/14 - David Lio - Video [Last Updated On: April 26th, 2014] [Originally Added On: April 26th, 2014]
- Dogecoin Founder Speaks on the Future of Cryptocurrency [Last Updated On: April 27th, 2014] [Originally Added On: April 27th, 2014]
- As Bitcoin Soars in Value, Alternative Cryptocurrencies ... [Last Updated On: April 27th, 2014] [Originally Added On: April 27th, 2014]
- Florincoin @ CryptoCurrency Convention NYC 4/9/14 - Joe Fiscella - Video [Last Updated On: April 27th, 2014] [Originally Added On: April 27th, 2014]
- DigiByte @ CryptoCurrency Convention NYC 4/9/14 - Jared Tate - Video [Last Updated On: April 27th, 2014] [Originally Added On: April 27th, 2014]
- Digitalcoin @ CryptoCurrency Convention NYC 4/9/14 - Andrew Davidson - Video [Last Updated On: April 27th, 2014] [Originally Added On: April 27th, 2014]
- PotCoin @ CryptoCurrency Convention NYC 4/9/14 - Nick Iversen - Video [Last Updated On: April 27th, 2014] [Originally Added On: April 27th, 2014]
- ZenithCoin @ CryptoCurrency Convention NYC 4/9/14 - Eddie Corral - Video [Last Updated On: April 27th, 2014] [Originally Added On: April 27th, 2014]
- BitAngels Co-Founder, David Johnson @ CryptoCurrency Convention NYC 4/9/14 - Video [Last Updated On: April 27th, 2014] [Originally Added On: April 27th, 2014]
- Australian dogecoin founder speaks on the future of cryptocurrency [Last Updated On: April 28th, 2014] [Originally Added On: April 28th, 2014]
- Coinnext Cryptocurrency Exchange Coming Soon - Video [Last Updated On: April 29th, 2014] [Originally Added On: April 29th, 2014]
- Cryptocurrency News Round-Up: MtGox Hearing Begins as Bitcoin gets Bloomberg Endorsement [Last Updated On: May 1st, 2014] [Originally Added On: May 1st, 2014]
- mTrader.org - Cryptocurrency Mining System - Video [Last Updated On: May 1st, 2014] [Originally Added On: May 1st, 2014]
- CryptoCurrency - cryptobars commodity Launch! - Video [Last Updated On: May 1st, 2014] [Originally Added On: May 1st, 2014]
- The Mises View: "Taxing Cryptocurrency" | Jeff Deist - Video [Last Updated On: May 2nd, 2014] [Originally Added On: May 2nd, 2014]
- Coin Pursuit Launches SliceFeeds Interactive Cryptocurrency Network [Last Updated On: May 3rd, 2014] [Originally Added On: May 3rd, 2014]
- Cryptocurrency | Ground Zero with Clyde Lewis [Last Updated On: May 3rd, 2014] [Originally Added On: May 3rd, 2014]
- CS 171 Final Project: Cryptocurrency Visualizations - Video [Last Updated On: May 3rd, 2014] [Originally Added On: May 3rd, 2014]
- Cryptocurrency Explained The Tech Guy 1046 - Video [Last Updated On: May 3rd, 2014] [Originally Added On: May 3rd, 2014]
- Know How 74 Cryptocurrency - Video [Last Updated On: May 4th, 2014] [Originally Added On: May 4th, 2014]
- MIT undergrads will each receive $100 in bitcoin [Last Updated On: May 5th, 2014] [Originally Added On: May 5th, 2014]
- cryptocurrency - Fortune Finance: Hedge Funds, Markets ... [Last Updated On: May 8th, 2014] [Originally Added On: May 8th, 2014]
- Bitcoin wins US election panel's approval for political donations [Last Updated On: May 9th, 2014] [Originally Added On: May 9th, 2014]
- CryptoCurrency of the World Unite! - Video [Last Updated On: May 9th, 2014] [Originally Added On: May 9th, 2014]
- Major Dogecoin Wallet Hacked, Shut Down [Last Updated On: May 13th, 2014] [Originally Added On: May 13th, 2014]
- Such hack, much sad: Doge Vault reportedly loses $56,000 in heist [Last Updated On: May 13th, 2014] [Originally Added On: May 13th, 2014]
- BBT Presents: Ode to Cryptocurrency - Video [Last Updated On: May 13th, 2014] [Originally Added On: May 13th, 2014]
- Scryptify Cryptocurrency Video - Crypto Currency Exchanges - Video [Last Updated On: May 13th, 2014] [Originally Added On: May 13th, 2014]
- AMD cuts Radeon R9 280 price as inflation woes die down [Last Updated On: May 15th, 2014] [Originally Added On: May 15th, 2014]
- The Cryptocurrency Certification Consortium - Video [Last Updated On: May 15th, 2014] [Originally Added On: May 15th, 2014]
- Bitpagar Cryptocurrency - Video [Last Updated On: May 16th, 2014] [Originally Added On: May 16th, 2014]
- TagPro - Cryptocurrency Juke Session w/ LTB & Counterpary - Video [Last Updated On: May 16th, 2014] [Originally Added On: May 16th, 2014]
- How to Mine Cryptocurrency Safely - Video [Last Updated On: May 16th, 2014] [Originally Added On: May 16th, 2014]
- Bunnycoin - Innovative New Cryptocurrency - Video [Last Updated On: May 16th, 2014] [Originally Added On: May 16th, 2014]
- Jan Irvin on Learning, Statism, Culture, Cryptocurrency and Voluntarism -- Potent News Podcast #1 - Video [Last Updated On: May 16th, 2014] [Originally Added On: May 16th, 2014]
- Nxt cryptocurrency platform: Proof of Stake mining system - Video [Last Updated On: May 18th, 2014] [Originally Added On: May 18th, 2014]
- Cryptocurrency Round-Up: Darkcoin Rise Continues; Dogecoin Saved My Life & Bitcoin Explainer Videos [Last Updated On: May 19th, 2014] [Originally Added On: May 19th, 2014]
- Givecoin.info Announces Partnership with Do A Bit of Good: World's First Charitable Mining Screensaver [Last Updated On: May 21st, 2014] [Originally Added On: May 21st, 2014]
- Cryptocurrency: Get Mining! - Video [Last Updated On: May 22nd, 2014] [Originally Added On: May 22nd, 2014]
- Violincoin - The first cryptocurrency for musician - - Video [Last Updated On: May 22nd, 2014] [Originally Added On: May 22nd, 2014]
- Trollcoin - The Fun Cryptocurrency! - Video [Last Updated On: May 22nd, 2014] [Originally Added On: May 22nd, 2014]
- Cryptocurrency and Nonprofits with Eric Nakagawa - Video [Last Updated On: May 23rd, 2014] [Originally Added On: May 23rd, 2014]
- The Cryptocurrency Store - Video [Last Updated On: May 23rd, 2014] [Originally Added On: May 23rd, 2014]
- The Cryptocurrency Store (Spanish/Espagnol) - Video [Last Updated On: May 23rd, 2014] [Originally Added On: May 23rd, 2014]
- How To Trade CryptoCurrency: Sign up to a safe and reliable exchange for trading CryptoCurrency - Video [Last Updated On: May 23rd, 2014] [Originally Added On: May 23rd, 2014]
- UT students to launch cryptocurrency exchange [Last Updated On: May 24th, 2014] [Originally Added On: May 24th, 2014]
- Videoconferencia Cryptocurrency 201243946 - Video [Last Updated On: May 27th, 2014] [Originally Added On: May 27th, 2014]
- VideoCharla Jesus Ramos Cryptocurrency - Video [Last Updated On: May 27th, 2014] [Originally Added On: May 27th, 2014]
- Cryptocurrency Round-Up: Bitcoin Pioneer Dies and Digital Currency's Status in Australia [Last Updated On: August 31st, 2014] [Originally Added On: August 31st, 2014]
- Bitcoin enthusiasts discuss the cryptocurrency - Video [Last Updated On: August 31st, 2014] [Originally Added On: August 31st, 2014]
- Make Fast 1.0 up to 10.00 BTC or Any Cryptocurrency REAL CASH - Video [Last Updated On: August 31st, 2014] [Originally Added On: August 31st, 2014]
- Halcyon cryptocurrency - Video [Last Updated On: August 31st, 2014] [Originally Added On: August 31st, 2014]
- Selling products / services / fiat money for cryptocurrency - Coinkite PoS Terminal - Video [Last Updated On: August 31st, 2014] [Originally Added On: August 31st, 2014]
- Selling cryptocurrency to customers - Coinkite PoS Terminal - Video [Last Updated On: August 31st, 2014] [Originally Added On: August 31st, 2014]
- Cryptocurrency Made Simple - A Plain English Guide to Bitcoins [Last Updated On: September 8th, 2014] [Originally Added On: September 8th, 2014]
- PotatoCoin - The cryptocurrency for the third world - Video [Last Updated On: September 8th, 2014] [Originally Added On: September 8th, 2014]
- How To Trade One Kind Of Cryptocurrency For A Different Kind Of Cryptocurrency - Video [Last Updated On: September 8th, 2014] [Originally Added On: September 8th, 2014]
- How To Fund Your Bleutrade Cryptocurrency Trading Account - Video [Last Updated On: September 8th, 2014] [Originally Added On: September 8th, 2014]
- How To Open An Account At Bleutrade.com Cryptocurrency Exchange - Video [Last Updated On: September 8th, 2014] [Originally Added On: September 8th, 2014]
- Cryptocurrency Round-Up: Apple Pay Boosts Bitcoin, Nakamoto Negotiates With Hacker [Last Updated On: September 11th, 2014] [Originally Added On: September 11th, 2014]
- Qoinpro Cryptocurrency Faucet ok - Video [Last Updated On: September 12th, 2014] [Originally Added On: September 12th, 2014]
- Weekly Roundup - CEX.IO - Multi-Functional cryptocurrency exchange - Video [Last Updated On: September 12th, 2014] [Originally Added On: September 12th, 2014]
- TCR #27: Cryptocurrency growth, 9/11 Anniversary, CDC Scandal, Face Your Fears - Video [Last Updated On: September 12th, 2014] [Originally Added On: September 12th, 2014]
- VanosEnigmA 011 Bitcoin-Comedy BitcoinDog CryptoCurrency-Cat Naughty - Video [Last Updated On: September 15th, 2014] [Originally Added On: September 15th, 2014]
- WikiLeaks Avoided Bitcoin to Prevent Government 'Destroying' Cryptocurrency [Last Updated On: September 16th, 2014] [Originally Added On: September 16th, 2014]
- LXC Coin crowdfunds in challenge to Bitcoin [Last Updated On: September 16th, 2014] [Originally Added On: September 16th, 2014]
- Why Bitcoin Is Poised To Win Big In Las Vegas [Last Updated On: September 19th, 2014] [Originally Added On: September 19th, 2014]