testsync_chaincode

package
Version: v0.0.0-...-667e438 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2019 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 TestSyncChaincode

type TestSyncChaincode struct {
}

TestSyncChaincode example simple Chaincode implementation

func (*TestSyncChaincode) Init

func (t *TestSyncChaincode) Init(stub shim.ChaincodeStubInterface, function string, args []string) ([]byte, error)

func (*TestSyncChaincode) Invoke

func (t *TestSyncChaincode) Invoke(stub shim.ChaincodeStubInterface, function string, args []string) ([]byte, error)

Transaction makes payment of X units from A to B

func (*TestSyncChaincode) Query

func (t *TestSyncChaincode) Query(stub shim.ChaincodeStubInterface, function string, args []string) ([]byte, error)

Query callback representing the query of a chaincode

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL