Documentation ¶
Index ¶
- type SidetreeTxnCC
- func (cc *SidetreeTxnCC) Chaincode() shim.Chaincode
- func (cc *SidetreeTxnCC) GetDBArtifacts([]string) map[string]*ccapi.DBArtifacts
- func (cc *SidetreeTxnCC) Init(stub shim.ChaincodeStubInterface) pb.Response
- func (cc *SidetreeTxnCC) Invoke(stub shim.ChaincodeStubInterface) (resp pb.Response)
- func (cc *SidetreeTxnCC) Name() string
- func (cc *SidetreeTxnCC) Version() string
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 (*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 ¶
func (cc *SidetreeTxnCC) Init(stub shim.ChaincodeStubInterface) pb.Response
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
Click to show internal directories.
Click to hide internal directories.