Documentation ¶
Index ¶
- Constants
- func ApplicationOrgTemplate() configtx.Template
- func CompositeTemplate() configtx.Template
- func MakeGenesisBlock(chainID string) (*cb.Block, error)
- func MakeGenesisBlockFromMSPs(chainID string, appMSPConf, ordererMSPConf *mspproto.MSPConfig, ...) (*cb.Block, error)
- func OrdererOrgTemplate() configtx.Template
- func OrdererTemplate() configtx.Template
Constants ¶
View Source
const (
// AcceptAllPolicyKey is the key of the AcceptAllPolicy.
AcceptAllPolicyKey = "AcceptAllPolicy"
)
Variables ¶
This section is empty.
Functions ¶
func ApplicationOrgTemplate ¶
ApplicationOrgTemplate returns the SAMPLE org with MSP template
func CompositeTemplate ¶
CompositeTemplate returns the composite template of peer, orderer, and MSP
func MakeGenesisBlock ¶
MakeGenesisBlock creates a genesis block using the test templates for the given chainID
func MakeGenesisBlockFromMSPs ¶
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
func OrdererOrgTemplate ¶
OrdererOrgTemplate returns the SAMPLE org with MSP template
func OrdererTemplate ¶
OrderererTemplate returns the test orderer template
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.