Block Chain Architecture Design
Block Chain Architecture Design
Design
UNIT-1
Types of Blockchain
1. Public (Permission less) Block chain:-Public Block chains are
Permission less block chains where anyone can join the network and
read and write to the ledger. Block chain allow to users from anywhere
in the world to interact with the blockchain.
Anyone having internet and a computer with good hardware can
participate in this public blockchain.
All the computer in the network hold the copy of other nodes or block
present in the network
In this public block chain, we can also perform verification of
transactions or records.
For example- Crypto currency, Documents Verification.
Advantages:-
Trustable: There are algorithms to detect fraud.
Secure: This block chain is large in size as it is open to the public. In a
large size, there is greater distribution of records
Continued…
Disadvantages:-
Processing: The rate of the transaction process is very slow, due to
its large size. Verification of each node is a very time-consuming
process.
Energy Consumption: Proof of work is high energy-consuming. It
requires good computer hardware to participate in the network.
Advantages:-
Speed: The rate of the transaction is high, due to its small size.
Verification of each node is less time-consuming.
Scalability: We can modify the scalability. The size of the
network can be decided manually.
Privacy: It has increased the level of privacy for confidentiality
reasons.
Disadvantages:-
Anytime owner and operator can change the rules as per their
need.
Continued…
3. Consortium Block chain:-It is a creative approach that
solves the needs of the organization. This block chain validates the
transaction and also initiates or receives transactions.
Also known as Federated Block chain.
This is an innovative method to solve the organization’s needs.
Some part is public and some part is private.
In this type, more than one organization manages the block chain.
For example-Banking.
Advantages:-
Speed: A limited number of users make verification fast. The high
speed makes this more usable for organizations.
Authority: Multiple organizations can take part and make it
decentralized at every level. Decentralized authority, makes it more
secure.
Continued…
Consortiums Block chain are more scalable.
Privacy: The information of the checked blocks is unknown to
the public view. but any member belonging to the block chain can
access it.
Disadvantages:-
Less transparency.
If few nodes are getting compromised there is a greater chance of
vulnerability in this block chain.
Advantages:-
Transactions are cheap and fast, and it offers better scalability
than a public block chain network.
It can choose the participants in the block chain and decide
which transaction can be made public.
Disadvantages:-
Efficiency: Not everyone is in the position to implement a
hybrid Block chain. The organization also faces some difficulty
in terms of efficiency in maintenance.
Continued…
Transparency: There is a possibility that someone can hide
information from the user. If someone wants to get access through
a hybrid block chain it depends on the organization whether they
will give or not.
Also Known As Public block chain Also Known As Private block chain.
Full transparency Controlled Transparency
Development in Open Source Development by Private entities
Highly transparent Limited transparent.
Slower Faster
No cost effective Cost effective
Partially Decentralized Truly Decentralized
Consensus Mechanism
Consensus:-
Consensus simply means an agreement between a group of people.
Consensus for block chain is a procedure in which the peers of a
block chain network reach agreement about the present state of the
data in the network.
Consensus Mechanism:-
Consensus is the process by which a group of peers known as
‘nodes’ on a network determine which block chain transactions are
valid and which are not. Consensus mechanisms are the
methodologies used to achieve this agreement. It’s these sets of
rules that help to protect networks from malicious behavior and
hacking attacks.
Consensus mechanisms prevent double spending, when a digital
token is spent more than once either intentionally, such as in fraud,
or unintentionally, perhaps due to a glitch in the system.
Continued…
Without consensus, I could spend money in one place and then
spend that same money again before the first transaction settles.
A reward is given to first miner to solve The validator do not receive a block
cryptographic puzzle of each block. reward instead they collect network fee
as their reward.
To add each block to chain, miners must There is no competition as block creator
compete to solve difficult puzzles using is .chosen by an algorithm based on user
their computer process power stake.
Proof of work systems are less energy Proof of Stake systems are much more
efficient. energy efficient than POW
Initial investment to buy stake and build
Initial investment to buy hardware.
reputation.