configtx

package
v0.0.0-...-95b87ed Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Validator

type Validator struct {
	ChannelIDVal string

	SequenceVal uint64

	ApplyVal error

	AppliedConfigUpdateEnvelope *cb.ConfigEnvelope

	ValidateVal error

	ProposeConfigUpdateError error

	ProposeConfigUpdateVal *cb.ConfigEnvelope

	ConfigProtoVal *cb.Config
}

func (*Validator) Apply

func (cm *Validator) Apply(configEnv *cb.ConfigEnvelope) error

func (*Validator) ChannelID

func (cm *Validator) ChannelID() string

func (*Validator) ConfigProto

func (cm *Validator) ConfigProto() *cb.Config

func (*Validator) ProposeConfigUpdate

func (cm *Validator) ProposeConfigUpdate(update *cb.Envelope) (*cb.ConfigEnvelope, error)

func (*Validator) Sequence

func (cm *Validator) Sequence() uint64

func (*Validator) Validate

func (cm *Validator) Validate(configEnv *cb.ConfigEnvelope) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL