Hyperledger-Fabric:core.yaml 中的提交者和排序者是什么?
Hyperledger-Fabric: What is the committer and orderer in core.yaml?
在core.yaml
中:
committer:
enabled: true
ledger:
orderer: 127.0.0.1:5005
committer和orderer是什么概念?我在 Hyperledger-fabric docs 中没有听说过这些。
我必须在 docker-compose.yml 中写一些关于 committer 或 orderer 的东西吗?或者.. 是否有共识?
您可以在 Hyperledger Fabric v1.0 文档中找到术语 endorser 和 committer,
The peers are diverged into two distinct roles – Endorser & Committer.
As an endorser, the peer will simulate the transaction and ensure that
the outcome is both deterministic and stable. As a committer, the peer
will validate the integrity of a transaction and then append to the
ledger.
orderer 是 ordering service 的地址,它旨在提供原子广播排序服务供 peer 消费。订购服务已记录 here
在core.yaml
中:
committer:
enabled: true
ledger:
orderer: 127.0.0.1:5005
committer和orderer是什么概念?我在 Hyperledger-fabric docs 中没有听说过这些。 我必须在 docker-compose.yml 中写一些关于 committer 或 orderer 的东西吗?或者.. 是否有共识?
您可以在 Hyperledger Fabric v1.0 文档中找到术语 endorser 和 committer,
The peers are diverged into two distinct roles – Endorser & Committer. As an endorser, the peer will simulate the transaction and ensure that the outcome is both deterministic and stable. As a committer, the peer will validate the integrity of a transaction and then append to the ledger.
orderer 是 ordering service 的地址,它旨在提供原子广播排序服务供 peer 消费。订购服务已记录 here