MCPcopy Create free account
hub / github.com/DeAI-Artist/Linkis / NewProtocolVersion

Function NewProtocolVersion

p2p/node_info.go:64–70  ·  view source on GitHub ↗

NewProtocolVersion returns a fully populated ProtocolVersion.

(p2p, block, app uint64)

Source from the content-addressed store, hash-verified

62
63// NewProtocolVersion returns a fully populated ProtocolVersion.
64func NewProtocolVersion(p2p, block, app uint64) ProtocolVersion {
65 return ProtocolVersion{
66 P2P: p2p,
67 Block: block,
68 App: app,
69 }
70}
71
72//-------------------------------------------------------------
73

Callers 4

makeNodeInfoFunction · 0.92
reactor_receive.goFile · 0.92
makeNodeInfoFunction · 0.92
node_info.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected