Professional Documents
Culture Documents
Lecture 22 FabricDetails
Lecture 22 FabricDetails
1
Image courtesy: http://beetfusion.com/
2
Ordering Service
3
Channels
Channels provide privacy between different ledgers
4
Single Channel Network
• All peers connect to the same system
channel (blue).
Client
Application
S
D
K
E0 E2 • All peers have the same chaincode and
maintain the same ledger
A
B O O B
A
• Endorsement by peers E0, E1, E2 and E3
P
O O
E1 E3 Key:
Endorser Ledger
Ordering-Service
A A
B B Committing Peer Application
5
Multi-Channel Network
• Peers E0 and E3 connect to the red
channel for chaincodes Y and Z
E0 E2
Client S
Application D
K
O O
Client
Application
S
D
K
E1 E3 Key:
Endorser Ledger
Ordering-Service
A Y
B Z Committing Peer Application
6
Fabric Peer
A
– Each peer:
– Connects to one or more channels Chaincode
– Maintains one or more ledgers for each Channels Peer
channel B
– Chaincodes are instantiated in separate
docker containers Events !
7
Client Application
8
Fabric Certificate Authority
DB LDAP HSM
9
Fun Reading
• Certificate Authority, Wikipedia article:
https://en.wikipedia.org/wiki/Certificate_authority
• Fabric Architecture Deep Dive: http://hyperledger-
fabric.readthedocs.io/en/release-1.0/arch-deep-dive.html
• Fabric CA Documentation: http://hyperledger-fabric-ca.readthedocs.io/en/latest/
10
11