Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/yeasy/blockchain_guide
/ transactionKey
Function
transactionKey
11_app_dev/chaincode_example03.go:421–423 ·
view source on GitHub ↗
(id int)
Source
from the content-addressed store, hash-verified
419
}
420
421
func
transactionKey(id int) string {
422
return
fmt.Sprintf(
"transaction:%d"
, id)
423
}
424
425
func
main() {
426
chaincode, err := contractapi.NewChaincode(&SmartContract{})
Callers
2
recordTransaction
Function · 0.85
readTransaction
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected