"sync"
"time"
- "go.cypherpunks.ru/nncp/v7"
+ "go.cypherpunks.ru/nncp/v8"
)
func usage() {
warranty = flag.Bool("warranty", false, "Print warranty information")
autoToss = flag.Bool("autotoss", false, "Toss after call is finished")
- autoTossDoSeen = flag.Bool("autotoss-seen", false, "Create .seen files during tossing")
+ autoTossDoSeen = flag.Bool("autotoss-seen", false, "Create seen/ files during tossing")
autoTossNoFile = flag.Bool("autotoss-nofile", false, "Do not process \"file\" packets during tossing")
autoTossNoFreq = flag.Bool("autotoss-nofreq", false, "Do not process \"freq\" packets during tossing")
autoTossNoExec = flag.Bool("autotoss-noexec", false, "Do not process \"exec\" packets during tossing")
if err != nil {
log.Fatalln("Invalid NODE specified:", err)
}
+ if node.NoisePub == nil {
+ log.Fatalln("Node", nodeId, "does not have online communication capability")
+ }
if len(node.Calls) == 0 {
ctx.LogD(
"caller-no-calls",
for _, ifiName := range ctx.MCDRxIfis {
if err = ctx.MCDRx(ifiName); err != nil {
- log.Fatalln("Can not run MCD reception:", err)
+ log.Printf("Can not run MCD reception on %s: %s", ifiName, err)
}
}