Hello friends, Hope you are doing good. Today I am going to talk about the technology that is most hyped right now and is said to bring revolution to the internet. Yes, I am talking about Blockchain technology and I am going to start explaining it from the very basics. Let’s start with a little history here without getting into too many details of it.
The concept of blockchain was introduced to the world by Satoshi Nakamoto although this concept was first described in 1991. The technology was introduced via bitcoin which is a cryptocurrency invented in 2008. You must have heard about this cryptocurrency already. Now I am going to move towards the introduction of blockchain in the next section.
What is Blockchain Technology?
- Blockchain is a distributed network that acts as a ledger and also as a system for transferring assets eliminating the need for centralized authorities.
- In simpler words, blockchain is a ledger for transactions but actually, it is more than that.
- I will explain this concept with a daily life example and then I will give you an idea about its structure.
Example Case:
In our traditional systems, all our money and assets are stored in banks. All transactions take place via banks and if I want to initiate a transaction on my own it is not possible and no money transfer can take place without involving these banks. So, in this case, the bank is the central authority. It contains a record of all our data, assets, and money transfers. Blockchain technology allows us to have control of our money without the involvement of a central party.
Structure of Blockchain
In this section, I am going to tell you about the structure of the blockchain.
- Blockchain is an ordered structure, a list of ordered blocks.
- These blocks contain transactions and records.
- The blockchain is stored in the form of a database or a flat-file.
- Each block is linked to the previous block of the list, in such a way that all blocks are layered on top of each other.
- The first block of this list is the foundation and is termed as Genesis block.
- Each block in the list is called the parent block of the upcoming block.
Block Identification
As I already explained how blockchain contains a list of blocks in the previous section. This list keeps on increasing day by day and in order to identify a particular block in the list, some identification parameter is needed. Blockchain technology uses cryptography for the security of data and therefore all data in a block is converted to a hash value. SHA256 algorithm is used for generating this hash value. I will explain cryptography and hashing in the following tutorials. For now, it is enough to understand that by using cryptographic techniques, block data is converted to a hash value. A hash value is a fixed-sized numeric value and this value is used for identifying a block from other blocks of the chain. Each block pints to the previous block that is the parent block by having its hash value.
Another parameter used for block identification is block height. This parameter shows the position of the block in reference to the first block that is the genesis block. Thus, we can say that there are two parameters that help in identifying a block, the hash value, and the block height. Now let’s move towards the next section of this tutorial which will help you in understanding the architecture of a blockchain.
Architecture of Blockchain
In this part, we will learn the basic architecture of this technology which in turn helps in understanding its working.
- The main feature of blockchain is decentralization.
- Decentralization means that there is no central server or authority.
- All computers are linked to each other instead of being connected to one server.
- These systems are called nodes and they are connected in a peer-to-peer network.
- The database and all information are available and stored on each node. In other words, the information is distributed throughout the network instead of being copied.
- The peer-to-peer network and decentralization are the powerful features of blockchain and provide security and trust in this system.
I am going to explain decentralization through a simple example given below.
Example:
The concept of decentralization can be grasped by looking at the example of google drive. The shared content on Google Drive such as a document or a spreadsheet is accessible to a group of people. Some of them also have the right to edit those files. Let’s talk about that group. Each person in the group has the right to edit and change the document and each person has access to the updated file. Everyone can work simultaneously on the document. The same happens in the blockchain. Anyone has access to the data and anyone can add new data. The difference is that each change is recorded in the blockchain and cannot be deleted from blockchain history. This feature comes from the immutability of blockchain which I will explain in subsequent tutorials.
Components of Blockchain
In this part of the tutorial, Let’s talk about some basic components and key ideas of blockchain technology.
Peer–Peer Network:
- Blockchain is a peer-to-peer network as I mentioned earlier in the previous section. The nodes or participants of the network are connected.
Transactions:
- Transactions that are contained in the blocks. These transactions represent the changes in state.
List of Blocks:
- A chain of blocks that contains all transactional data.
Consensus Rules:
- Another important component is a set of rules called consensus rules that are defined for confirming transactions ad agreeing on state changes.
State Machine:
- A state machine whose function is to process transactions.
Incentive Scheme:
- A process of giving incentives to nodes that participate in confirming and verifying the transactions.
There are different types of blockchain today. Each of them has a few different properties and different qualifiers have been assigned to recognize them. A blockchain can be a public, private, open, consortium, etc.
These were some basics of blockchain technology. I am hoping that you have learned something from this tutorial. I will explain further about these concepts in upcoming articles. So stay tuned. Take Care.
JLCPCB – Prototype 10 PCBs for $2 (For Any Color)
China’s Largest PCB Prototype Enterprise, 600,000+ Customers & 10,000+ Online Orders Daily
How to Get PCB Cash Coupon from JLCPCB: https://bit.ly/2GMCH9w
The post What is Blockchain Technology? appeared first on The Engineering Projects.
No comments:
Post a Comment