membership

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OrdererBroadcastType = "broadcast"
	OrdererDeliverType   = "deliver"
)

Variables

View Source
var (
	ErrInvalidEndpointFormat = fmt.Errorf("invalid endpoint format")
)

Functions

This section is empty.

Types

type FabricMSPManager

type FabricMSPManager interface {
	DeserializeIdentity(serializedIdentity []byte) (msp.Identity, error)
}

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewService

func NewService(channelID string) *Service

func (*Service) DryUpdate

func (c *Service) DryUpdate(env *cb.Envelope) error

func (*Service) GetMSPIDs

func (c *Service) GetMSPIDs() []string

GetMSPIDs retrieves the MSP IDs of the organizations in the current Channel configuration.

func (*Service) GetVerifier

func (c *Service) GetVerifier(identity view.Identity) (driver.Verifier, error)

func (*Service) IsValid

func (c *Service) IsValid(identity view.Identity) error

func (*Service) MSPManager

func (c *Service) MSPManager() driver.MSPManager

MSPManager returns the msp.MSPManager that reflects the current Channel configuration. Users should not memoize references to this object.

func (*Service) OrdererConfig

func (c *Service) OrdererConfig(cs driver.ConfigService) (string, []*grpc.ConnectionConfig, error)

func (*Service) Update

func (c *Service) Update(env *cb.Envelope) error

Jump to

Keyboard shortcuts

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