Commit Graph

42 Commits

Author SHA1 Message Date
Richard Ramos e482075fa9
refactor: peer selection and filter API (#87) 2021-10-18 08:25:55 -04:00
Richard Ramos c1bdead94d
revert: utils.GetUnixEpoch() 2021-10-12 09:45:22 -04:00
Richard Ramos 051634c12a
chore: upgrade examples 2021-10-12 09:44:40 -04:00
Richard Ramos dc52ba182a refactor: filter
- Create a channel when a subscription is created
- Add stop function for protocols
2021-10-11 19:02:25 -04:00
Richard Ramos 13aee0b1e0 refactor: change filter function parameters to not use protobuffers 2021-10-10 18:53:25 -04:00
Richard Ramos 8f87009466
fix: docs 2021-10-10 11:46:23 -04:00
Richard Ramos 4a7779dda1 refactor: remove go-wakurelay-pubsub and update dependencies 2021-10-08 10:46: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 04e77897aa fix: update examples 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 37a01edce4
fix: add context parameter to peer dial (#59) 2021-10-01 06:32:15 -04:00
Richard Ramos c8a83f04de
feat: add dns-discovery flags to wakunode and chat2 example (#52) 2021-09-30 19:03:19 -04:00
Richard Ramos 4ce04014d1 fix: make resume optional and trigger connect/disconnect when dialing a peer or dropping it 2021-09-23 17:38:08 +03:00
Vitaliy Vlasov 24c7a8e4c6 Use keepAlive for Connectedness events 2021-09-23 17:38:08 +03: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
RichΛrd c44e50677c
feat: use ping protocol to keep conn to peers alive (#27) 2021-06-24 09:02:53 -04:00
Vitaliy Vlasov 0c3f109d9e Add UnsubscribeFilter 2021-06-16 11:39:15 +03:00
RichΛrd ee65ebc32c
update chat2 example (#26)
* update chat2 example
* fix: content topic
2021-06-10 09:00:16 -04:00
Vitaliy Vlasov b9f3f562eb
waku2-filter (#23)
* waku2-filter
2021-06-10 08:59:51 -04:00
Richard Ramos 1c4555ab32
bump go-waku version and use context on publish 2021-04-28 16:28:45 -04:00
Richard Ramos 78f8b7e609
bump go-waku version 2021-04-28 11:12:45 -04:00
Richard Ramos b60ee0fe5c
update go-waku version 2021-04-21 20:12:51 -04:00
Richard Ramos 7f4e10cbe4
bump go-waku version in chat2 example 2021-04-20 17:48:02 -04:00
Richard Ramos e539439f16
update examples to create a wakunode with options 2021-04-18 20:07:21 -04:00
Richard Ramos 9572a766a8
bump go-waku version 2021-04-15 13:57:18 -04:00
Richard Ramos 01328daae6
bump examples 2021-04-14 22:22:18 -04:00
Richard Ramos 9b7b942ac4
chore: change log level in chat example 2021-04-13 15:17:21 -04:00
Richard Ramos 38da4144f6
display historic messages on chat2 2021-04-12 14:03:58 -04:00
Richard Ramos d85c857a74
bump go-waku version 2021-04-11 19:45:42 -04:00
Richard Ramos c7550f29ce
Change contentTopic data type to string in chat2 2021-04-08 19:01:23 -04:00
Richard Ramos ffe2f80a90
fix: update go-waku version 2021-04-07 17:19:39 -04:00
Richard Ramos f83423facd
update chat2 to use waku_payload encoding/decoding 2021-04-06 19:27:54 -04:00
Richard Ramos 38b9ec5448
basic2 example 2021-04-04 15:33:21 -04:00
Richard Ramos 47752170e9
add chat2 example 2021-04-04 13:08:48 -04:00