MCPcopy Create free account
hub / github.com/CPChain/chain / stopInProc

Method stopInProc

node/node.go:292–297  ·  view source on GitHub ↗

stopInProc terminates the in-process RPC endpoint.

()

Source from the content-addressed store, hash-verified

290
291// stopInProc terminates the in-process RPC endpoint.
292func (n *Node) stopInProc() {
293 if n.inprocHandler != nil {
294 n.inprocHandler.Stop()
295 n.inprocHandler = nil
296 }
297}
298
299// startIPC initializes and starts the IPC RPC endpoint.
300func (n *Node) startIPC(apis []rpc.API) error {

Callers 2

startRPCMethod · 0.95
stopRPCMethod · 0.95

Calls 1

StopMethod · 0.65

Tested by

no test coverage detected