4
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2025-07-13 12:56:29 +00:00

add a dedicated switch worker and start using it for lookups

This commit is contained in:
Arceliar
2018-06-23 19:08:32 -05:00
parent 2ae213c255
commit 988f4ad265
4 changed files with 53 additions and 22 deletions

View File

@ -49,6 +49,7 @@ func (c *Core) Init() {
bpub, bpriv := newBoxKeys()
spub, spriv := newSigKeys()
c.init(bpub, bpriv, spub, spriv)
c.switchTable.start()
c.router.start()
}