util

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrOrdererGroupNotFound = errors.New(`orderer addresses not found`)
)

Functions

func CreateCompositeKey added in v0.1.4

func CreateCompositeKey(objectType string, attributes []string) (string, error)

func GetOrdererHostFromChannelConfig added in v0.4.0

func GetOrdererHostFromChannelConfig(conf *common.Config) (string, error)

func ProceedChannelUpdate added in v0.4.0

func ProceedChannelUpdate(
	ctx context.Context,
	channelName string,
	update *common.ConfigUpdate,
	orderer api.Orderer,
	ids []msp.SigningIdentity,
) error

ProceedChannelUpdate - sends channel update config with signatures of all provided identities

func SplitCompositeKey added in v0.1.4

func SplitCompositeKey(compositeKey string) (string, []string)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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