node rpc PING & PONG methods and calls

This commit is contained in:
arnaucube
2019-12-08 13:21:12 +01:00
parent 0e39e2facb
commit 229a9003bb
11 changed files with 138 additions and 30 deletions

View File

@@ -18,6 +18,11 @@ var NodeCommands = []cli.Command{
}
func cmdStart(c *cli.Context) error {
if c.GlobalBool("debug") {
log.SetLevel(log.DebugLevel)
log.SetReportCaller(true)
}
if err := config.MustRead(c); err != nil {
return err
}