core, eth, node, rpc: port the admin and debug API

This commit is contained in:
Péter Szilágyi
2015-12-04 20:56:11 +02:00
parent fa187a366d
commit d8370a4e15
7 changed files with 494 additions and 26 deletions

View File

@ -798,7 +798,7 @@ func StartIPC(stack *node.Node, ctx *cli.Context) error {
server := rpc.NewServer()
// register package API's this node provides
offered := stack.RPCAPIs()
offered := stack.APIs()
for _, api := range offered {
server.RegisterName(api.Namespace, api.Service)
glog.V(logger.Debug).Infof("Register %T under namespace '%s' for IPC service\n", api.Service, api.Namespace)