Versions in this module Expand all Collapse all v0 v0.1.0 Feb 15, 2016 Changes in this version + func Start(cc Chaincode) error + type Chaincode interface + Query func(stub *ChaincodeStub, function string, args []string) ([]byte, error) + Run func(stub *ChaincodeStub, function string, args []string) ([]byte, error) + type ChaincodeStub struct + UUID string + func (stub *ChaincodeStub) DelState(key string) error + func (stub *ChaincodeStub) GetState(key string) ([]byte, error) + func (stub *ChaincodeStub) InvokeChaincode(chaincodeName string, function string, args []string) ([]byte, error) + func (stub *ChaincodeStub) PutState(key string, value []byte) error + func (stub *ChaincodeStub) QueryChaincode(chaincodeName string, function string, args []string) ([]byte, error) + func (stub *ChaincodeStub) RangeQueryState(startKey, endKey string) (*StateRangeQueryIterator, error) + type Handler struct + ChatStream PeerChaincodeStream + FSM *fsm.FSM + To string + type PeerChaincodeStream interface + Recv func() (*pb.ChaincodeMessage, error) + Send func(*pb.ChaincodeMessage) error + type StateRangeQueryIterator struct + func (iter *StateRangeQueryIterator) Close() error + func (iter *StateRangeQueryIterator) HasNext() bool + func (iter *StateRangeQueryIterator) Next() (string, []byte, error)