improved logging for IPC connection lifetime management
This commit is contained in:
@ -2,6 +2,7 @@ package comms
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"math/rand"
|
||||
"net"
|
||||
|
||||
"encoding/json"
|
||||
@ -95,3 +96,7 @@ func NewIpcClient(cfg IpcConfig, codec codec.Codec) (*ipcClient, error) {
|
||||
func StartIpc(cfg IpcConfig, codec codec.Codec, offeredApi shared.EthereumApi) error {
|
||||
return startIpc(cfg, codec, offeredApi)
|
||||
}
|
||||
|
||||
func newIpcConnId() int {
|
||||
return rand.Int() % 1000000
|
||||
}
|
||||
|
Reference in New Issue
Block a user