Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Kademlia DHT for peer discovery and storage #1727

Open
binarybaron opened this issue Jul 24, 2024 · 0 comments
Open

Use Kademlia DHT for peer discovery and storage #1727

binarybaron opened this issue Jul 24, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@binarybaron
Copy link
Collaborator

binarybaron commented Jul 24, 2024

We should consider using a DHT (Distributed Hash Table) in addition to the rendezvous protocol for:

  1. Peer discovery (specifically discovery of asbs) using Bootstrap
  2. Content routing. We can store some information in the DHT in case we lose our connection to our trading partner. Specifically:
    • Alice can store transfer proofs in the DHT in case she loses her connection to Bob
    • Alice can store the s_a key in the DHT after she has punished Bob. This way Bob can recover the Monero at any time even long after Alice has gone offline
    • Bob can store the encrypted signature in the DHT
    • All entries should of course be encrypted such that only our trading partner can decrypt them

We might even be able to leverage IPFSs existing DHT network for this?

Relevant resources:

@binarybaron binarybaron added the enhancement New feature or request label Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant