Documentation ¶
Index ¶
- func ChannelListMatcher(list ChannelList, expectedChannels []string)
- func GenerateJoinRequest(url, channel string, blockBytes []byte) *http.Request
- func Join(n *nwo.Network, o *nwo.Orderer, channel string, block *common.Block, ...)
- func JoinOrdererAppChannel(network *nwo.Network, channelID string, orderer *nwo.Orderer, ...)
- func JoinOrdererJoinPeersAppChannel(network *nwo.Network, channelID string, orderer *nwo.Orderer, ...)
- func JoinOrderersAppChannelCluster(network *nwo.Network, channelID string, orderers ...*nwo.Orderer)
- func Remove(n *nwo.Network, o *nwo.Orderer, channel string)
- type ChannelInfo
- type ChannelInfoShort
- type ChannelList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChannelListMatcher ¶
func ChannelListMatcher(list ChannelList, expectedChannels []string)
func GenerateJoinRequest ¶
func JoinOrdererAppChannel ¶
func JoinOrdererAppChannel(network *nwo.Network, channelID string, orderer *nwo.Orderer, ordererRunner *ginkgomon.Runner)
JoinOrdererAppChannel Joins an orderer to a channel for which the genesis block was created by the network bootstrap. It assumes a channel with one orderer. It waits for a leader (single orderer, always node=1).
func JoinOrdererJoinPeersAppChannel ¶
func JoinOrdererJoinPeersAppChannel(network *nwo.Network, channelID string, orderer *nwo.Orderer, ordererRunner *ginkgomon.Runner)
JoinOrdererJoinPeersAppChannel Joins an orderer to a channel for which the genesis block was created by the network bootstrap. It assumes a channel with one orderer. It waits for a leader (single orderer, always node=1), and then joins all the peers to the channel.
func JoinOrderersAppChannelCluster ¶
func JoinOrderersAppChannelCluster(network *nwo.Network, channelID string, orderers ...*nwo.Orderer)
JoinOrderersAppChannelCluster Joins a set of orderers to a channel for which the genesis block was created by the network bootstrap. It assumes a channel with one or more orderers (a cluster).
Types ¶
type ChannelInfo ¶
type ChannelInfoShort ¶
type ChannelList ¶
type ChannelList struct { // Deprecated: system channel no longer supported SystemChannel *ChannelInfoShort `json:"systemChannel"` Channels []ChannelInfoShort `json:"channels"` }