{"modulePath":"github.com/eric-erki/https-hyperledger.org","version":"v1.4.4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package configtx\n\n## Types\n\n```go\ntype Validator struct {\n\t// ChainIDVal is returned as the result of ChainID()\n\tChainIDVal string\n\n\t// SequenceVal is returned as the result of Sequence()\n\tSequenceVal uint64\n\n\t// ApplyVal is returned by Apply\n\tApplyVal error\n\n\t// AppliedConfigUpdateEnvelope is set by Apply\n\tAppliedConfigUpdateEnvelope *cb.ConfigEnvelope\n\n\t// ValidateVal is returned by Validate\n\tValidateVal error\n\n\t// ProposeConfigUpdateError is returned as the error value for ProposeConfigUpdate\n\tProposeConfigUpdateError error\n\n\t// ProposeConfigUpdateVal is returns as the value for ProposeConfigUpdate\n\tProposeConfigUpdateVal *cb.ConfigEnvelope\n\n\t// ConfigProtoVal is returned as the value for ConfigProtoVal()\n\tConfigProtoVal *cb.Config\n}\n```\nValidator is a mock implementation of configtx.Validator\n\n```go\nfunc (cm *Validator) Apply(configEnv *cb.ConfigEnvelope) error\n```\nApply returns ApplyVal\n\n```go\nfunc (cm *Validator) ChainID() string\n```\nConsensusType returns the ConsensusTypeVal\n\n```go\nfunc (cm *Validator) ConfigProto() *cb.Config\n```\nConfigProto returns the ConfigProtoVal\n\n```go\nfunc (cm *Validator) ProposeConfigUpdate(update *cb.Envelope) (*cb.ConfigEnvelope, error)\n```\nProposeConfigUpdate\n\n```go\nfunc (cm *Validator) Sequence() uint64\n```\nBatchSize returns the BatchSizeVal\n\n```go\nfunc (cm *Validator) Validate(configEnv *cb.ConfigEnvelope) error\n```\nValidate returns ValidateVal\n\n","path":"github.com/eric-erki/https-hyperledger.org/common/mocks/configtx","name":"configtx","synopsis":"","isRedistributable":true}
