4
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2025-07-03 08:27:47 +00:00

New handshake, use softcrdt upstream

This commit is contained in:
Neil Alexander
2023-03-18 12:14:32 +00:00
parent 1420ea5662
commit 83c1a810b5
6 changed files with 123 additions and 47 deletions

View File

@ -98,7 +98,7 @@ func (c *Core) GetDHT() []DHTEntryInfo {
var info DHTEntryInfo
info.Key = d.Key
info.Port = d.Port
info.Rest = d.Rest
//info.Rest = d.Rest
dhts = append(dhts, info)
}
return dhts
@ -110,7 +110,7 @@ func (c *Core) GetPaths() []PathEntryInfo {
for _, p := range ps {
var info PathEntryInfo
info.Key = p.Key
info.Path = p.Path
//info.Path = p.Path
paths = append(paths, info)
}
return paths