scc

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: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(providers ...interface{}) []scc.SelfDescribingSysCC

Create returns a list of system chain codes, initialized with the given providers.

func Register

func Register(ccCreator interface{})

Register registers a System Chaincode creator function. The system chaincode will be initialized during peer startup with all of its declared dependencies.

Types

type Registry added in v0.1.4

type Registry struct {
	// contains filtered or unexported fields
}

Registry maintains a registry of in-process system chaincode

func (*Registry) ChannelJoined added in v0.1.4

func (r *Registry) ChannelJoined(channelID string)

ChannelJoined is called when the peer joins a channel

func (*Registry) Initialize added in v0.1.4

func (r *Registry) Initialize() *Registry

Initialize is called on peer startup

Jump to

Keyboard shortcuts

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