Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Trusted-IoT-Alliance/IOTRegistry
/ functions
Functions
39 in github.com/Trusted-IoT-Alliance/IOTRegistry
⨍
Functions
39
◇
Types & classes
10
↓ 7 callers
Function
HandleError
(t *testing.T, err error)
IOTRegistry_test.go:319
↓ 3 callers
Function
checkQuery
* Checks that different queries return expected values. */
IOTRegistry_test.go:267
↓ 3 callers
Function
verify
* verifies an input signature against input public key and message. */
IOTRegistry.go:40
↓ 1 callers
Function
RegistrantToJSON
* declares, initializes, and marshalls struct containing owner information to JSON */
IOTRegistry.go:353
↓ 1 callers
Function
createRegistrant
* register a store type "Identites" to ledger by calling to Invoke() */
IOTRegistry_test.go:147
↓ 1 callers
Function
createRegistrantSig
* generates a signature for creating a registrant based on private key and message */
IOTRegistry_test.go:78
↓ 1 callers
Function
generateRegisterSpecSig
* generates a signature for registering a spec based on private key and message */
IOTRegistry_test.go:120
↓ 1 callers
Function
generateRegisterThingSig
* generates a signature for registering a thing based on private key and message */
IOTRegistry_test.go:97
↓ 1 callers
Function
registerSpec
* registers a store type "Spec" to ledger by calling to Invoke() */
IOTRegistry_test.go:214
↓ 1 callers
Function
registerThing
* 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
Method
Init
* Init is a required function in which necessary setup operations are performed. In this case, no such operations are needed. */
IOTRegistry.go:33
Method
Invoke
* 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
Method
ProtoMessage
()
IOTRegistryTX/IOTRegistry.pb.go:38
Method
ProtoMessage
()
IOTRegistryTX/IOTRegistry.pb.go:49
Method
ProtoMessage
()
IOTRegistryTX/IOTRegistry.pb.go:60
Method
ProtoMessage
()
IOTRegistryStore/IOTRegistryStore.pb.go:35
Method
ProtoMessage
()
IOTRegistryStore/IOTRegistryStore.pb.go:43
Method
ProtoMessage
()
IOTRegistryStore/IOTRegistryStore.pb.go:54
Method
ProtoMessage
()
IOTRegistryStore/IOTRegistryStore.pb.go:63
Method
Query
* 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
Method
Reset
()
IOTRegistryTX/IOTRegistry.pb.go:36
Method
Reset
()
IOTRegistryTX/IOTRegistry.pb.go:47
Method
Reset
()
IOTRegistryTX/IOTRegistry.pb.go:58
Method
Reset
()
IOTRegistryStore/IOTRegistryStore.pb.go:33
Method
Reset
()
IOTRegistryStore/IOTRegistryStore.pb.go:41
Method
Reset
()
IOTRegistryStore/IOTRegistryStore.pb.go:52
Method
Reset
()
IOTRegistryStore/IOTRegistryStore.pb.go:61
Method
String
()
IOTRegistryTX/IOTRegistry.pb.go:37
Method
String
()
IOTRegistryTX/IOTRegistry.pb.go:48
Method
String
()
IOTRegistryTX/IOTRegistry.pb.go:59
Method
String
()
IOTRegistryStore/IOTRegistryStore.pb.go:34
Method
String
()
IOTRegistryStore/IOTRegistryStore.pb.go:42
Method
String
()
IOTRegistryStore/IOTRegistryStore.pb.go:53
Method
String
()
IOTRegistryStore/IOTRegistryStore.pb.go:62
Function
TestIOTRegistryChaincode
* runs tests for four different hypothetical users: Alice, Gerald, Bob, and Cassandra */
IOTRegistry_test.go:342
Function
checkInit
(t *testing.T, stub *shim.MockStub, args []string)
IOTRegistry_test.go:136
Function
main
()
IOTRegistry.go:480
Function
randString
* testing tool for creating randomized string with a certain character makeup */
IOTRegistry_test.go:58
Function
testEq
* tests whether two string slices are identical, returning true or false */
IOTRegistry_test.go:246