What is Bitcoin Mining? (In Plain English) - YouTube

Channel: 99Bitcoins

[0]
What is Bitcoin mining?
[2]
Does it mean I can generate free Bitcoin from my computer?
[5]
Is it still profitable to mine Bitcoin these days?
[8]
Well, stick around...
[10]
Here on Bitcoin Whiteboard Tuesday,
[11]
we’ll answer these questions and more.
[20]
Bitcoin was created as a decentralized alternative
[23]
to the banking system.
[25]
This means that the system can operate and transfer funds
[28]
from one account to the other
[29]
without any central authority.
[31]
With a central authority,
[32]
transfering money is easy:
[34]
Just tell the bank you want to remove $50 from your account
[37]
and add it to someone else’s account.
[39]
In this case,
[40]
the bank has all the power,
[42]
since the bank is the only one who is allowed to update the ledger
[45]
that holds the balances of everyone in the system.
[48]
But how do you create a system that has a decentralized ledger?
[52]
How do you give someone the ability to update the ledger
[54]
without giving them so much power
[56]
that they will become corrupt or negligent in their work?
[59]
Well the rules of the Bitcoin system, known as the protocol
[63]
solves this in a very creative way I like to call
[66]
“Who Wants to Be a Banker?”
[68]
In short,
[68]
anyone who wants to participate in updating the ledger of Bitcoin transactions,
[72]
known as the blockchain, can do so.
[75]
All you need to do is
[76]
guess a random number that solves an equation generated by the system.
[80]
Sounds simple, right?
[82]
Of course this guessing is all done by your computer.
[85]
The more powerful of a computer you have,
[87]
the more guesses you can make per second,
[89]
thus increasing your chances of winning this game.
[92]
If you managed to guess right -
[93]
you earn Bitcoins and get to write the “next page” of Bitcoin transactions
[97]
on the blockchain.
[99]
Here’s a more detailed breakdown of the mining process:
[101]
Once your mining computer comes up with the right guess,
[104]
your mining program determines which of the currently pending transactions
[108]
will be grouped together into the next block of transactions.
[111]
Compiling this block represents your moment of glory
[114]
as you have now become the temporary banker of Bitcoin
[117]
who gets to update the Bitcoin transaction ledger
[119]
known as the blockchain.
[121]
The block you’ve created, along with your solution
[124]
is sent to the whole network so other computers can validate it.
[127]
Each computer that validates your solution
[129]
updates its copy of the Bitcoin transaction ledger
[132]
with the transactions that you chose to include in the next block.
[136]
As you can imagine,
[137]
since mining is based on a form of guessing;
[139]
for each block, a different miner will guess the number
[142]
and be granted the right to update the blockchain.
[144]
Of course the miners with more computing power
[147]
will succeed more often,
[149]
but due to the laws of statistical probability,
[151]
it is highly unlikely that the same miner will do so every time.
[155]
After this stage is complete,
[157]
the system generates a fixed amount of Bitcoins
[159]
and rewards them to you
[161]
as a compensation for the time and energy you spent in solving the math problem.
[166]
Additionally, you get paid any transaction fees
[168]
that were attached to the transactions you inserted into this block.
[172]
So that’s Bitcoin mining in a nutshell.
[174]
It’s called mining because of the fact
[176]
that this process helps “mine” new Bitcoins from the system.
[180]
But if you think about it, the mining part is just a by product of
[183]
the transaction verification process.
[185]
So the name is a bit misleading,
[187]
since the main goal of mining is to maintain the ledger
[190]
in a decentralized manner.
[193]
Now that you know what Bitcoin mining is
[195]
you might be thinking “cool! Free money!
[197]
So where do I sign up?” Well, not so fast
.
[200]
Satoshi Nakamoto, who invented Bitcoin,
[203]
crafted the rules for mining in a way that the more mining power the network has,
[207]
the harder it is to guess the answer to the mining math problem.
[210]
So the difficulty of the mining process
[212]
is actually self adjusting to the accumulated mining power
[216]
the network possesses.
[218]
If more miners join, it will get harder to solve the problem;
[221]
If many of them drop off, it will get easier.
[223]
And this is known as the mining difficulty.
[226]
So why on earth did Satoshi do this?
[229]
Well, he wanted to create a steady flow of new Bitcoins
[232]
to the system.
[233]
In a sense, this was done to keep inflation in check.
[237]
The mining difficulty is set so that on average
[239]
a new block will be added every 10 minutes.
[242]
Now remember, this is on average.
[244]
We can have two blocks being added minute after minute
[247]
and then wait an hour for the next block.
[249]
In the long run this will even out to 10 minutes on average.
[253]
As you can imagine,
[254]
this type of self adjusting mechanism created some sort of an “arms race”
[258]
to get the most efficient and powerful miners
[261]
as soon as possible.
[262]
When Bitcoin first started out there weren’t a lot of miners out there.
[266]
In fact, Satoshi, the inventor of Bitcoin,
[268]
and his friend Hal Finney were some of the few people
[271]
mining Bitcoin back at the time with their own personal computer.
[275]
Using your CPU,
[276]
meaning your Central Processing Unit or your computer’s brain,
[279]
was enough for mining Bitcoin back in 2009 since the mining difficulty was low.
[284]
As Bitcoin started to catch on
[286]
people looked for more powerful mining solutions.
[289]
Gradually people moved to GPU mining.
[292]
A GPU or Graphics Processing Unit
[294]
is a special component added to computers to carry out more complex calculations.
[299]
GPUs were originally intended to
[301]
allow gamers to run computer games with intense graphics requirements.
[305]
Because of their architecture
[306]
they became popular in the field of cryptography
[309]
and around 2011 people also started using them to mine Bitcoins.
[313]
For reference, the mining power of one GPU equals that of around 30 CPUs.
[319]
Another evolution came later on with FPGA mining.
[322]
FPGA is a piece of hardware that can be connected to a computer
[326]
in order to run a set of calculations.
[328]
They are just like a GPU, but 3 to 100 times faster.
[332]
The downside is that they are harder to configure,
[335]
which is why they weren’t as commonly used in mining as GPUs.
[339]
Finally, around 2013 a new breed of miner was introduced -
[343]
the ASIC miner.
[344]
ASIC stands for Application Specific Integrated Circuit,
[348]
and these were pieces of hardware
[350]
manufactured solely for the purpose of mining Bitcoin.
[354]
Unlike GPUs, CPUs and FPGAs they couldn’t be used to do anything else.
[359]
Their function was hardcoded into the machines.
[362]
ASIC miners are the current mining standard.
[365]
Some early ASIC miners even appeared in the form of a USB
[368]
but they became obsolete rather quickly.
[371]
Even though they started out in 2013
[373]
the technology quickly evolved
[375]
and new more powerful miners were coming out every 6 months.
[379]
After about 3 years of this crazy tech race
[381]
we’ve finally reach a technological barrier and things have cooled down a bit.
[385]
Since 2016 the pace at which new miners are released has slowed considerably.
[391]
Now that you know what miners are,
[392]
let’s talk a bit about mining pools.
[395]
Assuming you’re just entering the Bitcoin mining game,
[398]
you’re up against some heavy competition.
[401]
Even if you buy the best possible miner out there
[403]
you are still at a huge disadvantage
[405]
compared to professional Bitcoin mining farms.
[408]
That’s why mining pools came to existence.
[410]
The idea is simple -
[412]
miners group together to form a “pool”.
[414]
Meaning they combine their mining power to compete more effectively.
[418]
If the pool manages to win the competition,
[421]
the reward is spread out between the pool members
[423]
depending on how much mining power each of them contributed.
[426]
This way even small miners can join the mining game
[429]
and have a chance of earning Bitcoin,
[431]
even though they get only a part of the reward.
[433]
Today there are over a dozen large pools
[436]
that compete for the chance to mine Bitcoin and update the ledger.
[440]
I know you might be thinking,
[441]
“ok, all this theory stuff is very nice,
[444]
but is Bitcoin mining actually profitable today?”
[448]
Well, the short answer is “probably not”,
[450]
the correct (and long) answer is “it depends on a lot of factors”.
[455]
When calculating Bitcoin mining profitability
[457]
there are a lot of things you need to take into account.
[460]
Let’s go over them quickly
[464]
A Hash is the mathematical problem the miner's computer needs to solve.
[468]
The Hash Rate refers to your miner's performance
[470]
or how many guesses your computer can make per second.
[474]
Hash rate can be measured in Mega hash per second (MH/s),
[476]
Giga hash per second (GH/s),
[478]
Terra hash per second (TH/s)
[479]
and even Peta hash per second (PH/s).
[485]
This refers to the number of Bitcoins generated
[488]
when a miner finds the solution.
[490]
This number started at 50 Bitcoins back in 2009
[493]
and is halved every 210,000 blocks, about four years.
[498]
The current number of Bitcoins awarded per block is 12.5.
[501]
The last block halving occurred in July of 2016
[505]
and the next one will be in 2020.
[510]
This is a number that represents how hard it is to mine Bitcoins
[513]
at a certain moment
[514]
according to the amount of mining power currently active in the system.
[521]
How many dollars are you paying per KiloWatt.
[523]
You'll need to find out your electricity rate
[525]
in order to calculate profitability.
[528]
This can usually be found on your monthly electricity bill.
[531]
The reason this is important is because miners consume electricity -
[535]
whether for powering up the miner or for cooling it down
[537]
as these machines can get really hot.
[543]
Each miner consumes a different amount of energy.
[545]
You’ll need to find out the exact power consumption of your miner
[549]
before calculating profitability.
[551]
This can be found easily with a quick search on the Internet
[553]
or through this list.
[555]
Power consumption is measured in Watts.
[561]
If you’re mining through a mining pool, and you should,
[564]
then the pool will take a certain percentage of your earnings
[566]
for rendering their service.
[572]
Since no one knows what Bitcoin’s price will be in the future
[575]
it's hard to predict if Bitcoin mining will be profitable.
[578]
If you are planning to convert your mined Bitcoins in the future
[581]
to any other currency,
[582]
this variable will have significant impact on your profitability.
[586]
And finally #8 - The Difficulty increase per year -
[590]
This is probably the most important and elusive variable of them all.
[594]
The idea is that since no one can actually predict
[597]
the rate of miners joining the network,
[599]
neither can anyone predict how difficult it will be to mine
[602]
in 6 weeks, 6 months or 6 years from now.
[605]
In fact, in all the time Bitcoin has existed
[608]
profitability has dropped only a handful of times,
[611]
even at times when the price was relatively low.
[614]
The last two factors are the reason
[616]
that no one will ever be able to give a complete answer to the question
[619]
"is Bitcoin mining profitable?"
[622]
Once you have all of these variables at hand
[624]
you can insert them into a Bitcoin mining calculator
[627]
and get an estimate of how much Bitcoin you will earn each month.
[630]
If you can’t get a positive result on the calculator
[633]
it probably means you don’t have
[635]
the right conditions for mining to be profitable.
[638]
I assume by now you pretty much know if mining is for you or not.
[642]
But you may have also heard about other types of mining
[644]
like cloud mining, mobile mining or even web mining.
[648]
Cloud mining means that you do not buy a physical mining rig
[652]
but rather rent computing power from a mining company
[654]
and get paid according to how much mining power you own.
[658]
At first this sounds like a really good idea,
[660]
since you don't have to go through all of the hassle of
[662]
buying expensive equipment, storing it, cooling it, and monitoring it.
[666]
However, when you do the math
[668]
it seems that none of these cloud mining sites are profitable.
[671]
Those that do seem profitable
[673]
are usually scams that don't even own any mining equipment,
[676]
they are just elaborate Ponzi schemes
[678]
that will end up running away with your money.
[680]
As a general rule of thumb
[682]
I would suggest to avoid cloud mining altogether.
[685]
If you still want to pursue this path
[687]
make sure to make the right calculations before handing over any funds.
[692]
Some mobile apps claim to mine Bitcoin on your phone.
[696]
While in theory this is possible,
[697]
due to the low processing power phones have compared to ASIC miners
[701]
you will probably end up draining your phone’s battery much faster
[704]
and make a very small fraction of a Bitcoin in return.
[708]
The apps that allow this, act as mining pools for mobile phones
[712]
and distribute earnings according to how much work was done by each phone.
[716]
Remember, mining is possible with any old computer,
[719]
it’s just not worth the electricity wasted on it
[722]
since the slower the computer,
[723]
the smaller the chances of actually getting some kind of reward.
[727]
Finally, somewhere around 2017 the concept of web mining came to life.
[733]
Simply put, web mining allows website owners to hijack,
[736]
so to speak, their visitors’ CPU and use them to mine Bitcoin.
[741]
This means that a website owner can make use of thousands of “innocent” CPUs
[746]
in order to gain profits.
[748]
However, since mining Bitcoins isn’t really profitable with a CPU,
[752]
most of the sites that utilize web mining mine other coins instead.
[756]
As of the release of this video
[758]
over 20 thousand sites have been known to utilize web mining.
[763]
The concept of web mining is very controversial.
[766]
From the site’s visitors’ perspective,
[768]
someone is using their computer without consent to mine Bitcoins.
[772]
In extreme cases this can also harm the CPU due to overheating.
[777]
From the site owner’s perspective,
[779]
web mining has become a new way to monetize websites
[782]
without the need for placing annoying ads.
[785]
Also, the site owner can control how much of the visitor’s CPU
[789]
he wants to control
[790]
in order to make sure he’s not abusing his hardware.
[794]
To conclude this episode of Bitcoin whiteboard Tuesday,
[797]
here are 3 Questions I get asked a lot:
[799]
The first is “Isn’t mining a waste of electricity?”
[803]
While there’s been a lot of criticism regarding the energy consumption
[806]
that Bitcoin mining employs worldwide
[809]
there are various arguments against this claim as well.
[812]
For starters, you could say that
[814]
Bitcoin mining ultimately requires less resources
[817]
than the current banking system.
[819]
If you take into account banks, servers, ATMs, credit card companies
[823]
and all other components of the current monetary system,
[826]
you’ll find out that it is much more wasteful
[828]
than Bitcoin mining.
[830]
Especially if you think about all of the paper used for printing money
[834]
and pollution caused by these institutions.
[837]
Also, you could say Bitcoin mining
[839]
is actually optimizing power consumption around the world.
[842]
Many companies are moving their mining operations
[845]
to countries that have an excess of electricity.
[848]
This means that the use of electricity worldwide
[851]
is actually becoming more efficient.
[854]
There are a lot of additional arguments in favour of mining
[857]
but I’ll leave you with these two for now.
[859]
The second question I usually get is
[862]
“Can’t Google start mining Bitcoin and blow out the competition?”
[866]
Yes it can, but it won’t do it much good.
[869]
The reason is that Google’s servers
[871]
aren’t fit for solving the Bitcoin mining problem
[874]
the same way that ASICs are.
[875]
For reference,
[876]
if Google harnesses all of its servers to the sole purpose of mining Bitcoin,
[881]
and abandons all other business operations,
[883]
it will account for around one one-thousandth of a percent
[887]
of the total mining power that the Bitcoin network currently has.
[891]
And finally, Should I mine Bitcoins?
[894]
Well now that you’ve about finished watching this video
[897]
you should be able to answer this question yourself.
[899]
Keep in mind that sometimes there might be better alternatives to Bitcoin mining
[903]
in order to produce a higher return on your investment.
[906]
For example, depending on Bitcoin’s price
[909]
it might be more profitable to just buy Bitcoins instead of mining them.
[913]
Another option would be to perhaps mine altcoins
[915]
which can still be mined with GPUs like Ethereum, Monero or Zcash.
[920]
This concludes this week’s episode of Bitcoin Whiteboard Tuesday.
[924]
Hopefully now you have a better understanding of what Bitcoin mining is -
[928]
the process of updating the ledger of Bitcoin transactions
[931]
incentivized with the rewarding of new Bitcoins
[933]
to those who participate.
[935]
You may still have some questions.
[937]
If so, just leave them in the comment section below.
[940]
And if you’re watching this video on YouTube,
[941]
and enjoy what you’ve seen,
[943]
don’t forget to hit the like button.
[944]
Then make sure to subscribe for notifications about new episodes.
[948]
Thanks for joining me here at the Whiteboard.
[950]
For 99Bitcoins.com, I’m Nate Martin,
[952]
and I’ll see you
 in a bit.