rootCmd.Flags().StringVar(&cfg.rpcListenAddress,"rpcaddr",node.DefaultHTTPHost,"HTTP-RPC server listening interface")
rootCmd.Flags().IntVar(&cfg.rpcPort,"rpcport",node.DefaultHTTPPort,"HTTP-RPC server listening port")
rootCmd.Flags().StringVar(&cfg.rpcCORSDomain,"rpccorsdomain","","Comma separated list of domains from which to accept cross origin requests (browser enforced)")
rootCmd.Flags().StringVar(&cfg.rpcVirtualHost,"rpcvhosts",strings.Join(node.DefaultConfig.HTTPVirtualHosts,","),"Comma separated list of virtual hostnames from which to accept requests (server enforced). Accepts '*' wildcard.")
rootCmd.Flags().StringVar(&cfg.rpcAPI,"rpcapi","","API's offered over the HTTP-RPC interface")
}
varrootCmd=&cobra.Command{
Use:"rpcdaemon",
Short:"rpcdaemon is JSON RPC server that connects to turbo-geth node for remote DB access",