I just recently updated my local repo of go-ethereum to commit 8ec6ccc54d1da7bbaa87bd0b489b1778ea729c90
I previously used the IPC Client like this in my code:
var client rpc.Client
if len(pathToIPCEndpoint) == 0 {
glog.Errorf("No path to ipc endpoint specified, using default path: %s\n", node.DefaultIPCEndpoint())
client, err = rpc.NewIPCClient(node.DefaultIPCEndpoint())
if err != nil {
glog.Fatalln(err)
}
} else {
client, err = rpc.NewIPCClient(pathToIPCEndpoint)
if err != nil {
glog.Fatalln(err)
}
}
backend = backends.NewRPCBackend(client)
It seems like one should use rpc.DialIPC() since NewIPCCLient does not exists anymore. However I can't quite figure out how to migrate this code and couldn't find any documentation on the API changes.
Thanks in advance