mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
remove sigManager, it seems safer to just burn the CPU than to store a map of strings of potentially arbitrary length
This commit is contained in:
parent
4e156bd4f7
commit
9046dbde4f
4 changed files with 1 additions and 99 deletions
|
@ -22,7 +22,6 @@ type Core struct {
|
|||
sigPriv sigPrivKey
|
||||
switchTable switchTable
|
||||
peers peers
|
||||
sigs sigManager
|
||||
sessions sessions
|
||||
router router
|
||||
dht dht
|
||||
|
@ -50,7 +49,6 @@ func (c *Core) init(bpub *boxPubKey,
|
|||
c.boxPub, c.boxPriv = *bpub, *bpriv
|
||||
c.sigPub, c.sigPriv = *spub, *spriv
|
||||
c.admin.core = c
|
||||
c.sigs.init()
|
||||
c.searches.init(c)
|
||||
c.dht.init(c)
|
||||
c.sessions.init(c)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue