检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
type Chaincode interface { Init(stub ChaincodeStubInterface) pb.Response Invoke(stub ChaincodeStubInterface) pb.Response } 2.2风格(使用
Chaincode implementation public class SimpleChaincode extends ChaincodeBase { private static Log logger = LogFactory.getLog(SimpleChaincode.class
]visitInterface Fail,/api/v2/projects/xxx/clusters response state not OK,code:500 CCE服务异常 CreateBlockchainService]DeleteKubeResource failed,
String 操作详情 sub_steps Map<String,SubDetail> 子操作, "map[string][SubDetail] key:子操作名 value:子操作结果" serial_num Long 序列号 表9 SubDetail 参数 参数类型 描述 substep_name
400 BCS.4001109 Operation failed. Failed to obtain the peer organization status. Try again later. 操作失败,获取节点组织状态失败,请稍后再试 稍后重试。
400 BCS.4001109 Operation failed. Failed to obtain the peer organization status. Try again later. 操作失败,获取节点组织状态失败,请稍后再试 稍后重试。
发送balanceinfo到交易Chaincode。
2.1.0.6.41 <dependency> <groupId>com.huawei.wienerchain</groupId> <artifactId>wienerchain-java-sdk</artifactId> <version>2.1.0.6.41
返回值 类型 说明 WienerChainNode WienerChainNode对象。 获取交易ID 交易ID作为交易的标识,是交易哈希的十六进制字符串形式。以下获得交易ID的方法是通过计算交易哈希,然后转化为十六进制字符串获得的。
>> Success 表4 ShowTransactionDetailRes 参数 参数类型 描述 read_set Map<String,Array<KVRead>> 读集 "map[string][]KVRead key:chaincode value:键值对数组" write_set
https://{{domain}}/v1/e2ee/org/encrypt { "message" : "hello, this test message", "target_org_ids" : [ "organization2-kdkvs88qk" ], "up_to_chain
onChainStore 否 String 数据密文是否在链上存储,可设置为“true”或“false”,默认为“false”。
同态加密链代码IDChaincode.go:在同态加密的场景下,用户在部署应用前需要下载安装并且实例化此链代码至区块链实例。 Chaincode库:提供零知识证明功能,用于在密文条件下,校验用户交易的证明,并生成交易后的数据,使背书者无需解密用户交易的数据,达到余额范围的判断。
同态加密 概述 同态加密库的使用 AHE Lib库接口 Chaincode库接口 IDChaincode 链代码示例 应用示例 同态加密交易验证Demo 父主题: 附录
docker build -t tongtaidemotest:byl1 . docker save tongtaidemotest:byl1>tongtaitest.tar 请确保本地有euleros:2.2.5镜像,否则将会打包失败。 上传镜像。
"bcs:huaweiCloudChain*:create*", "bcs:huaweiCloudChain*:install", "bcs:huaweiCloudChain*:download*"
URI GET /v2/agent/apis/channel/{channel_name}/transactions 表1 路径参数 参数 是否必选 参数类型 描述 channel_name 是 String 通道名称,名称长度限制:4-24,不能与系统通道名称(testchainid
comparable) value 是 String 属性值(当type为plain时,value为属性值。
comparable) value 是 String 属性值(当type为plain时,value为属性值。
gatewayjavademo工程中config目录下demo-channel-sdk-config.yaml文件,必须与gatewayjavademo/src/main/java/handler/Main.java和MainForMultiTask文件中helper.setConfigCtx