Initial working Kademlia network - peer list exchange is working!

Using the announcement and response messages to exchange peer lists. Fixes in encoding.
Add arbitrary Info structure to DHT Lite/Node.
This commit is contained in:
Kleissner
2021-03-15 22:25:05 +01:00
parent 323f379ee7
commit 3080119fc1
13 changed files with 210 additions and 33 deletions

View File

@@ -1,6 +1,6 @@
/*
File Name: Peernet.go
Copyright: 2021 Peernet Foundation s.r.o.
Copyright: 2021 Peernet s.r.o.
Author: Peter Kleissner
*/
@@ -9,6 +9,7 @@ package core
// Init initializes the client. The config must be loaded first!
func Init() {
initPeerID()
initKademlia()
initMulticastIPv6()
initBroadcastIPv4()
initNetwork()