Blockchain is a shared, immutable ledger that facilitates the process of recording transactions and tracking assets in a business network.
It is an immutable, sequential chain of records called Blocks. They can contain transactions, files or any data you like, really. But the important thing is that they’re chained together using hashes.
Why blockchain and why it matters?
A blockchain is a highly secure, reliable, and decentralized network that allows people to record transaction activity, store data, and exchange value in a distributed ledger that is not controlled by any central authority, but instead maintained by computers all around the world.
The nature of blockchain allows for trustless systems to be built on top of it. Users don’t rely on a centralized group of people, such as a bank, to make decisions and allow transactions to flow through. Because the system is decentralized, users know that transactions will never be denied for non-custodial reasons.
The basic few reasons why blockchain matters are:
Decentralization
Transparency
Security and Immutability
Smart contracts (self-executing contracts with the terms directly written into code, this automation reduces the need for intermediaries, streamlining processes and reducing costs)
Blockchain structure:
Consists of blocks.
Block consists of index, timestamp, transactions, previous_block_hash, hash and proof.
index: An unique identifier of the block, It represents the position of the block within the blockchain.
timestamp: Is a record of the exact time when the block was added to the blockchain
transactions: A list of all the transactions that are included in the block.
previous_block_hash: The cryptographic hash of the previous block in the blockchain.
hash: It is a cryptographic hash of the entire block's (itself) data.
proof: The "proof" or "proof of work value" or "nonce" is a value that miners calculate during the mining process. It represents the computational work performed to create the block and is essential for reaching consensus in a blockchain network.
Peer participants initiate the transfer of information or assets by creating a transaction.
Transaction Validation:
Nodes on the network verify the validity of transactions, ensuring they meet predefined rules. This includes checking the authenticity and correctness of incoming transactions.
Transaction Broadcasting:
Valid transactions are broadcasted to all nodes on the network, ensuring that the information is distributed across the decentralized network.
Block Creation:
Valid transactions are grouped into blocks by network nodes. These blocks serve as containers for transactions and contribute to the efficiency and security of the blockchain.
Meeting Consensus:
Nodes collectively agree on the next block to be added to the blockchain. Various consensus mechanisms, such as proof-of-work or proof-of-stake, can be employed to achieve agreement among nodes.
Block Addition:
The newly agreed-upon block is added to the existing blockchain in a sequential and irreversible manner. This process ensures the integrity and immutability of the blockchain.
Chaining Blocks:
Each block contains a reference to the previous block, creating an immutable chain. This linkage ensures the chronological order and integrity of the entire blockchain.
Consistency Across Nodes:
All nodes maintain a consistent and identical copy of the blockchain. Consistency is a crucial aspect of the decentralized nature of the blockchain, ensuring that all participants have the same view of the ledger.
Decentralization
Decentralization is a fundamental principle that aims to distribute control and decision-making across a network of nodes rathen than concentrating it in a single authority. The goal is to create a trustless and resilient system where no single entity has influence or control.
Decentralized networks enhances security and transparency and it aims to reduce the level of trust that participants must place in one another, and deter their ability to exert authority or control over one another in ways that degrade the functionality of the network.
Decentralization is a key principle underlying the design and functionality of the blockchain systems.
The key aspects of decentralization in blockchain systems are:
Distributed network
Blockchain operates on a network of nodes, each maintaining a copy of the entire blockchain. This distribution ensures redundancy and eliminates a single point of failure.
Trustless transactions
Blockchain aims to reduce the need for trust between participants. Through cryptographic principles and consensus algorithms, participants can transact directly without relying on a central authority.
Permissionless access
In blockchains, participants have permissionless access, meaning anyone can join the network, validate transactions, and participate in the consensus process.
Censorship resistant
Decentralization makes it difficult for any single entity to censor or control the flow of information or transactions within the network. This censorship resistance is particularly relevant in public blockchains.