0% found this document useful (0 votes)
2 views8 pages

Hyper Ledger

Uploaded by

mifegik156
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views8 pages

Hyper Ledger

Uploaded by

mifegik156
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

APEEJAY STYA UNIVERSITY

PALWAL ROAD, SOHNA, GURUGRAM,122103

HYPERLEDGER FABRIC ARCHITECTURE


PRESENTATION
ETCA408

NAME: ANUJ
COURSE: MCA-WITH IOT & CYBER SECURITY
U.R.N: ASU2024010100062
FACULTY NAME: DR. RITIKA
What is Hyperledger Fabric

• An implementation of blockchain technology that is intended as a foundation for developing blockchain


applications for the enterprise

• Key characteristics:
– Permissioned
– Highly modular
• Pluggable consensus, ledger, membership services, endorsement and validation
– Smart contracts in general purpose languages
– Privacy
– No “mining” or native crypto-currency required for consensus
– Execute-order-validate vs order-execute

2
Hyperledger Fabric V1 Architecture

External-CA Fabric-CA

optional
Membership optional
✓ ✓
Services Admin

Peer

Endorser
Client SDK
Application (HFC)
Committer

O O Ledger
A
Chaincode B

O O Events !

Ordering-Service Hyperledger Fabric Network

3
How applications interact with the ledger
Client
Blockchain develops
Application
developer
SDK
develops submits
1. Client Application in
using Hyperledger
Fabric Client (HFC)
SDK Smart emits
Contract !
2. Smart Contract event
implemented using accesses
chaincode – managing
the World state ‘get’, ‘put’, ‘delete’ recorded

Ledger
block
emits
txn txn txn
!
event
World state Blockchain
Peer
4
Fabric Ledger

• The Fabric ledger is maintained by each peer and includes the blockchain and worldstate
• A separate ledger is maintained for each channel the peer joins
• Transaction read/write sets are written to the blockchain
• Channel configurations are also written to the blockchain
• The worldstate can be either LevelDB (default) or CouchDB
– LevelDB is a simple key/value store
– CouchDB is a document store that allows complex queries
• The smart contact Contract decides what is written to the worldstate

Config Config Transaction Transaction


Block Block Block Block Worldstate
0 1 2 3
Genesis
Blockchain

5
Nodes and roles

Committing Peer: Maintains ledger and state. Commits transactions.


May hold smart contract(chaincode).

Endorsing Peer: Specialized peer also endorses transactions by


receiving a transaction proposal and responds by granting or denying
endorsement. Must hold smart contract.

Ordering Node: Approves the inclusion of transaction blocks into the


ledger and communicates with committing and endorsing peer nodes.
Does not hold smart contract. Does not hold ledger.

6
Hyperledger Fabric Consensus

Consensus is achieved using the following transaction flow:

Endorse Order Validate

You might also like