Commit Graph

200 Commits

Author SHA1 Message Date
Richard Ramos 4841f89eff
fix: handling bytes 2022-10-05 18:08:01 -04:00
Richard Ramos 4d23f4256a feat: zerokit RLN 2022-10-04 19:27:21 -04:00
Richard Ramos 0ab7641a2f
fix: dnsdisc address (#318) 2022-09-26 18:03:18 -04:00
Richard Ramos 1542271b56
fix: add missing libraries for compiling on M1 (#320) 2022-09-26 10:07:00 -04:00
Richard Ramos 3716ebdf1d
fix: chat2 feedback 2022-09-11 17:08:58 -04:00
Richard Ramos 4c2b2a04c5
chore: update chat2 rln version 2022-08-26 21:56:54 -04:00
Richard Ramos c05a40d246
fix: increase chat2 timeout 2022-08-26 21:55:54 -04:00
Richard Ramos bebf84ad30 chore: upgrade dependencies 2022-08-17 17:23:53 -04:00
Richard Ramos bcaf229994
fix: linting, printing addresses in chat2, adding err channel to event subs 2022-08-15 21:39:31 -04:00
Richard Ramos 8cf011f718 feat: chat2 refactor / redesign 2022-08-15 15:22:13 -04:00
Richard Ramos 4f71ee6f30 fix: go.mod/sum 2022-08-15 14:40:10 -04:00
Richard Ramos fb6aa64442 feat: store credentials in a file 2022-08-15 14:40:10 -04:00
Richard Ramos 893f9f396c feat: chat2 dynamic RLN (#283) 2022-08-15 14:40:10 -04:00
Richard Ramos 587fd148ca chore: use static rln lib and fix lint 2022-08-15 14:40:10 -04:00
Richard Ramos 6481e72885 feat: chat2 + RLN(static) 2022-08-15 14:40:10 -04:00
Richard Ramos 2b4a2d72d3
feat: add filter bindings and improve docs (#284) 2022-08-09 09:48:23 -04:00
Richard Ramos 8cf5f80529
fix: dial wss nodes and add ws to list of default transports (#274)
Also updates libp2p to latest version
2022-07-25 11:49:10 -04:00
Richard Ramos 6d65d4921c
feat: encrypt nodekey file (#270) 2022-07-25 08:24:42 -04:00
Richard Ramos 3847bcae68 fix: add back mplex muxer 2022-05-31 15:51:53 -04:00
Richard Ramos 77c1e26a9e chore: upgrade deps and go1.17 2022-05-30 15:30:43 -04:00
Richard Ramos b14f4a9aa8
feat: db migrations (#246) 2022-05-30 15:13:27 -04:00
Richard Ramos dfed1409ff feat: domain name config 2022-05-17 17:54:41 -04:00
Richard Ramos 2e371b2b99 feat: secure websockets 2022-05-17 17:54:41 -04:00
Richard Ramos e5e70b38ae chore: upgrade outdated dependencies 2022-05-17 17:54:41 -04:00
Richard Ramos 898d7204c2
fix: padding data type and build instructions for kotlin 2022-05-11 18:19:38 -04:00
Richard Ramos fb0dfbe0b8
fix: swift port 2022-05-11 14:23:08 -04:00
Richard Ramos 5b7d0daeea
fix: optional parameters 2022-05-11 14:13:28 -04:00
Richard Ramos f7b117b3a8 feat: swift example app - pt1 2022-05-11 14:07:42 -04:00
Richard Ramos 7b3c853c15
refactor: use diff logger for waku 2022-05-06 15:29:31 -04:00
Richard Ramos 813dc49c61 feat: swift example 2022-05-05 16:51:43 -04:00
Richard Ramos bbab0f1714
fix: add topic to broadcast and some comments to functions (#229) 2022-04-25 23:31:26 +04:00
Richard Ramos f1f6cb04f0
feat: kotlin android example (#226)
* feat: kotlin android example
* Adding lightpush and store to kotlin example
2022-04-12 08:12:14 -04:00
Richard Ramos 4d0e4ca4da
chore: upgrade deps (#225) 2022-04-06 09:57:53 -04:00
Richard Ramos f1a40fad73
feat: c-sharp example (#222) 2022-04-02 20:22:42 -04:00
Richard Ramos aa6d8c8b58
fix: c api and add some documentation (#219) 2022-03-22 12:30:14 -04:00
Richard Ramos 290b7663d1
feat: secure websockets (#201) 2022-03-22 09:12:58 -04:00
Richard Ramos df235db6b7
feat: c-bindings for waku relay (#212) 2022-03-21 19:15:53 -04:00
Richard Ramos 2817d71fea
feat: use `d5waku` as ProtocolID for DiscV5 (#196) 2022-02-28 14:28:09 -04:00
Richard Ramos d5279e0251
fix: invalid protocol name 2022-02-24 09:33:07 -04:00
Richard Ramos 58f739765e
refactor: use int64 timestamps (#189)
* refactor: use int64 timestamps
* fix: changed PB Timestamp index to 10
2022-02-23 11:01:53 -04:00
Richard Ramos 459bed2a40
fix: remove references to fleets.status.im (#195)
Fixes #187
2022-02-21 13:46:58 -04:00
Richard Ramos 3e5d0d0843
fix: flag naming inconsistency (#194)
Fixes #80
2022-02-21 11:23:52 -04:00
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
Richard Ramos 78a0d4d74d fix: replace WIthTopic to ToTopic 2021-11-19 20:04:38 -04:00
Richard Ramos 00ee0b7511 refactor: create separate functions for subscriptions and publishing 2021-11-19 20:04:38 -04:00
Richard Ramos 56ef99e11f refactor: remove topic type 2021-11-19 20:04:38 -04:00
Richard Ramos 817759c235
feat: discoveryV5 - part2 (#150) 2021-11-17 12:19:42 -04:00
Richard Ramos 6ae4d4fce2
feat: discoveryV5 - part1 (#149) 2021-11-16 10:22:01 -04:00
Richard Ramos 6d04308716
feat: 23/WAKU2-TOPICS (#146) 2021-11-10 10:28:45 -04:00
Richard Ramos f561e217aa fix: ineffassign 2021-11-06 12:57:01 -04:00
Richard Ramos 4e5237df8d fix: inefficient assigns 2021-11-02 07:59:10 -04:00
Richard Ramos a9343b0e86 chore: upgrade go-ethereum dep 2021-11-02 07:59:10 -04:00
Richard Ramos 6a3a5b08b3 test: replace peer_events example app by a test 2021-11-02 07:59:10 -04:00
Anthony Laibe 94e8b9cf86 test: build example in jenkins
Add command for generating coverage
2021-11-01 20:40:39 +01:00
Richard Ramos b789d9900e
refactor: relay (#119) 2021-11-01 10:42:55 -04:00
Richard Ramos c0ba800af7
refactor: store and lightpush (#118) 2021-11-01 08:38:03 -04:00
Richard Ramos 98255060f3
refactor: add Next() and create Query and Result structs (#117) 2021-10-31 15:00:38 -04:00
Richard Ramos d94802f739
chose node type when starting filter and make relay optional (#113) 2021-10-30 10:29:34 -04:00
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