Documentation ¶
Overview ¶
This program is an erroneous chaincode program that attempts to put state in query context - query should return error
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SimpleChaincode ¶
type SimpleChaincode struct{}
SimpleChaincode example simple Chaincode implementation
func (*SimpleChaincode) Init ¶
func (t *SimpleChaincode) Init(stub shim.ChaincodeStubInterface) pb.Response
Init takes a string and int. These are stored as a key/value pair in the state
func (*SimpleChaincode) Invoke ¶
func (t *SimpleChaincode) Invoke(stub shim.ChaincodeStubInterface) pb.Response
Invoke is a no-op
Click to show internal directories.
Click to hide internal directories.