Working of Blockchain
Blockchain is a system of recording information in a way that makes it difficult or impossible to change, hack, or cheat the system. A blockchain is essentially a digital ledger of transactions that is duplicated and distributed across the entire network of computer systems on the blockchain.
It works by creating a chain of blocks, each containing a cryptographic hash of the previous block, a timestamp, and transaction data. The chain is maintained by a peer-to-peer network of computers, each of which verifies the data and adds new blocks to the chain. This makes it impossible to modify the data once it is stored. Blockchain provides a secure, distributed, and an immutable way to store and transfer data, making it ideal for applications such as cryptocurrency and smart contracts.
Now , The transaction process in a blockchain can be summarized as follows:
领英推荐
A block contains various information or data which is necessary for the system for the transactions that occur over blockchains. All of these are essential, and it ensures that a secure, distributed, and immutable way to store and transfer data is formed.?
These are as follows :
Header: It is used to identify the particular block in the entire blockchain. It handles all blocks in the blockchain. A block header is hashed periodically by miners by changing the nonce value as part of normal mining activity, also Three sets of block metadata are contained in the block header.
Previous Block Address/ Hash: It is used to connect the i+1th block to the ith block using the hash. In short, it is a reference to the hash of the previous (parent) block in the chain.
Timestamp: It is a system that verifies the data into the block and assigns a time or date of creation for digital documents. The timestamp is a string of characters that uniquely identifies the document or event and indicates when it was created.
Nonce: A nonce number that is used only once. It is a central part of the proof of work in the block. It is compared to the live target if it is smaller or equal to the current target. People who mine, test, and eliminate many Nonce per second until they find that Valuable Nonce is valid.
Merkel Root: It is a type of data structure frame of different blocks of data. A Merkle Tree stores all the transactions in a block by producing a digital fingerprint of the entire transaction. It allows the users to verify whether a transaction can be included in a block or not.
References:
Article contributed by Kaustubh Raykar guided by Varsha Iyer
Associate Professor, Symbiosis Institute of Technology
2 年Great work Team Cyber Blockchain Club