escc

package
v1.0.0-alpha2 Latest Latest
Warning

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

Go to latest
Published: May 12, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EndorserOneValidSignature

type EndorserOneValidSignature struct {
}

EndorserOneValidSignature implements the default endorsement policy, which is to sign the proposal hash and the read-write set

func (*EndorserOneValidSignature) Init

Init is called once when the chaincode started the first time

func (*EndorserOneValidSignature) Invoke

NOTE: this chaincode is meant to sign another chaincode's simulation results. It should not manipulate state as any state change will be silently discarded: the only state changes that will be persisted if this endorsement is successful is what we are about to sign, which by definition can't be a state change of our own.

Jump to

Keyboard shortcuts

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