cleaned up develop branch

This commit is contained in:
vadym 2021-09-09 10:57:34 +03:00
parent 2d36105eeb
commit 976bd70c96
14 changed files with 96 additions and 96 deletions

View file

@ -224,7 +224,7 @@ func getArgs() yggArgs {
}
}
// The main function is responsible for configuring and starting Yggdrasil.
// The main function is responsible for configuring and starting Mesh.
func run(args yggArgs, ctx context.Context, done chan struct{}) {
defer close(done)
// Create a new logger that logs output to stdout.
@ -325,11 +325,11 @@ func run(args yggArgs, ctx context.Context, done chan struct{}) {
default:
}
// Setup the Yggdrasil node itself. The node{} type includes a Core, so we
// Setup the Mesh node itself. The node{} type includes a Core, so we
// don't need to create this manually.
n := node{config: cfg}
// Now start Yggdrasil - this starts the DHT, router, switch and other core
// components needed for Yggdrasil to operate
// Now start Mesh - this starts the DHT, router, switch and other core
// components needed for Mesh to operate
if err = n.core.Start(cfg, logger); err != nil {
logger.Errorln("An error occurred during startup")
panic(err)