科尔达海关公证处

时间:2019-03-13 05:41:54

标签: corda

我想使用自定义公证服务。我已经根据教程(链接到教程页面:https://docs.corda.net/tutorial-custom-notary.html)创建了它。它已被系统识别,并且我收到了以下日志:

[main] cordapp.JarScanningCordappLoader.findNotaryService-找到公证服务CorDapp实现:com.example.notaryService.MyCustomValidatingNotaryService类

[main] utilities.NotaryLoader.loadService-启动公证服务:com.example.notaryService.MyCustomValidatingNotaryService类

在日志中找不到其他任何服务

我必须以何种方式使用Custome Service创建流程以对交易进行公证。普通的FinalityFlow不使用我的服务。

subFlow(MyValidatingNotaryFlow(otherPartySession, serviceHub.cordaService(MyCustomValidatingNotaryService::class.java))) 
由于MyCustomValidatingNotaryService未标注为@CordaService,因此

也不有用

0 个答案:

没有答案