The Essential Role of Mining
Although this article will explains what
mining really is about in a technical way, so you have a better understanding
of a vital part of the Bitcoin system; it’s important to notice that in a much
broader way, mining is the foundation of Bitcoin’s computing power.
Since Bitcoin is a decentralized currency that
doesn’t rely on a specific single system or person, it needs a network of nodes
of computing power to serve it to complete all the millions of heavily
encrypted and complex transaction calculations that happen every day at every
second in order to keep the transaction system working.
MINERS provide this massive amount of
computational power and they are simply other users, like you and me. That’s
why you, or anyone, can’t access a centralized Bitcoin mainframe and shut it
down. It’s the same concept of the WWW, there are thousands of servers
connected one to the other, so everyone provides a node to the network and the
network is not dependant on any one single computer.
To become a miner you just need to download a
piece of free software, connect to the Internet and run this software on your
computer. Your computer then will become another node of Bitcoin’s
computational power, and will start to solve the mathematical problems needed
to keep the Bitcoin’s network running.
![]() |
| shutterstock |
Every time your computer resolves one of these
problems the system will give you a 25 Bitcoin reward. Of course this is easier
said than done. Because a reward of 25 bitcoins has become so desirable a lot
of people has specialized on running mining endeavours and building specific
hardware to make mining profitable. So nowadays your home computer will not
have the hardware requirements to make it a viable economical option.
It’s important to say that mining is the only
way new Bitcoins can be created.
However there are other roads you can take if
you want to enter the mining world, and we will speak about them bellow.
There are basically two main kinds of mining:
solo and pool. Solo mining refers to practicing mining on your own. You don’t
have help or assistance offered by anyone in this mining category. Though, it
is a private and peaceful method and can help you earn a reward of a whopping
25 Bitcoins, it is indeed the harder of the two methods. It could take a solo
miner numerous weeks, months or even years in earning actual Bitcoins as they
are relying on their own hardware to accomplish the goal.
On the other hand, pool mining is a better and
more convenient method of practicing mining. Using this method, you sign up with
an account offered by any company that carries out groups of miners working
together, and adding all their computational power to solve blocks. Such
companies have their own hardware and software and group together mining
efforts and skills of several miners’ computers. Every miner gets a
proportional amount of Bitcoins depending on how much computational power they
provided to the pool. However, this is a better option for you as it increases
your likelihood of earning more Bitcoins.
If you are interested in knowing more about
mining pools a simple Google search will put you in the right direction.
However, as with everything that has to do with money, I’d encourage you to
investigate your mining pool before committing to them your expensive hardware
power, so you are certain that they are honest pooling people.
If you want to invest in mining you can
acquire your specific mining hardware and place it at your home or office and
start your mining business. You can use hardware in pool or solo, depending on
your hash power.
It’s important to notice, if you want to enter
the world of hardware mining, that due to the specifics of the Bitcoin market
and the constant increase of difficulty on mining, the hardware that was seen
as top of the line a year ago today is just a toy today that will eat
electricity and produce little to no profit.
To make a profitable mining business you will
need to calculate:
-
The actual cost of the mining rig
-
The Hash rate at which it will mine
-
The cost of electricity
-
Bitcoin difficulty
-
Pool fees
Doing a simple Google search on “bitcoin
mining calculator” will point you to many calculators that can help you
determine how long you will take to recoup your investment, if you decided to
invest in hardware.
Also take into consideration that the hardware
is not available for buying immediately and should be ordered months in
advance. This happens because at the moment the hardware is available should be
immediately put to work since it will have the best chance of making it’s cost
back; hence it’s put to work immediately. The developers and engineers then
will go back to work to produce even better and more powerful hardware, which
will take some time to accomplish.
I have done an effort to keep this list
current, however this companies are constantly changing and closing. Again a
simple Google search might do the trick. Some hardware brands you might find
are:
-
Alpha Technology
-
Hash Fast
- Bitmain
-
Buterfly Labs
You should do your own due diligence before
committing on buying hardware, since it can be very expensive and companies
that produce them are not always very reliable.
There are mainly three categories of hardware
for miners: FPGAs, ASICs and GPUs.
FPGA refers to Field Programmable Gate Array,
which is an incorporated circuit that needs to undergo configuration after it
is built. It allows a hardware manufacturer in getting a large volume of chips
that can be customized for mining before they are placed in the equipment. Due
to their customizable features, they help you mine better than GPUs and CPUs.
ASIC refers to Application Specific Integrated
Circuits. They are specifically created for one purpose: mining Bitcoins at an
escalating speed without consuming a lot of power. Due to their excellent speed
and low consumption of power, these chips are quite costly. Their speed ranges
from 5 to 500 Gigahashes per second, which is a huge amount.
GPU and CPU mining refers to mining using your
own computer. This is an extremely slow type of mining since your computer does
not have enough power and speed to practice mining at an increasingly fast
pace. Adding in graphic hardware in your computer can increase the hash rate
using your CPU. This card consists of graphical processing units (GPUs) that
are created for enormous mathematical lifting that helps them calculate complex
polygons. The two major vendors of GPUs are NVidia and ATI. These high ends are
pricey but help you practice CPU mining expediently and at a good pace too.
This hardware is normally used to mine other types of currencies, like Litecoin
since use a system that benefits from GPU mining.
If you are beginning and want to try your hand
at mining, instead of buying hardware I’d much recommend to “rent” hash powers.
There are companies that have huge facilities with top of the line hardware
that is already set up for mining; that can be a much easier solution since you
will rent the computational power and configure it to deposit your bitcoins
directly into your wallets. This practice is known as “cloud mining”. As stated
before if you want to rent hash power please be advised to take a good look at
who you are sending your money too.
How mining exactly works (only if you want to
get a deeper understanding on this subject)
People send Bitcoins to one another using the
Bitcoin network 24/7. Nobody can keep note of what they paid to whom unless
somebody actually maintains records of all those transactions. Bitcoin’s
network comes to your rescue at this point and helps you keep proper track of
all the transaction by collecting and arranging them in a list that is known as
a block. Mining is basically the activity that is executed for confirming those
transactions as well as writing them in a ledger.
Mining is an activity carried out to ascertain
the network’s security. The main concept is that miners of Bitcoin group a
number of the Bitcoin transactions that took place in a certain time in a block
and then execute cryptographic operations, known as hashing, numerous times
till someone discovers a rare and unique hash value. Hashing does not achieve
anything productive itself, but it ascertains that nobody can take over
Bitcoin’s system, as identifying successful blocks is an extremely difficult
task.
The ledger, also known as ‘general ledger’
basically contains a list of different blocks that is known as ‘Block-chain.’
It is employed to discover any transaction that has been carried out between
any of the addresses on Bitcoin at any time on Bitcoin’s network. When a fresh
block containing transactions gets generated, it is appended to a block-chain
and creates an extensive and long list of every transaction that has ever taken
place on Bitcoin’s network. An updated and efficient copy of that block is
provided to all those who are participating to keep them up-to-date with the
happenings. It is imperative that a certain block chain is not interfered with
and stays intact. This is the point where the hardworking miners come in
helpful.
Whenever a block containing transactions gets
generated, the miners make it go through a certain process. They extract the
information contained in that block, apply a complex mathematically formula on
it and encrypt it. The result is a random and shorter string comprising of
numerous numbers and letters and is referred to as ‘hash.’ The hash is then
stored in the block and lies at the block-chain’s end.
Hashes contain interesting properties. A hash
can be easily produced using a compilation of data such as Bitcoin block.
However, it is actually impossible to tell what that data really was by staring
at that hash. It is convenient to generate hash using a colossal data quantity,
but every hash is completely unique. By changing a single character stored in
one Bitcoin block, you alter the entire hash completely.
Miners use transactions contained in a
particular block along with other data for creating a hash. For instance, hash
of that last block that has been saved in a block-chain is needed for
generating a new hash. As every block requires the previous block’s hash, a
digital form of wax seal is created. This confirms that, that particular block
and each block created after that one is legitimate and if you tamper it,
everyone will find it out.
If someone tries making a counterfeit
transaction by altering any block that has been saved in a block-chain already,
the hash of that block would change. If anyone examined that block’s
genuineness by running hashing function, they would find out that, that hash
was dissimilar to the hash that had originally been stored in that block-chain.
Instantly, a fake block would be spotted.
As every block’s hash is used for producing
the next block’s hash, when someone tampers with a block, they infect the hash
of the subsequent block as well. This continues down the entire chain and
disrupts everything. However, courtesy of the miners, blocks gets properly
sealed and the system does not become corrupted or infected.
All the miners are competing with one another
for sealing blocks. They do this by making use of software that has been
specifically created for mining blocks. Each time a miner created a successful
hash, they are given 25 Bitcoins as reward. The block-chain gets updated and
all those using the network find out about it as well. The reward is basically
an incentive to motivate the miners to work harder so they can continue
securing the network and enable the transactions to work properly.
An encrypted hash function utilizes one block
consisting of the input data for creating unpredictable and smaller strings of
output. The creation of hash function ensures that there is not any short cut
for getting the preferred and desired output. You need to continue hashing
blocks until you get one that actually works. Bitcoin makes use of the SHA-256
hash function. For increasing the network’s security, Bitcoin uses this
function twice and this process is referred to as ‘double SHA-256.’
A strong and successful hash in Bitcoin is one
starting with sufficient zeros. Just the way it is rare and hard to locate a
license plate number or telephone number ending in several zeros, it is quite
rare to come across and discover a hash that starts with numerous zeros.
Currently, a good hash needs to begin with at least 17 zeros. That means that
one of 1.4 x 1020 hashes has a chance of being successful. Therefore, discovering one
successful hash is tougher than identifying one certain sand grain from all the
sand grains in the world.
Another problem is that the moment a certain
data piece is added, the hash comes out to be entirely different so the miners’
job is an extremely tough one. Miners must not meddle with any part of the
transaction information in a certain block. However, they need to alter that
data which they are using so they can generate a dissimilar hash. This is then
amalgamated with the data of the transaction for creating a hash.
In case the hash fails to fit the desired
format, the miners change the nonce and the entire thing needs to be hashed
once more. It can take myriads of attempts in finding a workable nonce. Plus,
every miner on the network is working towards achieving this goal
simultaneously. This is a demanding job indeed, but it is what enables the
miners in earning their Bitcoins.
