fabric: github.com/hyperledger/fabric/common/configtx/test Index | Files

package test

import "github.com/hyperledger/fabric/common/configtx/test"


Package Files


func MakeGenesisBlock Uses

func MakeGenesisBlock(chainID string) (*cb.Block, error)

MakeGenesisBlock creates a genesis block using the test templates for the given chainID

func MakeGenesisBlockFromMSPs Uses

func MakeGenesisBlockFromMSPs(chainID string, appMSPConf, ordererMSPConf *mspproto.MSPConfig, appOrgID, ordererOrgID string) (*cb.Block, error)

MakeGenesisBlockWithMSPs creates a genesis block using the MSPs provided for the given chainID

Package test imports 11 packages (graph) and is imported by 50 packages. Updated 2019-11-20. Refresh now. Tools for package owners.