add FindClosestKBucket, add rpc FindNode & FindValue & Store (wip)

This commit is contained in:
arnaucube
2019-12-09 19:47:20 +01:00
parent 229a9003bb
commit d971d1503a
11 changed files with 319 additions and 45 deletions

View File

@@ -13,6 +13,7 @@ type Config struct {
Port string
KnownNodesStr []KnownNodeStr `mapstructure:"knownnodes"`
KnownNodes []kademlia.ListedNode `mapstructure:"-"`
Storage string
}
type KnownNodeStr struct {