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

Method Switch

node/node.go:1240–1242  ·  view source on GitHub ↗

Switch returns the Node's Switch.

()

Source from the content-addressed store, hash-verified

1238
1239// Switch returns the Node's Switch.
1240func (n *Node) Switch() *p2p.Switch {
1241 return n.sw
1242}
1243
1244// BlockStore returns the Node's BlockStore.
1245func (n *Node) BlockStore() *store.BlockStore {

Callers 2

NewRunNodeCmdFunction · 0.45

Calls

no outgoing calls

Tested by 1