Hyperledger Fabric command "Generate"

Source: Internet
Author: User

sudo./byfn.sh-m Generate

a@ubuntu:~/hyfa/fabric-samples/first-network$ sudo./byfn.sh-m Generate

Generating Certs and Genesis block for with Channel ' MyChannel ' and CLI timeout of ' seconds and CLI delay of ' 3 ' Secon Ds

Continue? [y/n] Y

Proceeding ...

/home/a/hyfa/fabric-samples/first-network/. /bin/cryptogen

> Generate certificates with Cryptogen tool

Generate Certificates using Cryptogen tool

+cryptogen Generate--config=./crypto-config.yaml

Org1.example.com

Org2.example.com

+res=0

+set +x

/home/a/hyfa/fabric-samples/first-network/. /bin/configtxgen

> Creating Orderer Blocks

Generating Orderer Genesis block

+configtxgen-profile Twoorgsorderergenesis-outputblock./channel-artifacts/genesis.block

[Common/tools/configtxgen] Download configuration

2018-07-09 18:39:18.313 PDT [Common/tools/configtxgen] Main--INFO 001 Loading Configuration

[MSP] Download nodeous

2018-07-09 18:39:18.335 PDT [MSP] Getmspconfig-INFO 002 Loading nodeous

[MSP] Download nodeous

2018-07-09 18:39:18.335 PDT [MSP] Getmspconfig-INFO 003 Loading nodeous

[Common/tools/configtxgen]
creating Genesis blocks

2018-07-09 18:39:18.335 PDT [Common/tools/configtxgen] Dooutputblock-INFO 004 generating Genesis Block

[Common/tools/configtxgen] writing to the Genesis Block

2018-07-09 18:39:18.335 PDT [Common/tools/configtxgen] Dooutputblock-INFO 005 Writing Genesis Block

+res=0

+set +x

> Create Channel Configuration Transactions

Generating channel configuration transaction ' Channel.tx '

+configtxgen-profile Twoorgschannel-outputcreatechanneltx./channel-artifacts/channel.tx-channelid MyChannel

INFO 001 Download Configuration

2018-07-09 18:39:18.352 PDT [Common/tools/configtxgen] Main--INFO 001 Loading Configuration

INFO 002 Generate trading Configuration

2018-07-09 18:39:18.358 PDT [Common/tools/configtxgen] Dooutputchannelcreatetx-INFO 002 generating new channel conf Igtx

[MSP]--info 003 Download nodeous

2018-07-09 18:39:18.358 PDT [MSP] Getmspconfig-INFO 003 Loading nodeous

[MSP]--info 004 Download nodeous

2018-07-09 18:39:18.359 PDT [MSP] Getmspconfig-INFO 004 Loading nodeous

[Common/tools/configtxgen] Write channel transactions

2018-07-09 18:39:18.384 PDT [Common/tools/configtxgen] dooutputchannelcreatetx-INFO 005 Writing new Channel TX

+res=0

+set +x

> Update Org1msp, Generate anchor node

Generating anchor peer update for ORG1MSP

+configtxgen-profile Twoorgschannel

-outputanchorpeersupdate./channel-artifacts/org1mspanchors.tx-channelid mychannel-asorg Org1MSP

Download Configuration

2018-07-09 18:39:18.392 PDT [Common/tools/configtxgen] Main--INFO 001 Loading Configuration

Generate anchor node updates

2018-07-09 18:39:18.400 PDT [Common/tools/configtxgen] dooutputanchorpeersupdate-INFO 002 Generating anchor peer up Date

Write anchor node

2018-07-09 18:39:18.401 PDT [Common/tools/configtxgen] dooutputanchorpeersupdate-INFO 003 Writing anchor Peer Update

+res=0

+set +x

> Update Org2msp Generate Anchor node

Generating anchor peer update for ORG2MSP

+configtxgen-profile Twoorgschannel

-outputanchorpeersupdate./channel-artifacts/org2mspanchors.tx-channelid mychannel-asorg Org2MSP

[Common/tools/configtxgen] Download configuration

2018-07-09 18:39:18.408 PDT [Common/tools/configtxgen] Main--INFO 001 Loading Configuration

[Common/tools/configtxgen] generating anchor node updates

2018-07-09 18:39:18.421 PDT [Common/tools/configtxgen] dooutputanchorpeersupdate-INFO 002 Generating anchor peer up Date

[Common/tools/configtxgen] write anchor node update

2018-07-09 18:39:18.421 PDT [Common/tools/configtxgen] dooutputanchorpeersupdate-INFO 003 Writing anchor Peer Update

+res=0

+set +x

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.