Tools, FAQ, Tutorials:
Generate Genesis Block for Orderer
How to generate the Generate Genesis Block for the Orderer peer?
✍: FYIcenter.com
When running a Hyperledger Fabric network,
orderer peers also maintains a special blockchain called the
orderer system channel (or ordering system channel).
If you are starting a new orderer peer, you need to generate the genesis block for the orderer system channel.
You can use the configtxgen tool provided in ~/hyperledger-binaries/fabric-samples/bin directory to generate the genesis block.
You can use the configtxgen tool provided in ~/hyperledger-binaries/fabric-samples/bin directory to generate a new genesis block.
Or you can borrow the one created in BYFN tutorials:
$ cd fabric-orderer $ cp ~/hyperledger-binaries/fabric-samples/first-network\ /channel-artifacts/genesis.block . $ ls -l genesis.block -rw-r--r-- 1 fyicenter 12980 Apri 1 02:13 genesis.block
⇒ docker-compose-orderer.yaml - Docker Configuration
⇐ orderer.yaml - Orderer Peer Configuration File
2019-08-23, 1433🔥, 0💬
Popular Posts:
How To Access a Global Variable inside a Function? in PHP? By default, global variables are not acce...
How to read RSS validation errors at w3.org? If your RSS feed has errors, the RSS validator at w3.or...
dev.FYIcenter.com is a Website for software developer looking for software development technologies,...
How to detect errors occurred in the json_decode() call? You can use the following two functions to ...
How to run CMD Commands in Dockerfile to change Windows Docker images? When building a new Windows i...