Add remote access

This commit is contained in:
Jim McDonald
2020-03-31 11:31:54 +01:00
parent 945f2ca47c
commit a38ff57508
24 changed files with 470 additions and 142 deletions

View File

@@ -40,7 +40,7 @@ In quiet mode this will return 0 if the chain information can be obtained, other
errCheck(err, "Failed to obtain genesis time")
if quiet {
os.Exit(_exit_success)
os.Exit(_exitSuccess)
}
fmt.Printf("Genesis time:\t\t%s\n", genesisTime.Format(time.UnixDate))
@@ -52,7 +52,7 @@ In quiet mode this will return 0 if the chain information can be obtained, other
outputIf(verbose, fmt.Sprintf("Seconds per slot:\t%v", config["SecondsPerSlot"].(uint64)))
outputIf(verbose, fmt.Sprintf("Slots per epoch:\t%v", config["SlotsPerEpoch"].(uint64)))
os.Exit(_exit_success)
os.Exit(_exitSuccess)
},
}