keylevelep

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EndorsementCC

type EndorsementCC struct {
}

EndorsementCC is an example chaincode that uses state-based endorsement. In the init function, it creates two KVS states, one public, one private, that can then be modified through chaincode functions that use the state-based endorsement chaincode convenience layer. The following chaincode functions are provided: -) "addorgs": supply a list of MSP IDs that will be added to the

state's endorsement policy

-) "delorgs": supply a list of MSP IDs that will be removed from

the state's endorsement policy

-) "delep": delete the key-level endorsement policy for the state altogether -) "listorgs": list the orgs included in the state's endorsement policy

func (*EndorsementCC) Init

Init callback

func (*EndorsementCC) Invoke

Invoke dispatcher

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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