Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is Anchor Peer in Fabric?

There is step while configuring fabric network to update anchor peer. There is one anchor peer per organization, but not able to understand why do we need anchor peer.

like image 542
deepak parmar Avatar asked Aug 11 '17 10:08

deepak parmar


People also ask

What is peer fabric?

A peer is capable of hosting more than one ledger, which is useful because it allows for a flexible system design where a single peer can belong to multiple channels in a Fabric network. In the simplest configuration, a peer hosts a single ledger, and therefore belongs to a single channel.

What is peer in Hyperledger fabric?

Peer : It's a one of the main fundamental element comprised primarily a set of peer nodes in HLF network. It is a kind of node that hosts the ledger and chain code in the Hyperledger Fabric System. Peers are connected by channels each other and can be grouped as per the needs to manage the ledgers and contracts.


2 Answers

Anchors peers encoded into config update transaction in order to enable communication between peers of different organizations and discover all active participants of the channel.

like image 87
Artem Barger Avatar answered Oct 04 '22 16:10

Artem Barger


A peer node on a channel that all other peers can discover and communicate with. Each Member on a channel has an anchor peer (or multiple anchor peers to prevent single point of failure), allowing for peers belonging to different Members to discover all existing peers on a channel.

You can read about this in glossary on hyperledjer fabric web site:

https://hyperledger-fabric.readthedocs.io/en/release-1.1/glossary.html#anchor-peer

like image 27
Егор Поляков Avatar answered Oct 04 '22 14:10

Егор Поляков