Versions in this module Expand all Collapse all v1 v1.4.11 Mar 2, 2021 Changes in this version + func ConfigBlock(reader blockledger.Reader) *cb.Block + type BlockWriter struct + func (bw *BlockWriter) CreateNextBlock(messages []*cb.Envelope) *cb.Block + func (bw *BlockWriter) WriteBlock(block *cb.Block, encodedMetadataValue []byte) + func (bw *BlockWriter) WriteConfigBlock(block *cb.Block, encodedMetadataValue []byte) + type ChainSupport struct + func (cs *ChainSupport) Append(block *cb.Block) error + func (cs *ChainSupport) Block(number uint64) *cb.Block + func (cs *ChainSupport) BlockCutter() blockcutter.Receiver + func (cs *ChainSupport) ChainID() string + func (cs *ChainSupport) ConfigProto() *cb.Config + func (cs *ChainSupport) ProposeConfigUpdate(configtx *cb.Envelope) (*cb.ConfigEnvelope, error) + func (cs *ChainSupport) Reader() blockledger.Reader + func (cs *ChainSupport) Sequence() uint64 + func (cs *ChainSupport) Signer() crypto.LocalSigner + func (cs *ChainSupport) Validate(configEnv *cb.ConfigEnvelope) error + func (cs *ChainSupport) VerifyBlockSignature(sd []*cb.SignedData, envelope *cb.ConfigEnvelope) error + type Registrar struct + func NewRegistrar(config localconfig.TopLevel, ledgerFactory blockledger.Factory, ...) *Registrar + func (r *Registrar) BroadcastChannelSupport(msg *cb.Envelope) (*cb.ChannelHeader, bool, *ChainSupport, error) + func (r *Registrar) ChannelsCount() int + func (r *Registrar) CreateBundle(channelID string, config *cb.Config) (channelconfig.Resources, error) + func (r *Registrar) CreateChain(chainName string) + func (r *Registrar) GetChain(chainID string) *ChainSupport + func (r *Registrar) Initialize(consenters map[string]consensus.Consenter) + func (r *Registrar) NewChannelConfig(envConfigUpdate *cb.Envelope) (channelconfig.Resources, error) + func (r *Registrar) SystemChannelID() string