Unit 3
Unit 3
Engineering, Yadrav-Ichalkaranji
NBA Accredited Programmes
An ‘A’ Grade Institute Accredited by NAAC
Subject - Blockchain
Prepared by
Ms. K S Patil
Assistant Professor
Computer Science & Engineering Department
1
[Unit 3] Permissioned Blockchain
Permissioned model
Permissioned blockchains can be seen as an additional blockchain security
system, as they maintain an access control layer to allow certain actions to
be performed only by certain identifiable participants.
User know each other but user may not trust each other.
For this reason, these blockchains differ from public and private
blockchains.
Permissioned blockchains provide an additional level of security over
typical blockchain systems like Bitcoin, as they require an access control
layer.
These blockchains are favored by individuals who require security,
identity, and role definition within the blockchain.
Permissioned blockchains are not as common as other public blockchains
like Bitcoin and other cryptocurrencies.
How a Permissioned Blockchain Works
A blockchain can be built and accessed in multiple ways.
There are certain other blockchains that need special permissions to read,
access, and write information on them.
The intrinsic configuration of such blockchains controls the participants'
transactions and defines their roles in which each participant can access
and contribute to the blockchain.
It may also include maintaining the identity of each blockchain participant
on the network. Such blockchains are called permissioned blockchains.
Example, Bitcoin, the most popular cryptocurrency blockchain, allows
anyone to participate in the network in the capacity of a full node, or a
contributing miner.
Smart Contract
A Smart contract is a self-executing contract in which the terms of the
agreement between the buyer and the seller is directly written into lines
of code.
The code and the agreements contained in the contract exist across a
decentralized and distributed blockchain network.
Smart contracts allow for trusted agreements and transactions to be
carried out among anonymous parties without the need for a governance,
legal system, central authority or external enforcement mechanism.
They render transactions to be more transparent and irreversible.
Blockchain initially developed for the Bitcoin has slowly transcended in to
various other verticals and aspects of technology.
Smart Contract
Benefits of Smart Contracts
Trust: All documents are encrypted on a shared ledger. Also all the entities or parties
could have access to these documents.
Autonomous: All third parties become obsolete in the interactions
Security: All documents are encrypted end to end which makes them near-
impenetrable by unethical methods.
Redundancy: Documents are duplicated many times over on the blockchain, and
can’t ever be “lost”.
Savings: Smart contracts save you money by taking out the middleman.
Speed: These contracts automatically self-execute, saving you precious time.
Transparency: For organizations like governments, they could add another level of
transparency to dealings.
Precision: Smart contracts execute the exact code provided, ensuring zero errors.
State machine replication
State machine replication or state machine approach is a general method for
implementing a fault-tolerant service by replicating servers and coordinating client
interactions with server replicas.
The approach also provides a framework for understanding and designing replication
management protocols.
State machine replication
Distributed State machine replication
Distributed State machine replication
Distributed State machine replication
Distributed State machine replication
Distributed State machine replication
Distributed State machine replication
State machine replication
simple technique for implementing a fault-tolerant service in terms of a
State Machine:
1. Place copies of the State Machine on multiple, independent
servers.
2. Receive client requests, interpreted as Inputs to the State
Machine.
3. Choose an ordering for the Inputs.
4. Execute Inputs in the chosen order on each server.
5. Respond to clients with the Output from the State Machine.
6. Monitor replicas for differences in State or Output.
Paxos