MicroMinion / mm-services-kademlia

kademlia service for MicroMinion platform
GNU Affero General Public License v3.0
1 stars 0 forks source link

add 'refresh' support for own connectionInfo #14

Closed thomasdelaet closed 8 years ago

thomasdelaet commented 8 years ago

probably makes sense to enforce expireTime for own connectionInfo

thomasdelaet commented 8 years ago

nodeInfo contains expireTime parameter.

On the receiving end, expireTime is checked whenever a message needs to be send. If it is expired, a forced FIND_NODE is executed.