Corda节点在存储之前是否验证事务?(Does a Corda node verify a transaction before storing it?)

编程入门 行业动态 更新时间:2024-10-24 20:22:10
Corda节点在存储之前是否验证事务?(Does a Corda node verify a transaction before storing it?)

如果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).

更多推荐

本文发布于:2023-08-07 23:18:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1466408.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:节点   事务   Corda   node   storing

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!