channel

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2022 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateConfigUpdateEnvelope

func CreateConfigUpdateEnvelope(channelID string, configUpdate *cb.ConfigUpdate) ([]byte, error)

Types

type SyncChannelResponse added in v0.0.3

type SyncChannelResponse struct {
	ApplicationTxId string
	OrdererTxId     string
	OrderersJoined  []string
	PeersJoined     []string
}

func SyncChannel

func SyncChannel(ctx context.Context, channelConfig appconfig.ChannelConfig, dcs map[string]*appconfig.DCClient, sdk *fabsdk.FabricSDK, configBackends []core.ConfigBackend, saveOrderer bool, savePeer bool, joinOrderers bool, joinPeers bool) (*SyncChannelResponse, error)

Jump to

Keyboard shortcuts

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