What are peers and how a user enrolls into a specific peer?

0 votes
I am new to hyperledger fabric. I am using a sdk node with hyperledger fabric. I have 2 orgs and 4 peers. I have created a channel and have peer 2, peer 3, peer 4 joined to it. And there is another channel which have peer2, peer3 and org2 joined.

Now, if I enrolled a user, is this user enrolled to a specific peer? or it gets enrolled to a network? Supposing he he gets enrolled to the network, then he'll have access to all the channels, in that case how can we restrict them from outside channels?
May 3, 2018 in Blockchain by Johnathon
• 9,050 points
114 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

In fabric, there is an admin, he manages the entities (the users, the peers..) that will be the part of the system. The admin also enrol an admin user for each organization, or he enrols the peers and users for each organization.

After enrolling each entity, the registry is done. When you do a registry aginst the certificate authority(CA), the CA generates a pair of keys, which is issued by the CA root. The user and the peer are thus enrolled to the CA. You need a peer to communicate with other peers and the orderer.

Also, you need a user to call the peer to genrate the transactions. When you create a channel, you have to define who is going to take part on it, i.e. you define which peers are going to interact among them. if your peer is not defined in the channel configuration, the acces for it will be restricted.

answered May 3, 2018 by Shashank
• 10,330 points

Related Questions In Blockchain

+1 vote
1 answer
+1 vote
1 answer

What are the differences between the hyperledger and Blockchain?

To answer your first query.. Blockchain is ...READ MORE

answered Apr 5, 2018 in Blockchain by anonymous
69 views
+1 vote
1 answer

What are the differences between coin and token?

Coins are cryptocurrencies that are independent and ...READ MORE

answered Jul 17, 2018 in Blockchain by Sahil
30 views
0 votes
1 answer
0 votes
1 answer

Invalid Batch or signature in Savtooth

This will solve your problem import org.apache.commons.codec.binary.Hex; Transaction txn ...READ MORE

answered Aug 1, 2018 in Blockchain by digger
• 27,620 points
37 views
0 votes
1 answer

What are the differences between tendermint and hashgraph?

Hashgraph uses Superior distributed ledger technology. Hashgraph ...READ MORE

answered Apr 7, 2018 in Blockchain by Shashank
• 10,330 points
115 views
+1 vote
1 answer

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.