Let them call it Blockchain
Tags: blockchain, bitcoin, cryptocurrency
Published: 2021-03-23 10:21:55

With the recent rise of Bitcoin and other cryptocurrency values, there are more and more people interested in buying them. Unfortunately, not many of them are interested in educating themselves before investing. In the media, we can often hear that blockchain is the technology behind bitcoin, and the conferences once called "Bitcoin conference" are now called "Blockchain/crypto conference". In this blog post, I will explain how blockchain works and why it doesn’t actually matter that much.

#What is a hash function?
Before explaining how blockchain works, it's necessary to know what a hash function is. Hash function gets a string of any length as an input and reproduces output that has the exact length (e.g. 256 bits). The most used algorithm for hashing is called SHA256 (Secure hashing algorithm) which reproduces 256bits (32 bytes) output. Each time we hash the same data, we will get the same result. This function is very useful because it's not possible to decrypt the result.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hitoceqnjmet2hz2ilfs.png)

#What is blockchain?
The shortest explanation - blockchain is a database. This database is made of so-called "blocks". Blocks contain the actual data of transactions. At the end of each block is its hash. We get the block hash when we pull all transactions inside a block through the hash function. The next block adds to the previous by using the previous block hash at the beginning. With this way of storing data, if any data (transaction) changes, the whole chain breaks. Because of this, cryptocurrencies get the characteristic of immutability.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/prmbqup355yeej3poa6t.png)
######Source: [Bitcoin Whitepaper](https://bitcoin.org/bitcoin.pdf)


#Is every cryptocurrency immutable?
The answer is no. Even though they use blockchain, 99% of them are not immutable. What matters is how new blocks are created. Cryptocurrencies that use proof of work (POW) for creating new blocks are far more secure/immutable. For attacking such a network, you need a lot of electricity, which is expensive. Or in other words, to attack such a network you need to have 51% of the network’s power. On the other hand, many cryptocurrencies use proof of stake and similar technology for validating new transactions. This means the more coins you have stacked, the more likely your block will be included next.

#Are all proof of work blockchains equally secured?
The answer is, again, no. This depends on how many people currently mine on that network. Their power is measured in the number of hashes per second. The next graph shows the Bitcoin hash rate compared to some other popular cryptocurrencies such as Ethereum or Litecoin.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xl5x700a083118l15ndu.png)
######Source: [Bitinfocharts](https://bitinfocharts.com/)

#Blockchain is slow
Blockchain is a very slow database. A new block (on the bitcoin network) that contains around 3000 transactions is created every 10 minutes. Some people argue that’s the reason behind the unscalability of Bitcoin. 

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gnyzblgu3svcj82fvcvg.png)
######Source : [Analysis of the Possibilities for Improvement of BlockChain Technology](https://www.researchgate.net/publication/330585021_Analysis_of_the_Possibilities_for_Improvement_of_BlockChain_Technology)

#Why Blockchain then?
Because it's distributed, that's its greatest strength. However, to be distributed, it has to be open, public, and accessible to anyone at any moment. The key is to understand there is no single blockchain, but many copies of the same blockchain on thousands of different nodes.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/300t2cgj63z6d0mf1rhb.png)

#Open vs Closed blockchains
Bitcoin uses a public and open blockchain and doesn’t ask for permission to use it. On the other hand, we have closed blockchains controlled by corporations (e.g. Ripple). In such blockchains, you have to ask for permission and they are able to change data as they will. It still blows my mind that people call them cryptocurrencies.

#Blockchains only use case
Blockchain on its own is a useless, slow database. This has been proven a thousand times. Only blockchain used together with proof of work, P2P (peer-to-peer), and cryptography is useful and it's called Bitcoin, not blockchain. This still hasn’t stopped people from selling things by promoting them as something new by using words such as blockchain.

#Final words
Since the rise of bitcoin popularity and its value, we have seen a lot of people and companies trying to make profit by selling their products and calling them innovative and new just because they use blockchain. My opinion is they are not innovative and that blockchain's only use case is bitcoin as the hardest money ever created.

I highly encourage you to educate yourself more on bitcoin as I think it's **the technology that will change the world**. I recommend reading [Bitcoin Standard](https://www.amazon.com/Bitcoin-Standard-Decentralized-Alternative-Central/dp/1119473861) by Saifedean Ammous as well as [Internet of money](https://www.amazon.com/Internet-Money-Andreas-M-Antonopoulos-ebook/dp/B01L9WM0H8/ref=sr_1_1?crid=755IUSZ9BC2M&dchild=1&keywords=internet+of+money&qid=1616163067&s=books&sprefix=internet+of+mon%2Cstripbooks-intl-ship%2C438&sr=1-1) and [Mastering Bitcoin](https://www.amazon.com/Mastering-Bitcoin-Programming-Open-Blockchain/dp/1491954388/ref=pd_sim_2?pd_rd_w=sI9cz&pf_rd_p=dc435707-6f1f-492e-b80d-8408db56abc9&pf_rd_r=N04PPYXPQ393AMDH1CMN&pd_rd_r=26a4d193-0fd9-4f4a-8fdf-f5da0e4d97cb&pd_rd_wg=xFGEm&pd_rd_i=1491954388&psc=1) by Andreas Antonopoulos.

Thank you for reading this! 

Lloyds is available for partnerships and open for new projects. If you want to know more about us, check out our company profile [here](https://lloyds.design/weare/Company_Profile_2021_final.pdf).


Also, don’t forget to follow us on [LinkedIn](https://www.linkedin.com/company/lloyds-design-studio) and [Facebook](https://facebook.com/lloydsgn)!