membership

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2025 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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(channelName string) *Service

func (*Service) DryUpdate added in v0.5.0

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 added in v0.5.0

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

func (*Service) Update added in v0.5.0

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