Difference between revisions of "IT-SDK-Hyperledger-Fabric-Class"

From wiki.samerhijazi.net
Jump to navigation Jump to search
Line 4: Line 4:
 
=Key Components=
 
=Key Components=
 
* Client Nodes
 
* Client Nodes
* Peer Nodes
+
* Peer Nodes (Endorsing Peers) or (Committing Peers)
** AA
+
* Orderer Nodes (Ordering Service)
** BB
 
* Orderer Nodes
 
 
* MSP (Membership Services Provider)
 
* MSP (Membership Services Provider)
 
* Channels
 
* Channels
 
* Chaincode
 
* Chaincode
 
* Ledger
 
* Ledger
==Peer Nodes==
 
* Endorsing Peers: These peer nodes receive transaction proposals from clients, execute the chaincode, and return the results along with an endorsement signature. Endorsing peers don't update the ledger but are critical for achieving transaction endorsement.
 
* Committing Peers: After receiving the endorsed transaction, committing peers validate the endorsements and ensure the correctness of the endorsements before committing the transaction to the ledger.
 
* Anchor Peers: These are specific peers in each organization that maintain communication with peers in other organizations. They are used to facilitate cross-organization communication.
 
 
=Basic workflow=
 
=Basic workflow=
* The client creates a transaction and sends it to endorsing peers of its choice.
+
* The submitting client creates a transaction and sends it to endorsing peers of its choice.
 
* The endorsing peer simulates a transaction and produces an endorsement signature.
 
* The endorsing peer simulates a transaction and produces an endorsement signature.
 
* The submitting client collects an endorsement for a transaction and broadcasts it through ordering service.
 
* The submitting client collects an endorsement for a transaction and broadcasts it through ordering service.
* The ordering service delivers a transactions to the peers.
+
* The ordering service delivers a transactions to the committing peers.

Revision as of 20:23, 16 February 2024

Ref.

Key Components

  • Client Nodes
  • Peer Nodes (Endorsing Peers) or (Committing Peers)
  • Orderer Nodes (Ordering Service)
  • MSP (Membership Services Provider)
  • Channels
  • Chaincode
  • Ledger

Basic workflow

  • The submitting client creates a transaction and sends it to endorsing peers of its choice.
  • The endorsing peer simulates a transaction and produces an endorsement signature.
  • The submitting client collects an endorsement for a transaction and broadcasts it through ordering service.
  • The ordering service delivers a transactions to the committing peers.