Documentation ¶
Index ¶
- type Validator
- func (cm *Validator) Apply(configEnv *cb.ConfigEnvelope) error
- func (cm *Validator) ChainID() string
- func (cm *Validator) ConfigProto() *cb.Config
- func (cm *Validator) ProposeConfigUpdate(update *cb.Envelope) (*cb.ConfigEnvelope, error)
- func (cm *Validator) Sequence() uint64
- func (cm *Validator) Validate(configEnv *cb.ConfigEnvelope) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Validator ¶
type Validator struct { // ChainIDVal string // SequenceVal uint64 //ApplyVal由Apply返回 ApplyVal error // AppliedConfigUpdateEnvelope *cb.ConfigEnvelope //validateval由validate返回 ValidateVal error // ProposeConfigUpdateError error // ProposeConfigUpdateVal *cb.ConfigEnvelope //configProtoval作为configProtoval()的值返回 ConfigProtoVal *cb.Config }
func (*Validator) ConfigProto ¶
func (*Validator) ProposeConfigUpdate ¶
建议配置更新
Click to show internal directories.
Click to hide internal directories.