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

package test

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

Index

Package Files

helper.go

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 14 packages. Updated 2019-03-04. Refresh now. Tools for package owners.