Understanding Bitcoin Mining

It’s Good, Steady Work

A digital currency like bitcoin needs machines to make it work, right? It does, a crap-ton of them. Who makes these machines? Who buys these machines? Who spends their money on electricity and infrastructure to run these machines? The answer is capitalists. There’s money to be made in the manufacture and selling of a “bitcoin miner”, which is simply a device that guesses numbers at a very fast rate. More on that in a bit. There’s money to be made in selling them because there’s money to be made in running them. Every 10 minutes a “block” is created and written to the “blockchain”. A block is a listing of transactions summarized into one file, like your deposit at the bank. You give the bank an envelope (block) containing your multiple checks to deposit (transactions). That envelope gets added to your bank account as a deposit. The bank teller brings up your account, which is a ledger representing all the deposits and withdrawals you’ve made, and adds an entry (block) into your ledger (blockchain). Sometimes you’ll hear bitcoin or other cryptocurrencies referred to as a DLT. That stands for Distributed Ledger Technology. So, instead of your ledger being stored at one bank, and you being the only one served by that ledger and you being the only one that can benefit from it, instead the ledger is stored “in the cloud” and everyone on the planet can potentially access it.

Photo by Samuel Zeller on Unsplash

OK, slow down you say? The cloud? Well, not the Amazon or Microsoft cloud. We’re talking about a cloud owned by nobody, and existing everywhere. It’s decentralized, no single point of control, and distributed. The ledger is stored in its entirety on many many computers. With something this big, with nobody controlling or regulating it, the rules that it operates by must be complex, right? Not at all. You see, even though it’s a digital form of money that is stored on computers and needs computing devices to be secured, the real security is based on humans, not machines.

The bitcoin blockchain is secured by a consensus protocol called proof of work. Consensus means we agree in some capacity. In the case of bitcoin, a transaction is either going to be legitimate or fraudulent. The people who make that decision are called miners. They make that decision by submitting the block and waiting….. Once more than 50% of the miners agree that the transaction is legit, it’s confirmed, finalized and at that point becomes immutable. Once a transaction is written to the block, it can never be changed or deleted. Think of a block written to the blockchain as “yesterday”. Once you’re done with it, there’s no going back and changing it.

OK, foggy understanding so far, right? Miners run machines, submit a file containing 10 minutes of transactions, and then wait for confirmation? Correct? Yes, but who gets to submit that file and WIFM (What’s in it for me)? The file is submitted by one machine somewhere on the planet, and the lucky machine is paid bitcoin for their troubles. The amount of bitcoin paid every 10 minutes started at 50BTC, and every four years that number is cut in half. I started mining the month before the revenue/fee/block reward went from 50 to 25. Since then it’s dropped again to 12.5 and in a little more than a year (bitcoinclock.com), it will halve again to 6.25. In addition to the block reward, which is the primary way the system introduces new currency into the network, and will continue to do so until there are 21 million bitcoin in circulation, there’s also the transaction fees that are paid to the lucky miner once every 10 minutes. So the idea is that the miners can stay profitable (make more money in block rewards and transaction fees than they pay in electricity and infrastructure costs) as long as the usage of the system continues to grow. As the usage of the system grows, the demand for bitcoin grows. As the demand for bitcoin grows, supply and demand causes the US dollar value of bitcoin to grow. It’s a combination of the transaction fees and the increase in value that keeps the miners profitable.

Photo by NeONBRAND on Unsplash

Super cool moment: The system is self-healing, self-balancing! Let’s say that there are 1000 miners that are making a small profit and the next halving comes. Now with a smaller reward, let’s say all miners are operating at a loss. The most inefficient of the miners start to turn their machines off (think anyone paying high electricity fees or living near the equator and paying high cooling bills). As a miner closes down operations, there are fewer people to share the same pie, which of course means everyone left gets a bigger piece of pie. Think of the guy who always makes that joke “you don’t want any? OK, that just leaves more for me”. Eventually, no matter what the market conditions are, the remaining miners are profitable and the system is healthy.

Alright, miners make money, are incented to keep the system running and healthy, what about that lucky miner? How is it chosen every 10 minutes? That’s where the guessing game comes in. Each miner is relatively dumb/simple. All it really does is guess a really long number, and it makes those guesses many many times per second. Imagine someone somewhere holding a stink-ton of fingers behind their back and waiting to see who gets it right? If the number is guessed too quickly, the number gets bigger for the next time. If it takes the machines too long, the number gets smaller the next time. In the marketplace, this is called the difficulty and it’s tracked over time along with the hash rate (number of guesses per second) to get an idea of how many miners are mining and whether or not a miner can be profitable given the current block reward and the cost he or she is paying for electricity and infrastructure.

Back to the story… Where does the security come from and why is it based on humans instead of machines? Well,

it’s humans, not machines, that do bad things, machines just do what they’re told. — Me

Photo by Lukas on Unsplash

The proof of work can also be thought of as “skin in the game” or “money invested”. The only way to cheat the system is to control more than 50% of the miners. The amount of money it would take to control that many machines, pay that much infrastructure and electricity, is astronomical. The security of the system comes down to a simple premise: a reasonable thief would not spend $500 to steal $100. So we aren’t counting on our inherent goodness or honesty, we’re counting on the fact that humans will generally act in their own self interest. It’s not a moral judgement, just a pragmatic one.

Pretty exciting, so should I mine for bitcoin? Unfortunately, it’s no longer profitable on a small scale. There are still thousands of miners mining so we don’t need to worry about bitcoin becoming centralized or about any one miner controlling more than 50% of the hash rate. Miners today need the economies of scale to make a small profit. My mining business has 2000 machines running in a datacenter, and my percentage of the whole is teeny-tiny. We are currently making a very small profit.

Tomorrow I’m going to answer the question many of you are thinking…Aren’t you a bad person for using all that electricity? (Hint: I’m not.)

Follow us on Twitter, InvestFeed, Facebook, Instagram, LinkedIn, and join our Discord and Telegram.

Read about our upcoming Altcoin Magazine Mastermind Event here.

The Capital

A publishing platform for professionals now available on https://thecapital.io

Sign up for Try The Capital Platform at thecapital.io

By The Capital

Head over to https://thecapital.io, sign up and publish your first article today! Take a look.

By signing up, you will create a Medium account if you don’t already have one. Review our Privacy Policy for more information about our privacy practices.

Check your inbox
Medium sent you an email at to complete your subscription.

Dan Charbonneau

Written by

CEO/Founder of CBT Nuggets. I’m very interested in how blockchain and crypto technologies can improve the opportunities for freedom and liberty for all people.

The Capital

A publishing platform for professionals in business, finance, and tech

Dan Charbonneau

Written by

CEO/Founder of CBT Nuggets. I’m very interested in how blockchain and crypto technologies can improve the opportunities for freedom and liberty for all people.

The Capital

A publishing platform for professionals in business, finance, and tech

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store