Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CPChain/chain
/ isNotification
Method
isNotification
api/rpc/client.go:91–93 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
89
}
90
91
func
(msg *jsonrpcMessage) isNotification() bool {
92
return
msg.ID == nil && msg.Method !=
""
93
}
94
95
func
(msg *jsonrpcMessage) isResponse() bool {
96
return
msg.hasValidID() && msg.Method ==
""
&& len(msg.Params) == 0
Callers
1
dispatch
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected