34 Commits

Author SHA1 Message Date
Richard Ramos
793fb21ad8
chore: change project org 2022-10-27 09:06:46 -04:00
Richard Ramos
ef843e5c7d
chore: update libp2p 2022-10-19 15:26:05 -04:00
Richard Ramos
e8f25fa062 fix: libp2p spec uses bytes instead of a protobuffer for signed peer records 2021-10-16 17:46:58 -04:00
Richard Ramos
b53661c585
fix: validate signed envelopes 2021-10-04 22:06:56 -04:00
Richard Ramos
292f29fd18
chore: rename repo 2021-10-03 12:23:05 -04:00
Richard Ramos
39d264435e
feat: sign peer records 2021-10-01 15:20:58 -04:00
Richard Ramos
58fe0c6241
fix: no peers available 2021-09-30 10:54:48 -04:00
Richard Ramos
ba3a59f225
refactor: obtain the peers from peerstore 2021-09-30 10:39:04 -04:00
Richard Ramos
d227fbccda
refactor: leveldb, cleanup and service control
- Use leveldb instead of sqlite
- Cleanup older records
- Add start/stop functions to service
2021-09-29 15:39:40 -04:00
Richard Ramos
9daf116812
accept multiple rendezvous peers for random selection 2021-09-28 16:27:40 -04:00
Richard Ramos
ba496ca76a
rename package 2021-09-28 15:37:10 -04:00
Richard Ramos
c10d69ddf2
fix: remove unregister 2021-09-28 15:34:52 -04:00
Guilhem Fanton
c9e4735369 fix: stream leaks
Signed-off-by: Guilhem Fanton <guilhem.fanton@gmail.com>
2020-10-28 15:02:22 +01:00
Adin Schmahmann
25d0082f05 fixed compile error from previous commit + code refactoring 2019-06-05 13:44:44 -04:00
Adin Schmahmann
9052b531cc RendezvousPoint and RendezvousClient now return the server's TTL on Registered records.
Default TTL for discovery client increased
discovery client now utilizes server cookie for added efficiency
2019-05-31 18:58:46 -04:00
Adin Schmahmann
91cdb88828 Switched from gx to go mod and started using go-libp2p-core interfaces 2019-05-28 14:41:28 -04:00
vyzo
c540724f1f two interfaces for client-side: RendezvousPoint and RendezvousClient
RendezvousClient soon to be stateful.
2018-04-28 12:05:21 +03:00
vyzo
aa7f9daaa8 client: add TODO for robust discovery error recovery 2018-04-25 11:06:08 +03:00
vyzo
e530204107 use randomized exponential backoff in error retry for persistent client registrations 2018-04-24 21:26:06 +03:00
vyzo
6c4fda5295 test client specific functionality 2018-04-24 18:43:43 +03:00
vyzo
aa3f46c897 user parameter for ttl in Register 2018-04-23 14:50:46 +03:00
vyzo
fbaf21c098 client: add TODO comment for adaptive backoff 2018-04-23 13:38:34 +03:00
vyzo
8181424229 client: use larger batch in discovery, only poll immediately if full 2018-04-23 13:34:16 +03:00
vyzo
7d72fc79b3 service implementation 2018-04-23 11:54:25 +03:00
vyzo
e5a72b9bea rendezvous interface should expose full registration information
- instead of returning PeerInfos, return Registration objects in discovery
- provide utility functions at module level for peer info discovery
2018-04-21 18:51:18 +03:00
vyzo
aeac2e2a0f update for response error changes in the protocol 2018-04-21 12:06:27 +03:00
vyzo
7e5664ce7c use discriminated registration errors 2018-04-20 14:38:12 +03:00
vyzo
1506c04f1a simplify Rendezvous interface 2018-04-20 13:07:01 +03:00
vyzo
e3d343f34a include namespace in error logs 2018-04-20 12:01:35 +03:00
vyzo
a107e34a06 interface ergonomics 2018-04-19 22:46:13 +03:00
vyzo
b7bc940aed add error notification for background register/discover 2018-04-19 22:34:46 +03:00
vyzo
268abf3357 more fine-grained rendezvous api 2018-04-19 22:29:52 +03:00
vyzo
f94b0b48b3 update client interface
It's DiscoverOnce and Discover instead of Discover and DiscoverAsync
2018-04-19 20:37:48 +03:00
vyzo
0cbcbf6e24 client implementation 2018-04-19 20:18:42 +03:00