Versions in this module Expand all Collapse all v0 v0.2.2 Apr 28, 2026 Changes in this version + func CreateOrExtendConfigBlockWithCrypto(targetPath string, conf *ConfigBlock) (*common.Block, error) + func GetConsenterIdentities(artifactsPath string) ([]msp.SigningIdentity, error) + func GetConsenterMspDirs(artifactsPath string) []*msp.DirLoadParameters + func GetPeersIdentities(artifactsPath string) ([]msp.SigningIdentity, error) + func GetPeersMspDirs(artifactsPath string) []*msp.DirLoadParameters + func GetSigningIdentities(mspDirs ...*msp.DirLoadParameters) ([]msp.SigningIdentity, error) + func PrepareBlockHeaderAndMetadata(block *common.Block, p BlockPrepareParameters) *common.Block + type BlockPrepareParameters struct + ConsenterIDs []uint32 + ConsenterMetadata []byte + ConsenterSigners []msp.SigningIdentity + LastConfigBlockIndex uint64 + PrevBlock *common.Block + UseIdentifierHeader bool + type ConfigBlock struct + ChannelID string + OrdererEndpoints []*types.OrdererEndpoint + PeerOrganizationCount uint32