stopInProc terminates the in-process RPC endpoint.
()
| 290 | |
| 291 | // stopInProc terminates the in-process RPC endpoint. |
| 292 | func (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. |
| 300 | func (n *Node) startIPC(apis []rpc.API) error { |