package
3.0.0+incompatible
Repository: https://github.com/hyperledger/fabric.git
Documentation: pkg.go.dev
# Functions
NewValidatorImpl constructs a new implementation of the Validator interface.
UnmarshalConfig attempts to unmarshal bytes to a *cb.Config.
UnmarshalConfigEnvelope attempts to unmarshal bytes to a *cb.ConfigEnvelope.
UnmarshalConfigEnvelopeOrPanic attempts to unmarshal bytes to a *cb.ConfigEnvelope or panics on error.
UnmarshalConfigOrPanic attempts to unmarshal bytes to a *cb.Config or panics on error.
UnmarshalConfigUpdate attempts to unmarshal bytes to a *cb.ConfigUpdate.
UnmarshalConfigUpdateEnvelope attempts to unmarshal bytes to a *cb.ConfigUpdate.
UnmarshalConfigUpdateEnvelopeOrPanic attempts to unmarshal bytes to a *cb.ConfigUpdateEnvelope or panics on error.
UnmarshalConfigUpdateFromPayload unmarshals configuration update from given payload.
UnmarshalConfigUpdateOrPanic attempts to unmarshal bytes to a *cb.ConfigUpdate or panics on error.
ValidateChannelID makes sure that proposed channel IDs comply with the following restrictions: 1.
# Variables
Constraints for valid channel and config IDs.
Constraints for valid channel and config IDs.
# Structs
ValidatorImpl implements the Validator interface.
# Interfaces
Validator provides a mechanism to propose config updates, see the config update results and validate the results of a config update.