MCPcopy Create free account

hub / github.com/Trusted-IoT-Alliance/IOTRegistry / functions

Functions39 in github.com/Trusted-IoT-Alliance/IOTRegistry

↓ 7 callersFunctionHandleError
(t *testing.T, err error)
IOTRegistry_test.go:319
↓ 3 callersFunctioncheckQuery
* Checks that different queries return expected values. */
IOTRegistry_test.go:267
↓ 3 callersFunctionverify
* verifies an input signature against input public key and message. */
IOTRegistry.go:40
↓ 1 callersFunctionRegistrantToJSON
* declares, initializes, and marshalls struct containing owner information to JSON */
IOTRegistry.go:353
↓ 1 callersFunctioncreateRegistrant
* register a store type "Identites" to ledger by calling to Invoke() */
IOTRegistry_test.go:147
↓ 1 callersFunctioncreateRegistrantSig
* generates a signature for creating a registrant based on private key and message */
IOTRegistry_test.go:78
↓ 1 callersFunctiongenerateRegisterSpecSig
* generates a signature for registering a spec based on private key and message */
IOTRegistry_test.go:120
↓ 1 callersFunctiongenerateRegisterThingSig
* generates a signature for registering a thing based on private key and message */
IOTRegistry_test.go:97
↓ 1 callersFunctionregisterSpec
* registers a store type "Spec" to ledger by calling to Invoke() */
IOTRegistry_test.go:214
↓ 1 callersFunctionregisterThing
* registers a store type "Things" to ledger and an "Alias" store type for each member of string slice aliases by calling to Invoke() */
IOTRegistry_test.go:181
MethodInit
* Init is a required function in which necessary setup operations are performed. In this case, no such operations are needed. */
IOTRegistry.go:33
MethodInvoke
* Invoke is the central mechanism in hyperledger for creating transactions and putting them to the ledger. This function takes as arguments | a ch
IOTRegistry.go:74
MethodProtoMessage
()
IOTRegistryTX/IOTRegistry.pb.go:38
MethodProtoMessage
()
IOTRegistryTX/IOTRegistry.pb.go:49
MethodProtoMessage
()
IOTRegistryTX/IOTRegistry.pb.go:60
MethodProtoMessage
()
IOTRegistryStore/IOTRegistryStore.pb.go:35
MethodProtoMessage
()
IOTRegistryStore/IOTRegistryStore.pb.go:43
MethodProtoMessage
()
IOTRegistryStore/IOTRegistryStore.pb.go:54
MethodProtoMessage
()
IOTRegistryStore/IOTRegistryStore.pb.go:63
MethodQuery
* Query is a mechanism for requesting information from the ledger. There are three query methods in this chaincode: owner, thing, and spec. Each que
IOTRegistry.go:373
MethodReset
()
IOTRegistryTX/IOTRegistry.pb.go:36
MethodReset
()
IOTRegistryTX/IOTRegistry.pb.go:47
MethodReset
()
IOTRegistryTX/IOTRegistry.pb.go:58
MethodReset
()
IOTRegistryStore/IOTRegistryStore.pb.go:33
MethodReset
()
IOTRegistryStore/IOTRegistryStore.pb.go:41
MethodReset
()
IOTRegistryStore/IOTRegistryStore.pb.go:52
MethodReset
()
IOTRegistryStore/IOTRegistryStore.pb.go:61
MethodString
()
IOTRegistryTX/IOTRegistry.pb.go:37
MethodString
()
IOTRegistryTX/IOTRegistry.pb.go:48
MethodString
()
IOTRegistryTX/IOTRegistry.pb.go:59
MethodString
()
IOTRegistryStore/IOTRegistryStore.pb.go:34
MethodString
()
IOTRegistryStore/IOTRegistryStore.pb.go:42
MethodString
()
IOTRegistryStore/IOTRegistryStore.pb.go:53
MethodString
()
IOTRegistryStore/IOTRegistryStore.pb.go:62
FunctionTestIOTRegistryChaincode
* runs tests for four different hypothetical users: Alice, Gerald, Bob, and Cassandra */
IOTRegistry_test.go:342
FunctioncheckInit
(t *testing.T, stub *shim.MockStub, args []string)
IOTRegistry_test.go:136
Functionmain
()
IOTRegistry.go:480
FunctionrandString
* testing tool for creating randomized string with a certain character makeup */
IOTRegistry_test.go:58
FunctiontestEq
* tests whether two string slices are identical, returning true or false */
IOTRegistry_test.go:246