What is blockchain? Blockchain handbook for newbies (2019)

By F | Invest

What is blockchain

For those of you who are in the Crypto market, you must be familiar with the term Blockchain. But do you really understand Blockchain and how does it work?

Blockchain is the technology revolving around the Crypto market that we are participating in. Understanding it will help you understand & grasp the nature of Cryptocurrency this.

In this article, let us learn about what Blockchain technology is and how it works. I will try to present it in the most understandable way for you to easily visualize.

Start writing yourselves!

Before analyzing the concept clearly, what is the definition of Blockchain? Let's find out about the needs and ideas that made Blockchain come into being. Besides, everything comes from banking and finance.

Idea was born

Here, I take the example of monetary transactions between two A & B people together.

Ancient transaction

In the old days, when dealing with currencies, borrowing money, repaying debts, people agreed upon each other (between A and B) and recorded that transaction information in a book to store it - called the ledger. And give this book to a reputable intermediary, C. Of course, this C must be both trusted by A and B.

Here, we will see the following participants:

  • A & B are 2 people involved in transactions.
  • C is a reputable person standing as an intermediary.
  • Ledger (in paper).

However, this transaction encountered some problems as follows:

Long-term storage issues:

The notebook is usually made of paper and it is prone to termites, which break down over time. That is, information stored on it does not exist forever.

Example: A borrows money from B for 12 years. But 10 years later the book was rotting and could no longer see the information on it. At that time, A denied that he had not borrowed money from B, and that B no longer had a notebook to bring as evidence that A had borrowed his money.

Information may be changed or destroyed:

Someone stole the notebook and they could erase some information, or tear off a page. At that time, the information was no longer as original as it was. That means information may be changed.

There is a third intermediary:

It was again held by a reputable third party. And not everyone can easily find a 3rd person to stand for confirmation.

At the same time, the other two traders must have full trust in this intermediary.

Transact via the current banking system

Until the society develops, we have a replacement banking system for the third intermediary person C mentioned above. The paper ledger is replaced by the bank's computer system.

Advantages of the banking system:

  • Often the government, the state stands out to ensure the rights of traders.
  • Information stored in a computer system is stable over time, not afraid of being "rotted" over time.

However, the transaction via the banking system still has some problems such as:

The risk of data being threatened: Because the bank server contains a lot of important information, it is always the target of attack by many bad guys. Data may still be stolen or altered.

Transaction fee: The charges when users make transfers to each other are also a problem for transactions.

The picture below shows the transfer fee of Vietcombank, updated on 10/10/2019.

Persist third party persist: That is the bank. The user transaction information is held by the bank. In addition, they may exploit, or sell this information to, third parties.

In addition, centralized management systems, banks or the state may require freezing of a user's account. And this is the case that no user wants.

Therefore, Blockchain was born to solve the above problems.

So what is blockchain?

What is blockchain concept?

Blockchain is a ledger scatter Decentralized (Distributed Ledger), it records transaction data.

This information before being entered in the "ledger" will be verified by many people in different places through consensus mechanism.

You can imagine Blockchain as a ledger but an electronic version of it.

The two most important characteristics of Blockchain are Distributed and Decentralized.

Distributed properties (Distributed):

That is, those books contain the same data but are scattered in many different places. So, unfortunately, a place is lost or damaged, the data is still on the Blockchain.

Decentralized:

Here, it means that it is not controlled by any organization. Once the information is verified and recorded in the Blockchain, no one can change it. Only the owner of the private key can access it.

These are the two characteristics of Blockchain that make the difference and advantages compared to the current transaction banking system.

So, you have to wonder what the structure of Blockchain is and how it works. Let's Coin98 Find out more!

Activities of Blockchain network

Before going into operation of Blockchain, let's learn about its structure.

The structure of Blockchain

Blockchain, as its name implies, is Block and Chain.

Specifically in its structure, consisting of many blocks. These blocks are linked together to form a chain, we have a block chain or Blockchain.

You might wonder what each of these blocks is and how are these blocks connected.

I will explain below.

Structure of each Block

Each Block consists of at least the following components: Data, Hash and Previous Hash.

Date:

These are the data recorded inside the Blockchain, which is the component we want to store and secure on the Blockchain.

Data or data will be protected by encryption algorithms. Each blockchain has its own encryption algorithm.

For example, the data inside Bitcoin's blockchain includes the following information:

  • Number of BTC inside the transaction & time of the transaction.
  • Sender address.
  • Receiver's address.

Hash:

The hash code of the block. This is a sequence of randomly generated and unlike characters and numbers.

It represents the block separately and is encrypted using an encryption algorithm. The hash code is used to detect changes in blocks.

Previous Hash:

Hash code of the previous block. It is used for adjacent blocks to recognize which blocks first, which blocks later and connect to each other.

You see the illustration below to understand the structure of Blockchain.

The first block [1] because there is no block before it, its Hash code is sequence number 0. And it is called the original block or Genesis Block.

Blockchain operation

Whenever new data is created, it is checked and verified by multiple nodes in different places, through a consensus mechanism.

The case if there is a change on 1 block. Here I assume the hacker attacked and changed the information on block A. At that time:

  • The hash of block A has been changed.
  • The system will compare that hash with previous block hash & detect the deviation.
  • Thus the hacker must change the hash of the block before A. The system again detects the error in A-1 blocks. The hacker must continue to change the hash of the A-2 block.
  • Thus, to change the transaction, hackers must change all the blocks.

To make it difficult for hackers to attack the system, we have a consensus mechanism.

Blockchain consensus mechanism

The consensus mechanism in blockchain is the mechanism through which the blockchain obtains consensus to record transaction information into the blockchain.

As I mentioned above, the consensus mechanism is used to confirm and let nodes in the network and homosexuals record new data into the Blockchain system.

If there is a change of a block in the network, it is similar to the newly created data. This data is compared with the data of other blocks. If there is a difference, it will not allow that data to be written inside the Blockchain.

That's how Blockchain is designed to resist data change.

In short, you can understand Blockchain as follows:

  • Blockchain is a type of storage and data transmission technology.
  • The data written to the Blockchain is stored in the same scattered blocks.
  • In order for data to be written into the block, it is required to be agreed and authenticated by the network nodes, not subject to the management of a specific individual agency.
  • No one can change this information.

There are 2 common consensus mechanisms: PoW and PoS.

PoW (Proof of Work): Also known as proof of work.

This is the first consensus mechanism and attached Bitcoin (BTC), Ethereum (ETH), BEAM, Grin.

In this consensus mechanism, there are miners using miner power to solve difficult problems. Once solved, they will gain the right to authenticate transactions and create new blocks in the Blockchain.

PoS (Proof of Stake) or proof of stake.

Typically, there are some projects such as: IOST, Binance Coin (BNB), Cosmos (ATOM), Ontology (ONT)... using this mechanism.

Consensus mechanism PoS there will be no miner miners but instead those involved in transaction validation will have to stake or bet large amounts of coins to gain the right to authenticate the transaction and create blocks.

This mechanism will not require a lot of expensive excavators.

There are two more terms I would like to introduce to you are Private Keys and Public Keys.

Private Key

Also known as private / private keys. A sequence of numbers and letters.

It is used to access Crypto wallets & allows transactions. Therefore, users must protect and not disclose the Private Key code to anyone.

public Key

Also called the public key, is also a sequence of letters and numbers.

It is considered as the user address on the Blockchain network. Public Key corresponds to the wallet address address.

When creating wallet address on Blockchain, you will receive two keys: public key (address) and private key (private key). Private and public keys are always included.

Brothers and sisters use Public key as email address, and private key as the password of the email so. And the email corresponds to the money or the data inside it.

If you receive mail from other people, you can notify them of your email address. Anyone who has this email address can send mail to you.

The password (private key) is held by you. If this password is revealed to someone, that person can access your email and send mail (transfer money out).

Anyone who has the password (private key) can access that email account and send mail (withdraw money). Therefore, you must always protect this chain of private keys.

So, what are the advantages of Blockchain?

Characteristics of Blockchain

  • Cannot be fake, cannot be destroyed: Typically, Bitcoin has not been born and stored in Bitcoin's blockchain since its birth.
  • Cannot be changed (or immutable): Once data has been written to the block of the Blockchain, it cannot be changed, modified or added.
  • Security: Only private key holders can access data inside Blockchain.
  • Transparency: Transactions in Blockchain are saved and people can check them. Based on that we can check and retrieve transaction history. One can even decentralize to allow others to access a piece of information on the Blockchain.
  • Integrated Smart Contract (smart contract): Based on that, the terms written in the smart contract will be executed when the previous conditions are satisfied, no one can prevent or cancel it.

The first blockchain platform integrated Smart Contract is Ethereum.

Based on these characteristics, we can apply Blockchain technology in many industries from finance and banking, supply chain, data storage, IoT, voting elections, health services ...

summary

The above is the first in a series of articles about Blockchain technology.

Through this article, you have an overview of this technology, as well as how it works and its characteristics.

So which industries and fields are this technology applied? Invite you to read the following article in the series.

And now..

Hello and see you again in the next article!

Leave a Reply

avatar
Subscribe
Notify of