Hyperledger Fabric v1.1.0 Ubuntu16.04环境BYFN教程通道配置解析
在Ubuntu 16.04上执行Hyperledger Fabric v1.1.0 BYFN通道配置命令
我来梳理下在Ubuntu 16.04系统中,按照Hyperledger Fabric v1.1.0的BYFN(Build Your First Network)教程执行通道配置命令的完整操作和返回结果:
首先进入first-network目录后,先设置通道名称的环境变量:
root@sungil:~/fabric-samples/first-network# export CHANNEL_NAME=mychannel
接着执行configtxgen命令生成创建通道所需的交易文件:
root@sungil:~/fabric-samples/first-network# ../bin/configtxgen -profile TwoOrgsChannel -outputCreateChannelTx ./channel-artifacts/channel.tx -channelID $CHANNEL_NAME
执行上述命令后,返回的日志信息如下:
2018-03-19 13:11:51.489 KST [common/tools/configtxgen] main -> INFO 001 加载配置
2018-03-19 13:11:51.494 KST [common/tools/configtxgen] doOutputChannelCreateTx -> INFO 002 生成新的通道configtx
2018-03-19 13:11:51.495 KST [msp] get...
内容的提问来源于stack exchange,提问作者sung-il
相关产品推荐
相关产品推荐

