Know something more about the blockchain system: |
Know about a block: Bits of data are stored in a file, which is called a block. A block in a blockchain has 04 main header, as given below: |
1. Previous hash It contains metadata (it is data that tells us about other data) such as the timestamp of the mining process and a hash of the previous block. This hash address locates and verifies the previous block. |
2. Data Section: It is the main parthatch that contains the actual record of transactions or smart contracts. |
3. Nonce: It is a cryptographic arbitrary number to differentiate the hash address of a block. The explanation about the Nonce is given in another section of this blog. |
4. Hash address of its own block: All information from the above three sections (Previous Hash, Data section, and Nonce) is transmitted with a hashing algorithm and it gives a 256-bit unique output containing 64 characters, which is a unique hash value and called the hash or hash address of its own block. It is a cryptographic value that will represent the entire block and be used for verification. |
|
Block time: It is the time taken to generate a new block in a blockchain. It varies from one blockchain to another. Block time may be a few seconds or even more than an hour. If the block time is short, confirmation of transactions will be faster, but the chances of conflicts are higher. If the block time is longer, confirmation of transactions will take more time but at the same time, chances of conflicts will be lesser. |
|
What are hashing and encryption in blockchain technology? When a document containing some information is sent through a program on a computer, it is converted into a string of letters and numbers. This process is called hashing and such a string with numbers and letters is called hash. This hash or hash value is added at the beginning of the second document, and new information is entered into the second document,t and a new hash value is created through the same process as in the first document and this second hash value will be added at the beginning of the third document and so on. This creates a chain of encoded documents and it is immutable, meaning cannot be altered. So we can say that Hash may be treated like a digital fingerprint or digital signature. SHA256 algorithm is used for hashing and encryption to secure all the information as given below:
|
Address (Public key) of sending party | Address (Public key) of the receiving party |
Digital details of transactions | Private key of the receiving party |
The above-mentioned information encrypted by using the SHA256 algorithm is called hash encryption. This encrypted information is transmitted across all nodes in the blockchain network. After verification, it is added to the blockchain in the form of a new block. Immutable information simplifies the authentication of the sender and receiver. |
|
What is mining? Mining is a process to generate a new coin for the verification of new transactions. It is a complicated mathematical puzzle that is attempted to solve by millions of computers across the blockchain network. It consumed a huge computational power. It verifies and secures the blockchain. As compensation, computers in the network are rewarded with new coins. Miners maintain and secure the blockchain, and the blockchain awards the coin. In turn, coins give an incentive for the miner to secure the blockchain. Therefore, it is called a virtuous (beneficial for all) circle. In other words, we can say that the process of adding transaction details to the public ledger of a blockchain network is called the mining process. Though the word mining is initially linked with Bitcoin, it is used by all blockchain technologies. |
|
What is Proof of Work (PoW)? With the help of a Computational algorithm, miners try to solve the complex mathematical puzzle. It is called Proof of Work (PoW). Miners try to find out the right value of hash to meet the predetermined conditions. The transaction is completed when the predetermined conditions are met. The miner who solves it first gets a reward. |
What is Proof of Stake (PoS)? It is an alternative algorithm to secure the blockchain. PoS does not require mining, instead, some coins are locked up by users for some time, and it will entitle them to get the reward. |
|
What is a hard fork? If a fundamental change in the protocol of the blockchain occurs, and all nodes do not agree with the change, a permanent divergence in the blockchain history is found which creates two separate chains, and it is called a hard fork. Due to a hard fork, a new cryptocurrency can emerge or an existing one may be split into two, and consensus among all users is needed to resolve the issue. |
|
What is finality? The irreversible confirmation of a transaction in a blockchain is called finality. When the addition of a block is confirmed by the blockchain network. It becomes immutable and irreversible. This ensures the integrity of the data.
|
What is openness in a blockchain? A blockchain network is open to all; anyone can join the network, validate the transaction, and add a new block to the blockchain. It is called the openness of a blockchain. Inclusivity, transparency, and innovation enhance the participation of various users due to openness. |
Difference between Blockchain, Bitcoin, and Cryptocurrency: Please don't get confused about the three above terms. Blockchain is a technology that works on the principles of cryptography, decentralization, and consensus. Cryptocurrency is an application of Blockchain technology. In which virtual currency is developed and used. There are several cryptocurrencies being used in the world. Bitcoin is the first cryptocurrency which started in 2009. It is still popular and covers more than 50% of the cryptocurrency market. |
Difference between Traditional database and blockchain database: Blockchain database management systems have special features that traditional database management systems do not have. Some of the differences are listed below:
|
Traditional Database | Blockchain-based Database |
Data is stored in lines, columns, tables, files, etc. | Data is stored in blocks that are digitally linked together like a chain. |
Centralized control exists. It may be controlled by a company, government, or individual. Therefore, chances of manipulation of the data are much higher. | No single control. It is a decentralized and trusted system. The data is immutable. It is a peer-to-peer network. |
One user can not see the details of others' transactions. A lack of transparency exists. | Transparency exists. All users have a copy of the entire transaction in a blockchain network. |
Most of the database systems can edit and delete the data. A trust deficit exists. | It is an immutable system. Once a date is generated, it cannot be reversed. We can feel almost 100% trust. |
Difference between Blockchain and Cloud services: Some of the features of Blockchain and Cloud services are listed below: |
Blockchain | Cloud |
It is a decentralized system. Hence, it is distributed across the network computers. | It is a centralized control system, and its data is stored in a central server in one place. |
Its data is immutable and can not be edited, altered, or deleted. | The possibility exists to edit, alter, or delete the data. |
To join a public blockchain network, the user has to provide hardware resources to store a copy of the ledger. | It provides computing services for online access. Example: Software as a Service (SaaS). Product as a Service (PaaS). Infrastructure as a Service(IaaS). |
Users can utilize the server services from the cloud also. | Service providers manage and maintain their hardware and infrastructure resources. |
Complete Blockchain as a Service (BaaS) is also offered by the cloud service provider. | Clients can access these services on the Internet. |
Blockchain services may be considered a subset of cloud services. | It provides many more services than database management. |
Comments
Post a Comment
Thank you, most welcome, 👍