Bitcoin Blockchain: Components, Mining, Inflation and Algo Trading – Part II

QuantInsti

Contributor:
QuantInsti
Visit: QuantInsti

Learn about Blockchain with Part I in this series.

Bitcoin Mining and Proof of Work

The Proof-of-Work (PoW) algorithm is designed so that one block is mined every 10 minutes. In order to ensure this time limit, the network sets a difficulty level for the puzzle.

The difficulty level is set by setting a target for the final hash of the block. In the case of Bitcoin, it means specifying the number of leading zeroes in the final hash of the block.

Now each node has the hash of the previous block and the current block of transactions. They need to calculate the nonce (a number used only once), which generates a hash with the given number of leading zeroes when combined with the above values.

Simplified Proof-of-Work diagram

When one leading zero is added to the target hash, the work is doubled, increasing the problem’s difficulty. The Bitcoin network automatically configures the problem so that it takes approximately ten minutes to mine each block.

The first miner who finds a valid nonce (golden nonce) is rewarded, and the nonce is broadcast to the network for validation. The block is added to the Bitcoin blockchain after verification.

Mining a block is computationally-expensive work, so sometimes a group of miners come together and form a mining pool to increase their chances of mining a block.


Transaction fee

When miners mine a block, they receive a reward. They also get transaction fees which is a sum of the transaction fees for all the transactions in the block. The transaction fees incentivize the miners to continue to process the transactions by mining blocks. Else they may not continue to mine the blocks due to the high mining costs.

It is not mandatory for miners to pick up the transactions on a first-come-first-serve basis in the Bitcoin network. So the miners are free to choose the transaction they want to add to a block.

A block can hold only a finite number of transactions- each block size has a soft limit of 1MB. A higher transaction fee will make the transaction more attractive for a miner. Hence, a higher transaction fee block is more likely to get mined and added to the blockchain sooner than one with a lower transaction fee.

Note that a transaction becomes valid only once it is added to the blockchain. You can think of it as a simple money transfer transaction that remains in the processing stage unless the bank confirms it.

Bitcoin transaction fees depend on the network traffic. If more people are using the blockchain, the number of transactions to be confirmed goes up, pushing the transaction fees higher.

Bitcoin transaction fees depend on the network traffic. If there are more people using the blockchain, the number of transactions to be confirmed goes up, pushing the transaction fees higher.

Bitcoin Average Transaction Fee – Source

Bitcoin and inflation

Nakamoto designed Bitcoin as a deflationary cryptocurrency. The logic behind this was that fiat currencies are in infinite supply as more and more money keeps getting added to the system by the central banks and governments, leading to a decrease in the value of money over time. This is inflation.

To counter this, Nakamoto capped the total number of Bitcoins that will be created at 21 million. So, like gold, Bitcoins supply will decrease over time and hence become scarcer, increasing their price.

After every 210,000 blocks are mined, the block reward is halved until it becomes nearly zero in 2140. It is currently 6.25 coins per block. As the block rewards continue to reduce, the transaction fees may be the primary incentive for miners.

Bitcoin Inflation vs Time – Source

Stay tuned for the next installment in which Udisha Alok will discuss trading Bitcoin using a crossover strategy.

Visit QuantInsti for additional insight on this topic: https://blog.quantinsti.com/bitcoin-blockchain/.

Disclosure: Interactive Brokers

Information posted on IBKR Traders’ Insight that is provided by third-parties and not by Interactive Brokers does NOT constitute a recommendation by Interactive Brokers that you should contract for the services of that third party. Third-party participants who contribute to IBKR Traders’ Insight are independent of Interactive Brokers and Interactive Brokers does not make any representations or warranties concerning the services offered, their past or future performance, or the accuracy of the information provided by the third party. Past performance is no guarantee of future results.

This material is from QuantInsti and is being posted with permission from QuantInsti. The views expressed in this material are solely those of the author and/or QuantInsti and IBKR is not endorsing or recommending any investment or trading discussed in the material. This material is not and should not be construed as an offer to sell or the solicitation of an offer to buy any security. To the extent that this material discusses general market activity, industry or sector trends or other broad based economic or political conditions, it should not be construed as research or investment advice. To the extent that it includes references to specific securities, commodities, currencies, or other instruments, those references do not constitute a recommendation to buy, sell or hold such security. This material does not and is not intended to take into account the particular financial conditions, investment objectives or requirements of individual customers. Before acting on this material, you should consider whether it is suitable for your particular circumstances and, as necessary, seek professional advice.

In accordance with EU regulation: The statements in this document shall not be considered as an objective or independent explanation of the matters. Please note that this document (a) has not been prepared in accordance with legal requirements designed to promote the independence of investment research, and (b) is not subject to any prohibition on dealing ahead of the dissemination or publication of investment research.

Any trading symbols displayed are for illustrative purposes only and are not intended to portray recommendations.

Disclosure: Digital Assets

Trading in digital assets, including cryptocurrencies, is especially risky and is only for individuals with a high risk tolerance and the financial ability to sustain losses. Eligibility to trade in digital asset products may vary based on jurisdiction.