Interop tests updated and fixed.

This commit is contained in:
Grant Wuerker
2020-08-18 15:35:03 -06:00
parent 5144ab8289
commit 36a4a9150d
10 changed files with 252 additions and 136 deletions

View File

@ -16,14 +16,13 @@ import (
golog "github.com/ipfs/go-log"
ma "github.com/multiformats/go-multiaddr"
gologging "github.com/whyrusleeping/go-logging"
)
func main() {
// LibP2P code uses golog to log messages. They log with different
// string IDs (i.e. "swarm"). We can control the verbosity level for
// all loggers with:
golog.SetAllLoggers(gologging.DEBUG) // Change to DEBUG for extra info
golog.SetAllLoggers(golog.LevelDebug) // Change to DEBUG for extra info
// Parse options from the command line
listenF := flag.Int("l", 0, "wait for incoming connections")