mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-27 21:55:07 +03:00
Try using a chord-like DHT instead of a kad-like one, work in progress, but it compiles at least
This commit is contained in:
parent
a9f72a6ee1
commit
03a88fe304
7 changed files with 182 additions and 510 deletions
|
@ -386,7 +386,7 @@ func (n *Node) startTCP(listen string) {
|
|||
}
|
||||
|
||||
func (n *Node) connectTCP(remoteAddr string) {
|
||||
n.core.AddPeer(remoteAddr)
|
||||
n.core.AddPeer(remoteAddr, remoteAddr)
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue