Hyperledger Fabric In-Depth
US$ 19.95
The publisher has enabled DRM protection, which means that you need to use the BookFusion iOS, Android or Web app to read this eBook. This eBook cannot be used outside of the BookFusion platform.
Description
Contents
Reviews
Language
English
ISBN
9789389328226
Cover Page
Title Page
Copyright Page
Dedication
About the Author
About the Reviewer
Acknowledgement
Preface
Errata
Table of Contents
1. Understanding Blockchain
Structure
Objective
Blockchain
History
Working of Blockchain
Blockchain types
Conclusion
2. World of Decentralization
Structure
Objective
Centralization first
Understanding Decentralization
Distributed versus Decentralized
Types of Decentralization
Decentralization in Blockchain
Advantages of Decentralization
Limitations of Decentralization
Conclusion
3. Cryptography – A Pillar
Structure
Objective
Cryptography
Cryptographic primitives
Symmetric Key Cryptography
Asymmetric Key Cryptography
Hash functions
Blockchain and Cryptography
Cryptographic Hash Function
Digital Signatures
Zero-knowledge Proofs
Access Control
Obfuscation
Verifiable Random Function (VRF)
Cryptographic Techniques in Hyperledger Fabric
Participants Identity
Access Control
Identity Mixer
Hashing
Digital signature
Conclusion
4. Consensus Algorithms
Structure
Objective
Consensus Algorithms
Decentralized Consensus Challenges
Concurrency
No Global Clock
Independent Failures
Byzantine
Messaging
History of Consensus Algorithms
PAXOS
PAXOS Consensus Algorithm
RAFT
RAFT Consensus Algorithm
Leader election
Log Replication
Safety
Still, we are not there
Byzantine General’s Problem
Nakamoto Consensus
Proof of Work (PoW)
Conclusion
5. Blockchain in Enterprises
Structure
Objective
Introduction
A new era – Permissioned blockchains
Throughput
Efficient consensus
Regulatory compliance support
Controlled membership
Practical applications
Blockchain in Enterprise - Considerations
Business drivers
Increased efficiency – Reduction in time
Cost reduction
Reduces risk
Increased visibility/transparency
Leading platforms
Hyperledger Fabric
R3 Corda
Ripple
Quorum
Stellar
MultiChain
BigChainDB
Use cases/examples
Conclusion
6. Hyperledger Fabric
Structure
Objective
Introducing Hyperledger Fabric
Features
No Native Cryptocurrency
Energy consumption
Scripting
Permissioned
Smart contracts
Modularity
Privacy and confidentiality
Building blocks
Peer (Node)
Peer and ledger
Peer and smart contract (chaincode)
Peer and channel
Peer and organization
Peer and identity
Peer types
Comprehensive view
Ordering service
Ledger
World state
World state options
Transaction log (Blockchain)
Block metadata
Transaction
Smart contracts
Anatomy of smart contract
Peek into system chaincode
Channel
Private data
Private data collection
Identity
Membership Service Provider
Local MSP
Channel MSP
MSP structure
Hyperledger Fabric Blockchain Network View
Important tools
cryptogen
configtxgen
configtxlator
Conclusion
7. Hyperledger Fabric Architecture and Transaction Flow
Structure
Objective
Introduction
Setting up context
Limitations of Order-Execute
Execute-Order-Validate architecture
Transaction workflow
Propose transaction
Execute propose transaction
Proposal response
Order transaction
Deliver transaction
Validate transaction
Notify transaction
Endorsement policies
Chaincode-level endorsement policies
Key-level endorsement policies
Customized transaction endorsement and validation
Default configurations
Conclusion
8. Setting up Hyperledger Fabric Network
Structure
Objective
Introduction
Defining a business network
Identifying participants
Channel Name Identification
Rule definition (foundation for Smart Contracts)
Certificate Authority
Designing network topology
Docker installation
Docker Compose installation
Go Lang installation
HLF binary installation
Generate certificates
Generate Channel Artifacts
Creating Genesis Block
Create Channel Transaction (Channel Tx)
Creating Anchor Peers Update Tx
Setting up ordering node
Create peer nodes
Create a channel
Deploying Smart Contracts
Making client work
Examples
Adding a new organization
Adding a new peer
Network configuration and policies
Access Control List
RAFT
Transport Layer Security (TLS)
Peer configuration
Orderer configuration
Fabric Client (SDK)
Monitoring (Prometheus and Grafana)
Fabric CA
Conclusion
Troubleshooting tips
9. Smart Contracts
Structure
Objective
Introduction to smart contracts
Bird’s eye view
Anatomy
Chaincode
Smart contract (chaincode for developers)
Writing a smart contract
Smart contract unit testing
Dev Mode Testing
Advanced concepts
Private data collection
Transaction flow in private data
State Database (CouchDB) Interaction
CouchDB configuration
Chaincode queries
Chaincode (Chaincode for Operators)
Logging
Error Handling
Conclusion
10. Privacy and Security
Structure
Objective
Privacy
Mixing
Anonymous signatures
Attribute-based encryption
Secure multi-party computation
Non-Interactive Zero-Knowledge (NIZK) Proof
Privacy in Hyperledger Fabric
Security
Security in Hyperledger Fabric
Strong identity management
Governing Rules (Network)
Scoped chaincode execution
Endorsement policies
Transport Layer Security (TLS)
BCCSP
Other considerations
Conclusion
11. Hyperledger Fabric v 2.0
Structure
Objective
What’s new?
Decentralized governance
Chaincode lifecycle
External chaincode launcher
Private data enhancement
Conclusion
Loading...