hyperledger-fabric - super 账本结构无法生成排序器创世 block

标签 hyperledger-fabric hyperledger

我的第一个网络由fn.sh生成,出现configtxgen无法生成创世块。
我的错误如下:

[root@demo first-network]# ./byfn.sh generate
Generating certs and genesis block for with channel 'mychannel' and CLI timeout of '10' seconds and CLI delay of '3' seconds
Continue? [Y/n] y
proceeding ...
/storage/u01/hyperledger/bin/cryptogen

##########################################################
##### Generate certificates using cryptogen tool #########
##########################################################
org1.example.com
org2.example.com

/storage/u01/hyperledger/bin/configtxgen
##########################################################
#########  Generating Orderer Genesis block ##############
##########################################################
2018-02-26 11:00:08.152 CST [common/configtx/tool] main -> INFO 001 Loading configuration
2018-02-26 11:00:08.155 CST [common/configtx/tool/localconfig] Load -> CRIT 002 Error unmarshaling config into struct:  4 error(s) decoding:

* '' has invalid keys: capabilities
* 'Profiles[TwoOrgsChannel].Application' has invalid keys: Capabilities
* 'Profiles[TwoOrgsOrdererGenesis]' has invalid keys: Capabilities
* 'Profiles[TwoOrgsOrdererGenesis].Orderer' has invalid keys: Capabilities
Failed to generate orderer genesis block...
我的 docker 版本:
Docker version 17.03.1-ce
我的版本:
go version go1.8.3 linux/amd64
我的操作系统版本:
Centos 7.2
我的 configtx.yaml 如下图所示:
configtx.yaml screenshot

最佳答案

使用 1.1.0(不是 1.0.6)重新下载特定于平台的二进制文件 -> OK

curl -sSL [下载脚本][1] | bash -s 1.1.0

关于hyperledger-fabric - super 账本结构无法生成排序器创世 block ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48985776/

相关文章:

go - Go 编译错误 : cannot use new(SimpleChaincode)

blockchain - Hyperledger fabcar 示例结构显示连接失败错误

docker - 在 Ubuntu18.04 上使用 Fabric 1.4 以 "fatal error: unexpected signal during runtime execution"启动后,对等点立即退出

go - 如何设计一个在另一个对等点上调用相同的链代码?

macos - 在Mac上使用Docker构建Hyperledger Fabric

javascript - super 账本查询永远不会返回结果

docker - Hyperledger-部署到多个主机时Docker群集失败

hyperledger-fabric - anchor 对战 CORE_PEER_GOSSIP_EXTERNALENDPOINT?

hyperledger-fabric - 如何在云中部署 super 账本结构/组合器?

go - 通过值获取世界状态