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 ¶
func (e *EndorserOneValidSignature) Init(stub shim.ChaincodeStubInterface) pb.Response
Init is called once when the chaincode started the first time
func (*EndorserOneValidSignature) Invoke ¶
func (e *EndorserOneValidSignature) Invoke(stub shim.ChaincodeStubInterface) pb.Response
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.
Click to show internal directories.
Click to hide internal directories.