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.
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.
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.
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With