18 Commits

Author SHA1 Message Date
Richard Ramos
a67d1cc760
chore: upgrade go-libp2p 2024-01-10 15:33:35 -04:00
Richard Ramos
0fad5ff686
chore: use proto2 for nwaku compatibility 2023-06-01 13:25:41 -04:00
Richard Ramos
9806ad621c
refactor: use newer .proto version, update deps and remove rendevous point sync 2023-06-01 11:50:48 -04:00
gfanton
9b89e527ce feat: update rendezvous module name
Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
2022-11-15 11:02:12 +01:00
gfanton
e0c189e5e9 chore: fix import
Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
2022-11-08 18:30:19 +01:00
Guillaume Louvigny
10a9ad4472 feat: support for sync clients
Signed-off-by: Guillaume Louvigny <glouvigny@users.noreply.github.com>
2022-08-08 17:15:13 +02: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
91cdb88828 Switched from gx to go mod and started using go-libp2p-core interfaces 2019-05-28 14:41:28 -04:00
vyzo
f2ee9b3d44 expose counter in register interface 2019-01-18 15:46:02 +02:00
vyzo
8846a4b090 include ttl in registration response 2019-01-18 15:31:50 +02:00
vyzo
baf1e4e618 don't leak database error details in internal errors 2018-04-26 14:30:47 +03:00
vyzo
c487c2077b refactor database interface and implementation into db subpackage
We now have:
- db/dbi.go -- interface, no dependency on any particular database
- db/sqlite/... -- sqlite implementation, depends on dbi
- the rendezvous.NewRendezvousService API has been redefined to NewRendezvouServiceWithDB
  service importer constructs the database of choice
- the rendezvous package has no dependences on db implementation, so clients can import
  without linking SQLite in the binary
2018-04-26 14:06:58 +03:00
vyzo
2b0995f842 test service errors 2018-04-24 18:16:44 +03:00
vyzo
cfbcddee41 up MaxRegistrations to 1k 2018-04-24 14:10:50 +03:00
vyzo
8c1227209a better logging for service i/o 2018-04-24 12:00:53 +03:00
vyzo
4e3eaa7ba0 refactor service constructor into two parts 2018-04-23 14:44:14 +03:00
vyzo
dbe6b0ddb5 rendezvous service sync: hook for federation 2018-04-23 12:05:18 +03:00
vyzo
7d72fc79b3 service implementation 2018-04-23 11:54:25 +03:00