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(channelID string) (*cb.Block, error)

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

func MakeGenesisBlockFromMSPs Uses

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

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

Package test imports 11 packages (graph) and is imported by 71 packages. Updated 2020-04-10. Refresh now. Tools for package owners.