txn

package
v0.1.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SidetreeTxnCC

type SidetreeTxnCC struct {
	// contains filtered or unexported fields
}

SidetreeTxnCC ...

func New added in v0.1.1

func New(name string) *SidetreeTxnCC

New returns chaincode

func (*SidetreeTxnCC) Chaincode added in v0.1.1

func (cc *SidetreeTxnCC) Chaincode() shim.Chaincode

Chaincode returns the SidetreeTxn chaincode

func (*SidetreeTxnCC) GetDBArtifacts added in v0.1.1

func (cc *SidetreeTxnCC) GetDBArtifacts([]string) map[string]*ccapi.DBArtifacts

GetDBArtifacts returns Couch DB indexes for the 'docs' collection

func (*SidetreeTxnCC) Init

Init - nothing to do for now

func (*SidetreeTxnCC) Invoke

func (cc *SidetreeTxnCC) Invoke(stub shim.ChaincodeStubInterface) (resp pb.Response)

Invoke manages metadata lifecycle operations (writeContent, readContent)

func (*SidetreeTxnCC) Name added in v0.1.1

func (cc *SidetreeTxnCC) Name() string

Name returns the name of this chaincode

func (*SidetreeTxnCC) Version added in v0.1.2

func (cc *SidetreeTxnCC) Version() string

Version returns the version of this chaincode

Jump to

Keyboard shortcuts

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