mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-30 07:05:06 +03:00
merge changes from master
This commit is contained in:
parent
e7de29eb62
commit
f0714ff52f
7 changed files with 75 additions and 74 deletions
|
@ -224,7 +224,7 @@ func getArgs() yggArgs {
|
|||
}
|
||||
}
|
||||
|
||||
// The main function is responsible for configuring and starting Mesh.
|
||||
// The main function is responsible for configuring and starting RiV-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 Mesh node itself. The node{} type includes a Core, so we
|
||||
// Setup the RiV-mesh node itself. The node{} type includes a Core, so we
|
||||
// don't need to create this manually.
|
||||
n := node{config: cfg}
|
||||
// Now start Mesh - this starts the DHT, router, switch and other core
|
||||
// components needed for Mesh to operate
|
||||
// Now start RiV-mesh - this starts the DHT, router, switch and other core
|
||||
// components needed for RiV-mesh to operate
|
||||
if err = n.core.Start(cfg, logger); err != nil {
|
||||
logger.Errorln("An error occurred during startup")
|
||||
panic(err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue