Commit Graph

35 Commits

Author SHA1 Message Date
Richard Ramos a3c67e0d42
feat: separate waku2 network (#179)
* chore: use go-discover instead of go-ethereum/p2p/discover
* feat: use validator function for discV5
2021-12-10 11:29:50 -04:00
Anthony Laibe 06a86f45b0 feat: Add first endpoint for rpc server 2021-11-02 15:16:23 +01:00
Anthony Laibe 5744879242 refactor: add leveldb rendezvous persistence 2021-10-18 09:16:57 +02:00
Richard Ramos 654bebdb93
fix: peer metrics 2021-10-16 18:02:48 -04:00
Richard Ramos 4a7779dda1 refactor: remove go-wakurelay-pubsub and update dependencies 2021-10-08 10:46:46 -04:00
Richard Ramos 245c01b286 fix: check err on wakunode start 2021-10-06 14:07:46 -04:00
Richard Ramos 1991a54d64 refactor: connectedness
Uses libp2p network notifier to determine when a peer connects or disconnects, as well as using the host network peerstore instead of managing out own separate peer map
2021-10-06 14:07:46 -04:00
Richard Ramos 79e21dbb99 refactor: add peers before starting 2021-10-04 22:16:24 -04:00
Richard Ramos f82732cd19 refactor: reorganize wakunode flags in groups 2021-10-04 18:39:03 -04:00
Richard Ramos a053875e20 feat: use signed peers 2021-10-03 12:25:46 -04:00
Richard Ramos a58db1656d refactor: rendezvous nodes are added to peer store
- No need to specify peerIDs in command line flag
- Rendezvous nodes are selected automatically instead of passing them via waku option
2021-10-01 14:45:25 -04:00
Richard Ramos 954f2a0c56
feat: use leveldb for storing peers and clean up periodically older records from rendezvous server (#56) 2021-10-01 14:37:52 -04:00
Richard Ramos 70efcd72f3
feat: rendezvous (#54) 2021-10-01 13:49:50 -04:00
Andrea Maria Piana cfcfb52a58
[Fixes: #39] Add DNS discovery (#48)
This commit adds a public method that takes a url and returns a list of
multiaddr.

Once we better understand how to integrate it we can make it so that is
passed as a config when initializing waku, this commit only provides the
basic functionality.
2021-09-27 13:52:56 -04:00
Andrea Maria Piana b387da9ab4
Add tests and lint code 2021-08-13 13:56:09 +02:00
Richard Ramos c9d3334f2d
fix: matcher function 2021-07-29 12:35:08 -04:00
Richard Ramos fd49e33a45
fix: timestamp format and bump go-wakurelay-pubsub 2021-07-29 11:03:30 -04:00
RichΛrd c3ac5ef9c5
feat: Add support for multiple protocol IDs (#34) 2021-07-29 08:41:37 -04:00
Richard Ramos a2ff7f3df9
Use sender timestamp for retrieving messages from store 2021-07-11 14:11:38 -04:00
Vitaliy Vlasov 690841d042 Add peer connectivity notifications 2021-06-29 16:35:01 +03:00
RichΛrd 367459f4d7
filter and lightpush showcase (#28) 2021-06-28 10:14:28 -04:00
RichΛrd 48d5a6996b
feat: configure metrics using opencensus (#32)
* feat: configure metrics using opencensus
* add runtime metrics
2021-06-28 09:20:23 -04:00
Andrea Maria Piana 98680c248c
downgrade sys 2021-06-22 16:04:13 +02:00
Richard Ramos b9645a7c60
change status-go version 2021-04-29 14:40:24 -04:00
Richard Ramos 1b746cdec8
Persistent peer store 2021-04-13 14:52:57 -04:00
Richard Ramos fa79f9a864
persist messages on sqlite db 2021-04-12 13:59:41 -04:00
Richard Ramos fa7169bbbc
use go-wakurelay-pubsub instead of go-libp2p-pubsub 2021-04-04 13:08:22 -04:00
Richard Ramos 7023a11180
fix: remove unneeded modules 2021-04-04 13:08:03 -04:00
Richard Ramos c1bcba756c
add logs 2021-04-04 13:07:55 -04:00
Richard Ramos 1345809aba
example node used to emit/listen/retrieve messages 2021-04-04 13:07:50 -04:00
Richard Ramos c4ed58c188
Waku store - initial implementation 2021-04-04 13:07:41 -04:00
Richard Ramos cac9aa7b37
Handle unsubscriptions and encoding of messages 2021-03-15 17:17:36 -04:00
Richard Ramos 09fe21baa5
Adding subscribe/unsubscribe methods 2021-03-15 12:07:23 -04:00
Richard Ramos 241733e6a4
WakuRelay 2021-03-12 15:06:20 -04:00
Richard Ramos ccff3dc8f8
Initial commit 2021-03-11 16:27:12 -04:00