Commit Graph

185 Commits

Author SHA1 Message Date
Jakub d1835fd612
Merge pull request #44 from status-im/ci/add-jenkinsfile
ci: add Jenkinsfile that runs lint and test targets
2021-08-16 17:13:09 +02:00
Jakub Sokołowski e10778c432
ci: add Jenkinsfile that runs lint and test targets
This adds a simple `Jenkinsfile` that runs `make lint` and `make test`.
Had to also add a `deps` target that runs `lint-install` to install missing `golangci-lint`.

Jobs folder: https://ci.status.im/job/go-waku/
Resolves: https://github.com/status-im/go-waku/issues/11

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-08-16 12:52:13 +02:00
Andrea Maria Piana afc8ed6e85
Merge pull request #43 from status-im/chore/add-tests
Add tests and lint code
2021-08-16 10:37:02 +02: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 654f3f8cd4
fix: order of fields of History Response protobuf (#35) 2021-07-29 08:43:29 -04:00
RichΛrd c3ac5ef9c5
feat: Add support for multiple protocol IDs (#34) 2021-07-29 08:41:37 -04:00
RichΛrd 748e738d9a
adding lint target and fixing lint issues (#38) 2021-07-29 08:40:54 -04:00
Richard Ramos 73bedde63c
fix: invalid parameter 2021-07-21 14:02:31 -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
Andrea Maria Piana 4133155590
Merge pull request #31 from status-im/debug/sys-downgrade
Downgrade sys package
2021-06-24 11:55:04 +02:00
Andrea Maria Piana 98680c248c
downgrade sys 2021-06-22 16:04:13 +02: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
RichΛrd ceacac10c3
feat: resume message history (#24) 2021-06-10 09:00:06 -04:00
Vitaliy Vlasov b9f3f562eb
waku2-filter (#23)
* waku2-filter
2021-06-10 08:59:51 -04:00
Richard Ramos b9645a7c60
change status-go version 2021-04-29 14:40:24 -04:00
Richard Ramos 1c4555ab32
bump go-waku version and use context on publish 2021-04-28 16:28:45 -04:00
Richard Ramos 9138d58152
Add option to enable lightpush protocol 2021-04-28 16:23:03 -04:00
Richard Ramos 3d8aae5b81
Lightpush protocol
- Partially implements #20. Requires some tests
- Extracts wakurelay code to separate file
- Extracts request id gen to separate file
- Initial implementation of lightpush protocol
- Adds utils functions to obtain a message hash
- Publish receives a context to send a message
2021-04-28 16:10:44 -04:00
Richard Ramos 78f8b7e609
bump go-waku version 2021-04-28 11:12:45 -04:00
Richard Ramos aee86211d1
Enabling pubsub topic filter in history queries
Fixes #19
2021-04-28 11:11:32 -04:00
Richard Ramos 4a4d0c97ec
docs. pt-2 2021-04-22 16:42:44 -04:00
Richard Ramos 51e0fecb76
docs. pt-1 2021-04-22 14:49:52 -04:00
Richard Ramos f978071043
add websocket support 2021-04-22 09:07:22 -04:00
Richard Ramos b60ee0fe5c
update go-waku version 2021-04-21 20:12:51 -04:00
Richard Ramos 997bc4f2d8
refactor: organize code 2021-04-21 20:09:37 -04:00
RichΛrd c3d9868e77
Add required go version to README.md 2021-04-20 17:52:47 -04:00
Richard Ramos 7f4e10cbe4
bump go-waku version in chat2 example 2021-04-20 17:48:02 -04:00
Richard Ramos 287a54aca7
add history content filter 2021-04-20 17:46:35 -04:00
Richard Ramos e539439f16
update examples to create a wakunode with options 2021-04-18 20:07:21 -04:00
Richard Ramos ef67ff356f
support memory only waku store 2021-04-18 20:03:16 -04:00
Richard Ramos 57e36021bb
Use options pattern for starting a waku node 2021-04-18 19:41:42 -04:00
Richard Ramos 183b8f52c1
subscribe to multiple topics 2021-04-15 17:23:07 -04:00
Richard Ramos 9572a766a8
bump go-waku version 2021-04-15 13:57:18 -04:00
Richard Ramos 7ba8c51bca
use peer.ID instead of string 2021-04-15 13:55:40 -04:00
Richard Ramos 01328daae6
bump examples 2021-04-14 22:22:18 -04:00
Richard Ramos ed9ea40668
use broadcaster for subscriptions and minor code reorg 2021-04-14 22:19:31 -04:00
Richard Ramos e1f10d2099
Add options and start/end time to waku_store 2021-04-14 22:17:53 -04:00
Richard Ramos 547be3c951
extract subscription to separate file 2021-04-14 22:17:12 -04:00
Richard Ramos 9b7b942ac4
chore: change log level in chat example 2021-04-13 15:17:21 -04:00
Richard Ramos db08d949b6
Add makefile 2021-04-13 14:54:15 -04:00
Richard Ramos 11b588a46f
Reorg file paths, and initialize peer store 2021-04-13 14:54:06 -04:00
Richard Ramos 1b746cdec8
Persistent peer store 2021-04-13 14:52:57 -04:00
Richard Ramos 875dbbaf75
Update README.md 2021-04-13 14:52:02 -04:00