The
life of a Bitcoin Miner
1. Sender creates a transaction.
2. Sender's bitcoin
wallet validates the transaction.
3. The transaction is sent to Mempool.
4. Miners get the
transaction from Mempool and start mining the block
using a consensus algorithm.
5. After the block is fully mined, it is added to the
network.
6. The chain validates
the new block and every peer in the network will get the blockchain with the
new block added.
7. Finally, the Receiver get your BTCs
A
mining pool is a joint
group of cryptocurrency miners who combine their computational resources over
a network to strengthen the probability of finding a block or otherwise successfully mining for cryptocurrency.
·
Individually, participants
in a mining pool contribute their processing power toward the effort
of finding a block.
·
If the pool is successful in
these efforts, they receive a
reward, typically in the form of the associated cryptocurrency.
· Rewards are usually divided between the individuals who contributed, according to the
proportion of everyone’s processing power or work relative to the whole group.
· In some cases, individual miners must show proof of work in order to receive their rewards.
·
Anyone who wants to make a profit through cryptocurrency mining has the choice to either go solo with their own dedicated
devices or to join a mining pool where multiple miners and their devices
combine to enhance their hashing output.
·
For example, attaching six
mining devices that each offers 335 megahashes per
second (MH/s) can generate a cumulative 2 gigahashes
of mining power, thereby leading to faster processing of the hash function.
·
Not all cryptocurrency
mining pools function in the same way. There are, however, several
common protocols that
govern many of the most popular mining pools.
·
Proportional mining pools
are among the most common. In this type of pool, miners contributing to the pool's processing power
receive shares up until the point at which the pool succeeds in finding a
block. After that, miners receive rewards proportional to the number of
shares they hold.
·
Pay-per-share pools
operate somewhat similarly in that each miner receives shares for
their contribution. However, these pools provide instant payouts regardless of when the block is found. A miner
contributing to this type of pool can exchange shares for a proportional payout at any time.
·
Peer-to-peer mining pools,
meanwhile, aim to prevent the
pool structure from becoming centralized. As such, they integrate a
separate blockchain related to the pool itself and designed to
prevent the operators of the pool from cheating as well as the pool itself from
failing due to a single central issue.
·
While success in individual
mining
o grants
complete ownership of the reward, the odds
of achieving success is very low because of high power and resource
requirements.
·
Mining is often not a
profitable venture for individuals.
o Many
cryptocurrencies have become increasingly difficult to mine in recent years as
the popularity of these digital currencies has grown and the costs associated
with expensive hardware necessary to be a competitive miner as well as
electricity oftentimes outweigh the potential rewards.
·
Mining pools require less of
each individual participant
o
in terms of hardware and electricity costs and increase the
chances of profitability. Whereas an individual miner might stand little chance
of successfully finding a block and receiving a mining reward, teaming up with
others dramatically improves the success rate.
·
By taking part in a mining
pool, individuals give up some of their autonomy in the mining process.
o They are
typically bound by terms set by the pool itself, which may dictate how the
mining process is approached. They are also required to divide up any potential
rewards, meaning that the share of profit is lower for an individual
participating in a pool.
·
A small number of mining
pools, such as AntPool, Poolin,
and F2Pool, dominate the bitcoin mining process.
·
Although many
pools do make an effort to be decentralized,
these groups consolidate much of the authority to govern
the bitcoin protocol.
·
For some cryptocurrency supporters, the
presence of a small number of powerful mining pools goes against the
decentralized structure inherent in bitcoin and other cryptocurrencies.
Did you know that,
A mobile phone (one of the cheapest) could mine bitcoins quickly in 2009, but
today it requires huge industrial warehouses full of thousands of specialized
devices in this task, generating millions of millions of operations per second
to mine the same amount of bitcoins. Find out why this is due to knowing one of
the most important aspects of mining, the “difficulty”.
·
Mining difficulty is a measurement
unit used in the process of Bitcoin mining.
·
Difficulty indicates how difficult it
is to solve a complex
cryptographic puzzle.
·
The difficulty of mining new units
increases or decreases over time, depending on the number of miners in the
network.
·
Increases in difficulty are necessary
in order to keep the target block time.
·
As
a cryptocurrency like Bitcoin becomes more popular, the
number of computers participating in its peer-to-peer network increases. Miners
compete against each other for limited block rewards. With more participants
and more computing power, the so-called “hashpower”
of the entire network increases accordingly.
·
This
is also referred to as the mining difficulty or difficulty. Bitcoin
transactions are stored in blocks, which are added to the blockchain every 10
minutes (= 600 seconds).
· To maintain the time it takes to process one block at around 10 minutes,
difficulty has to be adjusted periodically.
·
Mining
difficulty in the Bitcoin network is adjusted automatically after 2,016 blocks
have been mined in the network. An adjustment of difficulty upwards or downwards
depends on the number of participants in the mining network and their combined hashpower.
·
In
the early days, the first miners used the CPUs of their PCs to mine Bitcoin.
·
Miners
eventually realised that graphics
cards are better suited for mining Bitcoin. However, graphics cards also
need more energy.
·
In
recent years, special
“ASICs” (application-specific integrated circuit chips) have been
developed specifically for Bitcoin mining.
·
Presently,
Bitcoin and other digital currencies are mined via mining pools, where lots of miners join
forces and combine their hash rates in the quest for block rewards.
Solving the mathematical puzzles for valid block
creation requires huge
amounts of computational power. Because the difficulty is rising
continually, miners join forces in Bitcoin mining pools and solve the
mathematical puzzles together.
· The first individual miner or the
mining pool that finds the right
hash gets the block reward.
· Usually, block rewards consist of new
coins or tokens native to a blockchain network such as Bitcoin.
· In a mining pool, block rewards are
split among participants in proportion to their share of computing power in the
mining pool.
· This way each participant is
adequately invested in the process.
Bitcoin
mining is like searching for a needle in a haystack. Many hashes are created by
Bitcoin code, but only one of them is the right one.
·
We already know that
“mining” for digital currencies is like searching for a needle in a haystack
rather than actually digging for gold. There are other
differences, too.
·
Unlike gold, of which
there are still undiscovered deposits all over the planet (and in space),
Bitcoin has a limited and finite number of 21 million units. As of now, more
than 85% of all bitcoins have already been mined, and it is estimated that the
last bitcoin will be mined by 2140.
· After all 21 million bitcoins have been mined, miners will still need to contribute to
the Bitcoin network in order to keep it running.
·
New blocks will still be generated, but the rewards will
change. Instead of getting new coins as a block reward, miners
will receive a share of the transaction
fees spent by people who send transactions within the
network.