客户端必须直接连接到背书者,还是可以通过任何对等节点进行代理?
Must a client connect directly to the endorsers, or can it proxy via any peer?
我正在阅读 Hyperledger Fabric Architecture Explained 文档。
我理解当客户端想要调用一个交易时,它必须得到该交易的背书,然后将其发送到排序服务。
我很困惑客户端是否必须直接连接到背书者和排序者,或者它是否可以只连接到一个可用的对等节点并将提案转发到必要的节点。
对于订购服务,这是 explained clearly:
If the client does not have capability of invoking ordering service directly, it may proxy its broadcast through some peer of its choice.
然而对于代言人来说,是not so clear:
To invoke a transaction, the client sends a PROPOSE
message to a set of endorsing peers of its choice (possibly not at the same time - see Sections 2.1.2. and 2.3.). The set of endorsing peers for a given chaincodeID
is made available to client via peer, which in turn knows the set of endorsing peers from endorsement policy
我了解客户端必须向背书节点发送 PROPOSE
消息。但是,“给定 chaincodeID
的背书节点集通过节点 提供给客户端”是什么意思?这是否意味着 "via any peer",从而暗示客户端不必直接连接到背书者?或者客户端必须直接连接到背书节点?
看来我们需要更新您引用的体系结构文档以匹配 Hyperledger Fabric v1.0.x 和即将推出的 v1.1.0.
中的当前实现
客户端必须直接将交易发送给排序节点,并且必须直接与所有背书节点通信。它不能 "proxy" 通过当前实现中的对等点进行任何这些调用。
通常情况下,客户端将通过带外机制获得有关 peers/orgs 需要为特定链代码背书的信息。
我正在阅读 Hyperledger Fabric Architecture Explained 文档。
我理解当客户端想要调用一个交易时,它必须得到该交易的背书,然后将其发送到排序服务。
我很困惑客户端是否必须直接连接到背书者和排序者,或者它是否可以只连接到一个可用的对等节点并将提案转发到必要的节点。
对于订购服务,这是 explained clearly:
If the client does not have capability of invoking ordering service directly, it may proxy its broadcast through some peer of its choice.
然而对于代言人来说,是not so clear:
To invoke a transaction, the client sends a
PROPOSE
message to a set of endorsing peers of its choice (possibly not at the same time - see Sections 2.1.2. and 2.3.). The set of endorsing peers for a givenchaincodeID
is made available to client via peer, which in turn knows the set of endorsing peers from endorsement policy
我了解客户端必须向背书节点发送 PROPOSE
消息。但是,“给定 chaincodeID
的背书节点集通过节点 提供给客户端”是什么意思?这是否意味着 "via any peer",从而暗示客户端不必直接连接到背书者?或者客户端必须直接连接到背书节点?
看来我们需要更新您引用的体系结构文档以匹配 Hyperledger Fabric v1.0.x 和即将推出的 v1.1.0.
中的当前实现客户端必须直接将交易发送给排序节点,并且必须直接与所有背书节点通信。它不能 "proxy" 通过当前实现中的对等点进行任何这些调用。
通常情况下,客户端将通过带外机制获得有关 peers/orgs 需要为特定链代码背书的信息。