Skip to content

Block and awe

James Taylor edited this page May 1, 2019 · 1 revision

The following command shows the contents of the basic-network genesis block (or any network for that matter):

configtxlator proto_decode --type common.Block --input ./genesis.block

When the network is running, you can have a look at the contents of blocks using these commands:

peer channel fetch newest -c mychannel
configtxlator proto_decode --type common.Block --input mychannel_newest.block