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, ∼2011🔥, 0💬
Popular Posts:
How to use the built-in "context" object in Policy expressions? The built-in "context" object can be...
How to pull NVIDIA CUDA Docker Image with the "docker image pull nvidia/cuda" command? If you are ru...
How To Truncate an Array in PHP? If you want to remove a chunk of values from an array, you can use ...
How to use "{{...}}" Liquid Codes in "set-body" Policy Statement? The "{{...}}" Liquid Codes in "set...
How to use the "send-one-way-request" Policy statement to call an extra web service for an Azure API...