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()
}