In a business network, how does each peer “get a copy of the ledger”?

冷暖自知 提交于 2019-12-04 07:19:13

问题


Let's say we have companies A, B, C in a business network.

How do these companies each "get a copy of the ledger"?

Do they all have to download Hyperledger Fabric, set up a Kube cluster, and connect to it with a card that the original sponsor provides?


回答1:


So, yes, sort-of. There are different ways of kicking things off. You might start with A ,B and C all forming a consortium, installing/deploying the Hyperledger Fabric software and creating and joining a channel that includes A, B and C at the outset.

They would all "get a copy of the ledger" for that channel by virtue of the fact that as transactions are processed, they would all be receiving the ordered transactions from the ordering service, and their respective peer nodes participating in that channel would update their respective copies of the ledger with those transactions.

New peers can be added to an org, and those would receive copies of the ledger via gossip from the other peers.

New organizations can be added to the channel after its creation, and they would also be caught-up via gossip and then by virtue of receiving ordered transactions from the ordering service, etc.

The documentation explains all of this.



来源:https://stackoverflow.com/questions/50179451/in-a-business-network-how-does-each-peer-get-a-copy-of-the-ledger

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!