test

package
v2.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeChannelConfig

func MakeChannelConfig(channelID string) (*cb.Config, error)

func MakeGenesisBlock

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

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

func MakeGenesisBlockFromMSPs

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

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL