nim-libp2p/libp2p
Simon-Pierre Vivier d389d96789
feat: rendezvous refactor (#1183)
Hello!

This PR aim to refactor rendezvous code so that it is easier to impl.
Waku rdv strategy. The hardcoded min and max TTL were out of range with
what we needed and specifying which peers to interact with is also
needed since Waku deals with peers on multiple separate shards.

I tried to keep the changes to a minimum, specifically I did not change
the name of any public procs which result in less than descriptive names
in some cases. I also wanted to return results instead of raising
exceptions but didn't. Would it be acceptable to do so?

Please advise on best practices, thank you.

---------

Co-authored-by: Ludovic Chenut <ludovic@status.im>
2024-09-25 09:11:57 +00:00
..
crypto chore: fix devel compilation issues (#1195) 2024-09-19 11:35:50 +00:00
daemon chore(formatting): format the whole codebase using nph 0.5.1 (#1118) 2024-06-11 17:18:06 +02:00
discovery chore(logs): remove duplicate msg key (#1180) 2024-08-14 17:19:54 +02:00
muxers chore(logs): remove duplicate msg key (#1180) 2024-08-14 17:19:54 +02:00
nameresolving chore(logs): remove duplicate msg key (#1180) 2024-08-14 17:19:54 +02:00
protobuf chore(formatting): format the whole codebase using nph 0.5.1 (#1118) 2024-06-11 17:18:06 +02:00
protocols feat: rendezvous refactor (#1183) 2024-09-25 09:11:57 +00:00
services fix: support ipv6 dual stack (#1148) 2024-07-10 18:08:52 +02:00
stream chore(logs): remove duplicate msg key (#1180) 2024-08-14 17:19:54 +02:00
transports feat(transport): add experimental QUIC Transport (not production ready) (#725) 2024-09-12 09:32:14 +00:00
upgrademngrs chore(formatting): format the whole codebase using nph 0.5.1 (#1118) 2024-06-11 17:18:06 +02:00
utils chore(formatting): format the whole codebase using nph 0.5.1 (#1118) 2024-06-11 17:18:06 +02:00
builders.nim chore(formatting): format the whole codebase using nph 0.5.1 (#1118) 2024-06-11 17:18:06 +02:00
cid.nim chore(formatting): format the whole codebase using nph 0.5.1 (#1118) 2024-06-11 17:18:06 +02:00
connmanager.nim chore(connmanager): also show peerID and dir when too many conns (#1185) 2024-09-09 13:52:01 +00:00
debugutils.nim chore(formatting): format the whole codebase using nph 0.5.1 (#1118) 2024-06-11 17:18:06 +02:00
dial.nim chore(formatting): format the whole codebase using nph 0.5.1 (#1118) 2024-06-11 17:18:06 +02:00
dialer.nim chore(logs): remove duplicate msg key (#1180) 2024-08-14 17:19:54 +02:00
errors.nim chore(logs): remove duplicate msg key (#1180) 2024-08-14 17:19:54 +02:00
multiaddress.nim feat(transport): add experimental QUIC Transport (not production ready) (#725) 2024-09-12 09:32:14 +00:00
multibase.nim chore(formatting): format the whole codebase using nph 0.5.1 (#1118) 2024-06-11 17:18:06 +02:00
multicodec.nim chore(formatting): format the whole codebase using nph 0.5.1 (#1118) 2024-06-11 17:18:06 +02:00
multihash.nim chore(formatting): format the whole codebase using nph 0.5.1 (#1118) 2024-06-11 17:18:06 +02:00
multistream.nim chore(logs): remove duplicate msg key (#1180) 2024-08-14 17:19:54 +02:00
observedaddrmanager.nim chore(formatting): format the whole codebase using nph 0.5.1 (#1118) 2024-06-11 17:18:06 +02:00
peerid.nim chore(formatting): format the whole codebase using nph 0.5.1 (#1118) 2024-06-11 17:18:06 +02:00
peerinfo.nim chore(formatting): format the whole codebase using nph 0.5.1 (#1118) 2024-06-11 17:18:06 +02:00
peerstore.nim chore(formatting): format the whole codebase using nph 0.5.1 (#1118) 2024-06-11 17:18:06 +02:00
routing_record.nim chore(formatting): format the whole codebase using nph 0.5.1 (#1118) 2024-06-11 17:18:06 +02:00
signed_envelope.nim chore(formatting): format the whole codebase using nph 0.5.1 (#1118) 2024-06-11 17:18:06 +02:00
standard_switch.nim More builders (#560) 2021-04-06 14:16:23 -06:00
switch.nim chore(logs): remove duplicate msg key (#1180) 2024-08-14 17:19:54 +02:00
transcoder.nim chore(formatting): format the whole codebase using nph 0.5.1 (#1118) 2024-06-11 17:18:06 +02:00
utility.nim chore: fix devel compilation issues (#1195) 2024-09-19 11:35:50 +00:00
varint.nim chore(formatting): format the whole codebase using nph 0.5.1 (#1118) 2024-06-11 17:18:06 +02:00
vbuffer.nim chore(formatting): format the whole codebase using nph 0.5.1 (#1118) 2024-06-11 17:18:06 +02:00
wire.nim feat(transport): add experimental QUIC Transport (not production ready) (#725) 2024-09-12 09:32:14 +00:00