Unit-1-2
Unit-1-2
Introduction
Page 3 of 47
What is BlockChain
Page 4 of 47
Tracing Blockchain’s Origin
Page 6 of 47
Tracing Blockchain’s Origin
Page 9 of 47
Tracing Blockchain’s Origin
Course Outcomes
After successful completion of the course, a student will be able to:
● Explain the concepts of Blockchain technology.
● Identify various types of Blockchains and Consensus
Mechanisms, Smart Contracts, and Use cases.
● Use the Blockchain platforms for building solutions to real time
applications.
Page 10 of 47
Unit-1 Syllabus
Introduction To Blockchain-
Distributed DBMS – Limitations of Distributed DBMS,
Introduction to Blockchain – History, Definition, Distributed
Ledger, Blockchain Categories –Public, Private, Consortium,
Blockchain Network and Nodes, Peer-to-Peer Network, Mining
Mechanism, Generic elements of Blockchain, Features of
Blockchain, and Types of Blockchain
Unit-1 Syllabus
● Hash is a Fingerprint of the large amount of data
● Genesis Block-First block in blockchain
● How to timestamp a digital document
Advantages & Disadvantages of Blockchain
Advantages- It is immutable, transparent, secure, and
decentralized.
Disadvantages-
▪ Scalability- Slow on approving the blocks.
▪ Not every problem could be solved through blockchain
▪ Decentralization
▪ Speed of information flow across the network is slow
What is Blockchain
What is Blockchain
● Blockchain owes its name to the way it stores transaction data
in blocks that are linked together to form a chain.
● Blocks are cryptographically linked to each other.
Distributed DBMS
● A distributed database system is a type of database
management system that stores data across multiple computers
or sites that are connected by a network.
● In a distributed database system, each site has its own database,
and the databases are connected to each other to form a single,
integrated system
● The main advantage of a distributed database system is that it
can provide higher availability and reliability than a centralized
database system
● Because the data is stored across multiple sites, the system can
continue to function even if one or more sites fail
Distributed DBMS
Disadvantages of Distributed Database System :-
● The system becomes complex to manage and control.
● The security issues must be carefully managed.
● The system require deadlock handling during the transaction
processing otherwise the entire system may be in inconsistent
state.
● There is need of some standardization for processing of
distributed database system.
Definition of BlockChain
● Layman's definition: Blockchain is an ever-growing, secure,
shared record keeping system in which each user of the data
holds a copy of the records, which can only be updated if all
parties involved in a transaction agree to update.
Node-
● A node in a blockchain network performs various functions
depending on the role that it takes on.
● A node can propose and validate transactions
● Can perform mining to facilitate consensus and secure the blockchain
● Nodes can also perform other functions such as simple payment
verification (lightweight nodes), validation
● Nodes are miners who create new blocks
Smart contract
● These programs run on top of the blockchain and be executed when
certain conditions are met.
● These programs are enforceable and automatically executable
● The smart contract feature is not available on all blockchain
platforms
How a Block Chain Generated
Blockchain Architecture
The layered architectural view of a generic blockchain
The layered architectural view of a generic blockchain
Example-
▪ Corda, Hyperledger Fabric, Hyperledger Sawtooth
Merits:
○ Higher transaction per second (TPS)
○ Highly scalable
Demerits-
● Less secured compared to Public blockchains
● Less decentralized.
● Achieving trust is difficult
Consortium Blockchain
● Where there is a need for both types of blockchains, i.e., public and
private.
● In this type, there is more than one central in-charge.
● More than one organization involved.
● Organization provides access to pre-selected nodes for reading, writing,
and auditing the blockchain.
● Since there is no single authority governing the control, it maintains
decentralized nature
Examples
Energy Web Foundation, IBM Food Trust are examples of such blockchain.
Consortium Blockchain
Merits:
● Best suited for organizational collaboration.
● Offers scalability and much secured
● More efficient when compared to public blockchains
● Better customizability and control over resources
Demerits:
● Less transparent
Conclusion: Which is the Best Blockchain?
Features of a blockchain
Features of a blockchain
1. Distributed consensus: