Documentation ¶
Index ¶
- Constants
- func MakeChannelCreationTransaction(channelID string, signer crypto.LocalSigner, conf *genesisconfig.Profile) (*cb.Envelope, error)
- func NewApplicationGroup(conf *genesisconfig.Application) (*cb.ConfigGroup, error)
- func NewApplicationOrgGroup(conf *genesisconfig.Organization) (*cb.ConfigGroup, error)
- func NewChannelCreateConfigUpdate(channelID string, conf *genesisconfig.Profile) (*cb.ConfigUpdate, error)
- func NewChannelGroup(conf *genesisconfig.Profile) (*cb.ConfigGroup, error)
- func NewConsortiumGroup(conf *genesisconfig.Consortium) (*cb.ConfigGroup, error)
- func NewConsortiumsGroup(conf map[string]*genesisconfig.Consortium) (*cb.ConfigGroup, error)
- func NewOrdererGroup(conf *genesisconfig.Orderer) (*cb.ConfigGroup, error)
- func NewOrdererOrgGroup(conf *genesisconfig.Organization) (*cb.ConfigGroup, error)
- type Bootstrapper
Constants ¶
View Source
const ( ConsensusTypeSolo = "solo" ConsensusTypeKafka = "kafka" BlockValidationPolicyKey = "BlockValidation" OrdererAdminsPolicy = "/Channel/Orderer/Admins" SignaturePolicyType = "Signature" ImplicitMetaPolicyType = "ImplicitMeta" )
Variables ¶
This section is empty.
Functions ¶
func MakeChannelCreationTransaction ¶
func MakeChannelCreationTransaction(channelID string, signer crypto.LocalSigner, conf *genesisconfig.Profile) (*cb.Envelope, error)
func NewApplicationGroup ¶
func NewApplicationGroup(conf *genesisconfig.Application) (*cb.ConfigGroup, error)
func NewApplicationOrgGroup ¶
func NewApplicationOrgGroup(conf *genesisconfig.Organization) (*cb.ConfigGroup, error)
func NewChannelCreateConfigUpdate ¶
func NewChannelCreateConfigUpdate(channelID string, conf *genesisconfig.Profile) (*cb.ConfigUpdate, error)
func NewChannelGroup ¶
func NewChannelGroup(conf *genesisconfig.Profile) (*cb.ConfigGroup, error)
func NewConsortiumGroup ¶
func NewConsortiumGroup(conf *genesisconfig.Consortium) (*cb.ConfigGroup, error)
func NewConsortiumsGroup ¶
func NewConsortiumsGroup(conf map[string]*genesisconfig.Consortium) (*cb.ConfigGroup, error)
func NewOrdererGroup ¶
func NewOrdererGroup(conf *genesisconfig.Orderer) (*cb.ConfigGroup, error)
func NewOrdererOrgGroup ¶
func NewOrdererOrgGroup(conf *genesisconfig.Organization) (*cb.ConfigGroup, error)
Types ¶
type Bootstrapper ¶
type Bootstrapper struct {
// contains filtered or unexported fields
}
func New ¶
func New(config *genesisconfig.Profile) *Bootstrapper
func (*Bootstrapper) GenesisBlock ¶
func (bs *Bootstrapper) GenesisBlock() *cb.Block
func (*Bootstrapper) GenesisBlockForChannel ¶
func (bs *Bootstrapper) GenesisBlockForChannel(channelID string) *cb.Block
Click to show internal directories.
Click to hide internal directories.