notifier

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Notifier

type Notifier struct {
	api.BlockPublisherProvider
	// contains filtered or unexported fields
}

Notifier notifies the update handler of any chaincode updates

func New

func New(handler updateHandler, bpp api.BlockPublisherProvider, stateDBProvider stateDBProvider) *Notifier

New creates a new chaincode update notifier

func (*Notifier) ChannelJoined

func (ci *Notifier) ChannelJoined(channelID string)

ChannelJoined is called when a peer joins a channel

Jump to

Keyboard shortcuts

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