Versions in this module Expand all Collapse all v1 v1.4.9 Jul 22, 2021 Changes in this version + func UnmarshalConfig(data []byte) (*cb.Config, error) + func UnmarshalConfigEnvelope(data []byte) (*cb.ConfigEnvelope, error) + func UnmarshalConfigEnvelopeOrPanic(data []byte) *cb.ConfigEnvelope + func UnmarshalConfigOrPanic(data []byte) *cb.Config + func UnmarshalConfigUpdate(data []byte) (*cb.ConfigUpdate, error) + func UnmarshalConfigUpdateEnvelope(data []byte) (*cb.ConfigUpdateEnvelope, error) + func UnmarshalConfigUpdateEnvelopeOrPanic(data []byte) *cb.ConfigUpdateEnvelope + func UnmarshalConfigUpdateFromPayload(payload *cb.Payload) (*cb.ConfigUpdate, error) + func UnmarshalConfigUpdateOrPanic(data []byte) *cb.ConfigUpdate + type Validator interface + ChainID func() string + ConfigProto func() *cb.Config + ProposeConfigUpdate func(configtx *cb.Envelope) (*cb.ConfigEnvelope, error) + Sequence func() uint64 + Validate func(configEnv *cb.ConfigEnvelope) error + type ValidatorImpl struct + func NewValidatorImpl(channelID string, config *cb.Config, namespace string, pm policies.Manager) (*ValidatorImpl, error) + func (vi *ValidatorImpl) ChainID() string + func (vi *ValidatorImpl) ConfigProto() *cb.Config + func (vi *ValidatorImpl) ProposeConfigUpdate(configtx *cb.Envelope) (*cb.ConfigEnvelope, error) + func (vi *ValidatorImpl) Sequence() uint64 + func (vi *ValidatorImpl) Validate(configEnv *cb.ConfigEnvelope) error