kad.py icon indicating copy to clipboard operation
kad.py copied to clipboard

Deletion

Open manu56 opened this issue 9 years ago • 1 comments

Hello,

It's not an issue only two simple questions about things which are not in the documentation.

It's possible to delete a key/value from the DHT ? Is there an expiration time by default for the key/value ?

Thank you.

manu56 avatar Mar 04 '16 14:03 manu56

Deletion is not possible at the moment; to delete a key-value pair in a DHT solutions are two:

  • create an authentication protocol and allows deletion by the owner of the key-value
  • remove the pair in all nodes, but it is a decision of each node

Expiration time: it's not implemented any expiration rule

If you want to implement it, new features are welcome on this repo ;)

dakk avatar Mar 04 '16 17:03 dakk