mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
New handshake, use softcrdt
upstream
This commit is contained in:
parent
1420ea5662
commit
83c1a810b5
6 changed files with 123 additions and 47 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue