我试图只将特定的状态持久化到观察者节点的保险库状态。
在我的usecase观察者是现金发行者,其中观察员发放现金和转移到其他节点在corda网络。当corda节点执行事务时,作为观察者,节点的所有现金状态也会在观察者节点上持久化。
当试图从观察者那里重新发行现金时,会出现以下错误:
java.util.NoSuchElementException: Collection contains no element matching the predicate.
at net.corda.node.services.keys.PersistentKeyManagementServic
当我测试一个Contract,它的ContractState具有到另一个状态的LinearPointer时,日志首先显示警告 [WARN] 15:13:20,131 [Test worker] transactions.TransactionBuilder. - WARNING: You must pass in a ServiceHub reference to TransactionBuilder to resolve state pointers outside of flows. If you are writing a unit test then pass in a MockSe
是否可以在一个流中创建和使用相同的corda状态,或者在不同的子流中创建和使用它?我得到以下错误:Caused by: net.corda.core.flows.NotaryException: Unable to notarise transactionBEDE8C3F8F2D7A646A9F7D1948DAF77CDAFC37F3B086E09FC766F0D412F02690: One or more input states have been used in another transaction
在Corda3.1中,我正在运行一个带有验证公证人的网络。当公证人将事务作为FinalityFlow的一部分进行验证时,将抛出以下异常。是什么导致了这种异常?
java.lang.UnsupportedOperationException: Serialization scheme not supported.
at net.corda.nodeapi.internal.serialization.NotSupportedSerializationScheme.doThrow(SerializationScheme.kt:19) ~[corda-node-api-3.1-corda.j