What are the cases where a TX is not sent to the Notary Service?

半城伤御伤魂 提交于 2019-12-04 02:40:28

问题


What are the situations a transaction is not submitted to the Notary service? Although the progress tracker shows notary steps, we noted in some cases the transaction is not really sent to the Notary service. (e.g. State creation with no time window).


回答1:


As of Corda 3.3, if Tx has no inputs and no time window then it's not sent to the notary for signature.

But with Corda 4, as I can see in the master, in addition to the above two conditions, it is sent to the notary, in case a reference state is present :

https://github.com/corda/corda/blob/838c99c6e48788a21f7ca25aaee4c04cffb980c9/core/src/main/kotlin/net/corda/core/flows/FinalityFlow.kt#L164



来源:https://stackoverflow.com/questions/53722653/what-are-the-cases-where-a-tx-is-not-sent-to-the-notary-service

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