我在Ubuntu VM中使用http://hyperledger-fabric-doc.readthedocs.io/en/latest/getting_started.html进行Hyperledger Fabric设置.根据教程(fabric-samples/first-network),已经创建了两个具有两个对等组织的组织.我想动态地在现有组织中添加新组织或新对等方.请帮助我了解动态添加的步骤.
我想检查 DAML 代码中的条件,但一个值是一方,另一个是文本,因此得到错误:
• 无法匹配类型“Party”与“Text”之间的功能依赖性:约束“DA.Internal.Record.HasField“owner”AccountInfo Text”来自使用“DA.Internal.Record.getField”实例'DA.Internal.Record.HasField "owner" AccountInfo Party' at
if( login.party == "friend" || logout.party == "friend)
userCId <- create Users with userType= "Friendly User",..
return (Right userCId)
Run Code Online (Sandbox Code Playgroud)