检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
概述 欢迎使用区块链服务(Blockchain Service,简称BCS)。区块链服务可以帮助您在云上快速部署、管理、维护区块链网络,降低您使用区块链的门槛,让您专注于自身业务的开发与创新,实现业务快速上链。 BCS除了提供web界面管理运维资源之外,还提供了API调用方式,便
在左侧导航树中,选择“公共配置”。 在配置文件中,获取region0_id和external_global_domain_name。如图1和图2所示。 图1 获取external_global_domain_name 图2 获取region0_id 父主题: 使用前必读
InvitationDetail objects 被邀请的用户列表,对应信息可通过获取联盟成员列表(ListMembers)接口查询,或被邀请方已加入联盟,或邀请状态为released时,需填写准确的被邀请方bcs实例id和邀请状态 表4 InvitationDetail 参数 是否必选
inviter_projectid 是 String 邀请方项目ID。控制台->邀请方账号->我的凭证->API凭证->项目列表,选择对应的项目ID inviter_domainid 是 String 邀请方租户ID。控制台->邀请方账号->我的凭证->API凭证->账号ID inviter_username 是
serviceEndpoint String 服务介绍网址 credentialApplySchema CredentialApplySchema object 申请凭证所需数据的Schema 表5 CredentialApplySchema 参数 参数类型 描述 type String 类型
"projects": [ { "domain_id": "65382450e8f64ac0870cd180d14e684b", "is_domain": false, "parent_id": "
/v2/{project_id}/blockchains/{blockchain_id} 表1 路径参数 参数 是否必选 参数类型 描述 project_id 是 String 租户从IAM申请到的项目ID,一般为32位字符串 blockchain_id 是 String bcs 服务id
type 是 String 属性类型(plain,comparable和policy) value 是 policy-children-comparablevalue object 属性值,根据type确定具体参数。 当type为plain时,value为string类型属性值。
宿主Peer的运行日志中。 用户可以使用关键字“[peer.chaincode.dev-peer-组织ID-Peer编号-链代码名称-链代码版本]”在对应的Peer日志中进行搜索,例如使用关键字“[peer.chaincode.dev-peer-964fe19e96d4e28ff
String 发出邀请的租户名 invited_userinfo 是 Array of InvitedDomain objects 被邀请的用户列表 表4 InvitedDomain 参数 是否必选 参数类型 描述 invited_user 是 String 被邀请方租户 响应参数 状态码:
用户证书,每行末尾均需要增加显式换行符\n sk 是 String 用户私钥,每行末尾均需要增加显式换行符\n timestamp 是 String 时间戳 schemaIndex 是 String schema索引 响应参数 状态码: 200 表2 响应Body参数 参数 参数类型 描述 creator String
productID String 数据集产品id productName String 数据集产品名称 price String 订单价钱 applyTime String 订单申请时间 encryptedAesKey String 密钥 status String 订单状态 reason
productID String 数据集产品id productName String 数据集产品名称 price String 订单价钱 applyTime String 订单申请时间 encryptedAesKey String 密钥 status String 订单状态 reason
name_hash String 组织hash node_count Integer 组织节点 status String 状态 status_detail String 状态描述 表6 MemberInvitor 参数 参数类型 描述 invitor_bcs_id String 邀请方BCS服务实例ID
类型 description 否 String 描述信息 响应参数 状态码: 200 表3 响应Body参数 参数 参数类型 描述 schemaIndex String 模板存储在链上的索引 credentialSchema CredentialSchema object CredentialSchema
CredentialSubject 参数 参数类型 描述 owner String 申请者的身份标识 type String 凭证类型 schemaID String schema ID dataURI String 数据URI encryptedAeskey String 加密对称密钥
"Allow", "Action": [ "bcs:fabricInstance:getDetail", "bcs:fabricChannel:create", "bcs:fabricChannel:list"
b-go 10 github.com/hyperledger/fabric-protos-go 11 github.com/magiconair/properties 12 github.com/miekg/pkcs11 13 github.com/mitchellh/mapstructure
异常情况,减少异常造成的损失。BCS磁盘相关的指标如下表所示: 表1 节点指标 指标名称 指标描述 指标含义 取值范围 单位 diskAvailableCapacity 可用磁盘空间 还未使用的磁盘空间 >=0 兆字节(Megabytes) diskCapacity 磁盘空间容量
name_hash String 组织hash node_count Integer 组织节点 status String 状态 status_detail String 状态描述 状态码: 400 表8 响应Body参数 参数 参数类型 描述 error_code String 错误码 最小长度:8