Richard Ramos
a0d71f947c
fix: change log level when purging records
2021-10-16 17:46:58 -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
292f29fd18
chore: rename repo
2021-10-03 12:23:05 -04:00
Richard Ramos
da00a45856
fix: proto gen script
2021-10-01 15:49:13 -04:00
Richard Ramos
39d264435e
feat: sign peer records
2021-10-01 15:20:58 -04:00
Richard Ramos
020ef08b26
fix: set max limit to 50 nodes and fix empty peer id
2021-09-30 11:46:20 -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
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
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