DHT based on the [lip2p kademlia spec](https://github.com/libp2p/specs/tree/master/kad-dht)
Go to file
Csaba Kiraly 1b417222eb
introduce waitResponse wrapper
initialize wait for response before sending request.
This is needed in cases where the response arrives before
moving to the next instruction, such as a directly connected
test.

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-05-15 17:20:27 +02:00
.github/workflows track nim-libp2p's unstable branch and nim-bearssl's master branch (#51) 2022-11-02 10:21:05 -06:00
libp2pdht introduce waitResponse wrapper 2023-05-15 17:20:27 +02:00
tests track nim-libp2p's unstable branch and nim-bearssl's master branch (#51) 2022-11-02 10:21:05 -06:00
.gitignore Add setup files 2022-07-12 15:45:53 +03:00
LICENSE-APACHEv2 initial commit based on nim-eth@779d767b024175a51cf74c79ec7513301ebe2f46 2022-02-14 01:51:28 +01:00
LICENSE-MIT initial commit based on nim-eth@779d767b024175a51cf74c79ec7513301ebe2f46 2022-02-14 01:51:28 +01:00
README.md protobuf encoding for all message types 2022-04-07 14:47:35 -05:00
codecov.yml update codecov path to be informational 2022-03-22 11:00:26 +11:00
config.nims Add setup files 2022-07-12 15:45:53 +03:00
libp2pdht.nim feat: reorg project to add nimble build system 2022-02-25 09:10:43 +11:00
libp2pdht.nimble track nim-libp2p's unstable branch and nim-bearssl's master branch (#51) 2022-11-02 10:21:05 -06:00
nimble.lock Add setup files 2022-07-12 15:45:53 +03:00

README.md

A DHT implementation for Dagger

License: Apache License: MIT Stability: experimental CI (GitHub Actions) codecov

This DHT implementation is aiming to provide a DHT for Dagger with the following properties

  • flexible transport usage with
    • fast UDP based operation
    • fallback to TCP-based operation (maybe though libp2p)
    • support operation on top of libp2p
  • flexible message encoding that plays well with the above transports
  • provide node lookup, content storage/lookup, and provider storage/lookup operations

Current implementation is based on nim-eth's Discovery v5 implementation.

Base files were copied from status-im/nim-eth@779d767b024175a51cf74c79ec7513301ebe2f46