Documentation ¶
Index ¶
- func GetLocalMsp(mspsDir string, mspID string) (msp.MSP, error)
- func GetLocalMspConfig(mspsDir string, mspID string) (*msppb.MSPConfig, *factory.FactoryOpts, error)
- func GetLocalVerifyingMspConfig(mspsDir string, mspID string) (*msppb.MSPConfig, error)
- func GetVerifyingConfig(mconf *msppb.MSPConfig) error
- func SetupLocalMsp(mspConf *msppb.MSPConfig, bccspConf *factory.FactoryOpts) (msp.MSP, error)
- type MSPTestFixture
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLocalMspConfig ¶
func GetLocalVerifyingMspConfig ¶
return MSPConfig with no signing identity
func GetVerifyingConfig ¶
get MSPConfig for verifying
func SetupLocalMsp ¶
Types ¶
type MSPTestFixture ¶
type MSPTestFixture struct { MSPID string MSPConf *msppb.MSPConfig MSP msp.MSP Signer msp.SigningIdentity }
func GetMSPFixture ¶
func GetMSPFixture(mspsDir string, mspID string) (*MSPTestFixture, error)
Click to show internal directories.
Click to hide internal directories.