- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我看到多次调用路线/问题,不确定为什么会出现这样的行为
// initiate a flow using this route
@GetMapping(value = "/issue", produces = TEXT_PLAIN_VALUE)
private String issue() throws FlowException {
Party traderB = proxy.networkMapSnapshot().get(2).getLegalIdentities().get(0);
proxy.startFlowDynamic(com.template.flows.IssueMetal.class,"Gold",10,traderB).toString();
return proxy.registeredFlows().toString();
}
当我查询保险库时,我看到多个未使用的状态,而我应该只看到一个条目。
[StateAndRef(state=TransactionState(data=com.template.states.MetalState@3fa2279c, contract=com.template.contracts.TemplateContract, notary=O=Notary, L=London, C=GB, encumbrance=null, constraint=SignatureAttachmentConstraint(key=EC Public Key [4b:44:7c:7b:1b:38:a6:93:bd:9a:c4:1d:8b:46:b4:6b:77:ba:f8:0e]
X: 38d226dcd0fa574316da478aa75225e6ce18f65cbd96e60bf3c8251b1965417
Y: 56e5dcf7ccab21b712601ed0278501f2f33d0b5fdaa4c09e62639464e4910871
)), ref=45F75698C7D5FBE1AC0D88108C2C33F73567335168973B501B902312FA46ADBC(0)), StateAndRef(state=TransactionState(data=com.template.states.MetalState@3b9da4b0, contract=com.template.contracts.TemplateContract, notary=O=Notary, L=London, C=GB, encumbrance=null, constraint=SignatureAttachmentConstraint(key=EC Public Key [4b:44:7c:7b:1b:38:a6:93:bd:9a:c4:1d:8b:46:b4:6b:77:ba:f8:0e]
X: 38d226dcd0fa574316da478aa75225e6ce18f65cbd96e60bf3c8251b1965417
Y: 56e5dcf7ccab21b712601ed0278501f2f33d0b5fdaa4c09e62639464e4910871
)), ref=55E228CEA0F793068EC112978E584623211B869E647BD48DD6CB2211230D3205(0)), StateAndRef(state=TransactionState(data=com.template.states.MetalState@7e9f2da7, contract=com.template.contracts.TemplateContract, notary=O=Notary, L=London, C=GB, encumbrance=null, constraint=SignatureAttachmentConstraint(key=EC Public Key [4b:44:7c:7b:1b:38:a6:93:bd:9a:c4:1d:8b:46:b4:6b:77:ba:f8:0e]
X: 38d226dcd0fa574316da478aa75225e6ce18f65cbd96e60bf3c8251b1965417
Y: 56e5dcf7ccab21b712601ed0278501f2f33d0b5fdaa4c09e62639464e4910871
)), ref=912FD9296E430B6302B76DE0F6E25458D313D6F4E7AB29DDF80387F0099735FC(0))]
我有4个节点
交易者A、交易者B、造币厂、公证人
此流程正在从 Mint 发送到 TraderB。
最佳答案
我相信阿舒托什是正确的。您的端点似乎被多次触发,这是您看到此处所见内容的唯一原因。
如果您能够分享有关如何运行流程的更多信息,这将有助于我们弄清楚这里发生了什么。
关于java - 为 Cordapp 多次调用 Controller 类中的 HTTP 路由,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62048908/
我目前正在尝试使用由countfloyd从github构建的手动付款栏示例来运行此Corda-settler。这是他的仓库中的link。在终端上运行命令gradlew clean deployNode
目前在 v2 中,如果 CorDapp 引用模块 X,该模块对模块 Y 具有传递依赖关系,因此 Corda 使用 Y,如果 Corda 和 X 各自的 Y 版本不同,则可能发生潜在的版本冲突。一个例子
我有一个基于Corda的项目,其中包含几个CorDapp子项目。我一直在寻找将JaCoCo代码覆盖范围添加到该项目中的方法。我希望在所有子项目JaCoCo报告的汇总报告中绘制一个代码覆盖率报告。 要将
我尝试创建具有两类状态(我的意思是两种不同状态)的 cordapp,但我没有找到这种情况的任何示例。我编写了不同的 ClientRPC 变体,但在尝试创建第二个状态时仍然有错误。是否可以实现?有人可以
我已经发布了我的CorDapp (corda 合约、状态和流程)使用发布任务和命令在 .m2 目录中创建项目:./gradlew cleanpublish。 现在,当我进入我的服务项目(单独的 gra
在 Corda 中,我想创建几个不同版本的响应程序流,每个版本都由不同的节点使用。 为此,我了解我需要在单独的 CorDapp 中定义每个响应程序流。但是,它们也都需要通过 InitiatedBy 注
我正在构建一个需要多个 CorDapps 的应用程序;我们就叫他们 LibCorDapp 和 AppCorDapp , 其中 AppCorDapp 取决于 LibCorDapp (就像 CorDapp
在 Corda 中,我想创建几个不同版本的响应程序流,每个版本都由不同的节点使用。 为此,我了解我需要在单独的 CorDapp 中定义每个响应程序流。但是,它们也都需要通过 InitiatedBy 注
我正在尝试运行描述的示例 cordapp here 问题是,当我运行 gradlew.bat deployNodes 命令时,我无法部署节点。我反复收到以下错误: Node in Notary exi
构建 CordApp-example 我将以下错误标记为致命但构建正常: 梯度构建 :java-source:compileJava[Fatal Error] corda-confidential-i
我尝试测试“Hello, World!”教程示例并收到以下错误: No matching constructor found: - [arg0: Integer, arg1: Party]: miss
当我尝试为 cordapp-template 中的流程运行此测试时: @Test fun flowRecordTransactionInBothVaults() { val flow = IO
我正在尝试运行 Contract 的 corda-bootcamp 测试用例。我按照视频中给出的方式进行操作,但是当尝试运行契约(Contract)测试时 - 我收到错误 java.io.NotSer
和有什么区别 编译 corda编译 科尔应用 例如: dependencies { compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotl
我一直在努力完成 Hello, World! Tutorial从V2.0开始,无法导入以下变量。 import static net.corda.docs.java.tutorial.hellowor
我看到多次调用路线/问题,不确定为什么会出现这样的行为 // initiate a flow using this route @GetMapping(value = "/issue"
当第一次使用 Kotlin-source 运行 corDapp(corDapp-example) 时,IntelliJ 会抛出这个错误——“在模块‘cordapp-example’中找不到错误类‘co
我们创建了一个应用程序: 2 个节点 + 1 个公证人 2 个 Web 应用程序(每个节点一个) Corda 版本为 3.2 CordApp 具有: 第一个流程,在输入中接收对象列表,用于创建状态列表
我正在为 Corda 构建工作流程。我想使用 Hikari 连接池库来连接 MySql 数据库。我不想替换 Ledger H2 数据库。该数据库用于存储/检索一些信息,这些信息在分类帐中不需要。我无需
每当我运行运行示例 Cordapp-Java 时,都会收到此错误。我是 Corda 新手,正在向 Corda 文档学习。请帮帮我。 at net.corda.testing.driver.Driver
我是一名优秀的程序员,十分优秀!