ep2p / kademlia-netty

Java implementation of Kademlia DHT using netty and abstraction layer
MIT License
0 stars 1 forks source link

The example from the README does not work #5

Closed hdralexandru closed 2 years ago

hdralexandru commented 2 years ago

I've tried to run the Example test-file, however it fails. Even though node2 contains key K, the result returned is null

This is what the console prints:

Bootstrapped? true
STORED
2
FAILED
null
sepgh commented 2 years ago

Thank you for bringing this to my attention.

Is it possible to post the full code you wrote here?

I'll make new sample ASAP and test again.

sepgh commented 2 years ago

According to our conversation on Discord, the problem was with not passing valid RoutingTable and ID to second node. Passing valid ones will fix the problem.

Closing this issue.