Richard Ramos
7b4e5ae4c0
chore: bump go-libp2p and other dependencies
2023-06-28 18:09:17 -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
Guilhem Fanton
ac456647dc
Merge pull request #7 from gfanton/feat/advertise-addr-factory
2023-01-16 17:44:10 +01:00
gfanton
cc0893258c
fix: ci macos
...
Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
2023-01-16 17:39:14 +01:00
gfanton
10c05aa28d
fix: add filter option for advertise
...
Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
2023-01-16 15:32:47 +01:00
Guilhem Fanton
ea43c800bd
Merge pull request #11 from gfanton/feat/update-repo-name
2022-11-15 11:43:56 +01: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
Guilhem Fanton
796f4b6cdb
Merge pull request #8 from gfanton/feat/bump-libp2p-23
2022-11-15 10:39:09 +01:00
gfanton
a153da08b3
chore: use testify for svc test
...
Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
2022-11-08 19:27:47 +01:00
gfanton
c70235c26b
fix: clean workflow matrix
...
Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
2022-11-08 19:07:54 +01:00
gfanton
2c25cf426d
fix: test data race
...
Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
2022-11-08 19:05:27 +01:00
gfanton
9135bf5c15
chore: disable golangci revive for now
...
Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
2022-11-08 18:55:00 +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
gfanton
d1e00a6a49
feat: add golangci lint
...
Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
2022-11-08 18:30:19 +01:00
gfanton
9eac124763
feat: bump to libp2p 0.23
...
Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
2022-11-08 18:30:19 +01:00
gfanton
5b527303a3
feat: add releaserc
...
Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
2022-11-08 18:28:11 +01:00
Guilhem Fanton
ca39d6735f
Merge pull request #9 from gfanton/feat/add-release-workflow
2022-11-08 18:05:36 +01:00
gfanton
2a4017b5a5
feat: add release workflows
...
Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
2022-11-08 18:04:11 +01:00
Guilhem Fanton
5fc9e26830
Merge pull request #6 from gfanton/fix/memory-data-race
2022-10-20 18:51:44 +02:00
gfanton
08f039cee2
fix: topic data race
...
Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
2022-10-20 18:51:02 +02:00
Guilhem Fanton
f7347cb814
Merge pull request #5 from gfanton/fix/empty-result
2022-09-27 16:34:06 +02:00
gfanton
7f8acdc3c4
fix: avoid panic on empty result
...
Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
2022-09-06 10:48:44 +02:00
Guilhem Fanton
2a4b093b3a
Merge pull request #4 from glouvigny/feat/support-for-sync-clients
2022-08-09 09:41:02 +02: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
09965cd647
Merge pull request #3 from n0izn0iz/sqlcipher
2021-10-13 10:55:24 +02:00
Norman Meier
5f2ef79d57
feat: add sqlcipher version of sqlite driver to support projects that use it
...
Signed-off-by: Norman Meier <norman@berty.tech>
2021-10-12 14:13:03 +02:00
Guilhem Fanton
7b54d608d8
Merge pull request #2 from berty/feat/bump-libp2p
...
feat: bump libp2p
2021-09-15 15:31:38 +02:00
gfanton
a10842d055
feat: bump libp2p
...
Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
2021-09-15 15:29:04 +02:00
Guilhem Fanton
5b2e7e8ff1
Merge pull request #1 from berty/fix/stream-leaks
2020-10-28 15:14:28 +01:00
Guilhem Fanton
b953ed48bb
chore: clean up
...
Signed-off-by: Guilhem Fanton <guilhem.fanton@gmail.com>
2020-10-28 15:03:31 +01:00
Guilhem Fanton
c9e4735369
fix: stream leaks
...
Signed-off-by: Guilhem Fanton <guilhem.fanton@gmail.com>
2020-10-28 15:02:22 +01:00
Guilhem Fanton
6c6522afbc
chore: update deps
...
- upgrade to proto3
Signed-off-by: Guilhem Fanton <guilhem.fanton@gmail.com>
2020-10-28 15:02:19 +01:00
Guilhem Fanton
90a910542f
Merge remote-tracking branch 'origin/implement-spec' into master
...
* origin/implement-spec: (47 commits)
replaced sync.Map with map + RW mutex. small refactors
fixed compile error from previous commit + code refactoring
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
Add stateful discovery client
Switched from gx to go mod and started using go-libp2p-core interfaces
update tests
expose counter in register interface
update gx deps
include ttl in registration response
update protobuf
two interfaces for client-side: RendezvousPoint and RendezvousClient
don't leak database error details in internal errors
refactor database interface and implementation into db subpackage
client: add TODO for robust discovery error recovery
use randomized exponential backoff in error retry for persistent client registrations
test client specific functionality
make db nonce 32 bytes
test service errors
basic service test
test db functionality with multiple namespaces
...
2020-10-16 10:21:07 +02:00
vyzo
737144165c
Merge pull request #3 from aschmahmann/feat/add-discovery-client
...
Feat/add discovery client
2019-07-08 09:54:49 +03:00
Adin Schmahmann
0e771cd3c2
replaced sync.Map with map + RW mutex. small refactors
2019-06-21 09:06:01 +02: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
790128061e
Add stateful discovery client
2019-05-31 12:48:51 -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
2843bd30d1
update tests
2019-01-18 15:53:16 +02:00
vyzo
f2ee9b3d44
expose counter in register interface
2019-01-18 15:46:02 +02:00
vyzo
3c726d2ea9
update gx deps
2019-01-18 15:32:04 +02:00
vyzo
8846a4b090
include ttl in registration response
2019-01-18 15:31:50 +02:00
vyzo
1ee2b55a9f
update protobuf
2019-01-18 15:22:49 +02: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
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
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