如果A创建了A和B participants的状态并签名,但不需要B的签名,我发现状态仍然被复制到B的分类账中。
B州方面的合同verify功能verify仍然运行? 或者我必须明确地编码?
If A creates some state with participants of A and B, and signs it, but doesn't require B's signature, I see that the state still gets replicated to B's ledger.
Does the state's contract's verify function still get run on B's side? Or do I have to code that explicitly?
最满意答案
是。
A将通过调用SendTransactionFlow来发送事务。 B将通过调用ReceiveTransactionFlow来响应。
作为ReceiveTransactionFlow一部分, B将验证事务以及可选的签名(基于checkSufficientSignatures参数)。
Yes.
A will send the transaction by invoking SendTransactionFlow. B will respond by invoking ReceiveTransactionFlow.
As part of ReceiveTransactionFlow, B will verify the transaction, and optionally the signatures (based on the checkSufficientSignatures parameter).
更多推荐
发布评论