Commit Graph

316 Commits

Author SHA1 Message Date
Richard Ramos f6cd9904c5
fix: invalid order when pagination is backwards (#313) 2022-09-15 09:23:45 -04:00
Richard Ramos 8d42febe18
fix: make 0x prefix optional (#306) 2022-09-14 15:19:04 -04:00
Richard Ramos 83250be0fb
feat: ephemeral messages (#305) 2022-09-12 12:10:34 -04:00
Richard Ramos cd79be4812
fix: jenkinscript (#304)
* chore: add jenkinsfile for tests
* chore: remove old jenkinsfile
* fix: lint
* fix: update cc-test-reporter
2022-09-12 10:13:38 -04:00
Richard Ramos 3716ebdf1d
fix: chat2 feedback 2022-09-11 17:08:58 -04:00
Richard Ramos db85642862
fix: null response obtaining messages from relay (#296) 2022-09-08 08:54:12 -04:00
Richard Ramos b226f34f9f
fix: noise padding, docs and http status for rpc errors (#300) 2022-09-07 15:24:35 -04:00
Richard Ramos 81220b0a2e
fix: stop node without rln 2022-08-26 22:01:26 -04:00
Richard Ramos a1e5b587a2 feat: add flag to set wss port 2022-08-26 11:59:50 -04:00
Richard Ramos 8d885febf7
fix: set default response if nil 2022-08-19 12:00:20 -04:00
Richard Ramos 7943f8f657
fix: close eth connection on stop 2022-08-18 12:27:10 -04:00
Richard Ramos d14e3be64e
chore: add comments to rln options 2022-08-18 10:42:18 -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 8538013f29 fix: update contracts 2022-08-15 15:22:13 -04:00
Richard Ramos 39f70f71a9 feat: use generic flags and convert values to specific data types 2022-08-15 15:22:13 -04:00
Richard Ramos 4589b6c31c feat: make rln optional 2022-08-15 14:41:58 -04:00
Richard Ramos 4292b14ef4 chore: make dynamic tests optional 2022-08-15 14:40:10 -04:00
Richard Ramos c2ce8326ff test: rln onchain 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 f486236d0d fix: don't use goroutines for processing logs 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 132ac128e5 feat: RLN (dynamic) 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 67a43b8ba7 feat: test unit for RLN (static) 2022-08-15 14:40:10 -04:00
Richard Ramos 1636a33835 feat: RLN (static) 2022-08-15 14:40:10 -04:00
Richard Ramos e7bc6799ed refactor: decouple rpc and rest http servers 2022-08-09 11:59:47 -04:00
Richard Ramos 7279600c64 feat(REST): relay (#267) 2022-08-09 11:59:47 -04:00
Richard Ramos 6e44784255
feat(REST): debug (#266) 2022-08-09 10:15:16 -04:00
Richard Ramos dec00e69ad
feat: noise (#258) 2022-08-09 09:55:08 -04:00
Elise Alix 924acf67d9
fix: verify matching `requestId` before removing subscription (#280)
* Check we are removing content topics for the correct request
* Verify request id matches before removing peer as well
2022-08-03 09:35:25 -04:00
Richard Ramos 546416a9d5
refactor: remove WakuStoreWithRetentionPolicy and add build tag to migrations (#281) 2022-08-03 09:32:52 -04:00
Steven Normore fb6d59ff33
fix: close addrChan in the writer goroutine (#277) 2022-08-01 20:16:52 -04:00
Richard Ramos a549337a42
fix: quit channel on store 2022-07-28 15:33:56 -04:00
Richard Ramos 4041f5a67a
fix: store recorded messages metric 2022-07-28 15:17:12 -04:00
Richard Ramos 1c2c68fbfd
fix: test and lint 2022-07-28 14:29:35 -04:00
Nicholas Molnar 2bfdcb6fd1
fix: handle case of unsubscribe from non-existent topic (#276) 2022-07-26 15:20:56 -04:00
Richard Ramos 069d66ed6d
fix: get_waku_v2_admin_v1_peers response 2022-07-26 13:49:10 -04:00
Richard Ramos ecf55b6f89
fix: advertise addr IP 2022-07-26 11:24:24 -04:00
Richard Ramos 6043f6db2e
chore: add docs to filter protocol 2022-07-25 13:28:50 -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 e2b04570c1
chore: improve docs 2022-07-25 11:28:17 -04:00
Steven Normore d8853e62c6
fix: store error metrics tagging (#269) 2022-07-23 08:14:49 -04:00
Richard Ramos 36d4a61dc4 chore: add missing flags 2022-06-19 17:47:39 -04:00
Richard Ramos 27b5ab9c51 chore: test store being decoupled from relay and fix empty contenttopics on filter 2022-06-14 15:53:48 -04:00
Martin Kobetic 2c2725308f
fix: filter deadlock (#262) 2022-06-14 11:53:56 -04:00
Richard Ramos 25c3887342 fix: js-waku / nwaku interop - pt2 2022-06-14 11:36:34 -04:00
Martin Kobetic b749cf22c0
fix: gowaku_lightpush_errors tag (#261) 2022-06-13 14:36:04 -04:00
Richard Ramos 3c0c3c4eeb
fix: js-waku / nwaku interop (#252) 2022-06-13 14:30:35 -04:00
Martin Kobetic 73af2002ce
fix: races in filter protocol and tests (#260)
* Fix races in filter protocol and tests
* only RLock needed
2022-06-10 08:18:34 -04:00
Martin Kobetic 8e295a2a57
fix: race in TestConnectionStatusChanges (#257) 2022-06-10 08:15:00 -04:00
Vitaliy Vlasov ca595277e6
fix: iterate through Network peers during ping process (#182) 2022-06-01 16:11:35 -04:00
Martin Kobetic 80385bf78e feat: add option for setting the encoding/format for logs (#250) 2022-06-01 16:04:00 -04:00
Richard Ramos fddffed78b fix: restore time variance verification 2022-06-01 15:51:28 -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 623e0705c5 fix: increase timeout 2022-05-30 15:30:43 -04:00
Richard Ramos 7c0206684f
refactor: use db for serving history queries (#243) 2022-05-30 14:48:22 -04:00
Martin Kobetic 7c44369def
feat: structured logging followup (#248) 2022-05-30 11:55:30 -04:00
Martin Kobetic 0c989d3d8c
feat: structured logging (#242) 2022-05-27 09:25:06 -04:00
Richard Ramos d872b28d8f fix: change rpc endpoint to match nwaku 2022-05-26 08:23:10 -04:00
Richard Ramos b4697210b0
chore: adding some log messages to store 2022-05-19 16:30:41 -04:00
Richard Ramos dfed1409ff feat: domain name config 2022-05-17 17:54:41 -04:00
Nicholas Molnar 5353ae48f2 Use new errgroup 2022-05-17 13:49:40 -04:00
Nicholas Molnar 38fc9ee8bb Push subscriptions in parallel 2022-05-17 13:49:40 -04:00
Richard Ramos 257847ebaa
feat: add flags for enabling admin and private RPC methods 2022-05-06 15:47:39 -04:00
Richard Ramos 7b3c853c15
refactor: use diff logger for waku 2022-05-06 15:29:31 -04:00
Richard Ramos 79f3cf5b9f feat: discv5 dns bootstrap 2022-05-05 15:41:36 -04:00
Richard Ramos 9845fea2a2 fix: improve log for ENR and print git hash on startup 2022-05-05 14:26:24 -04:00
Richard Ramos 281e932c56 feat: add commit hash and method in debug rpc endpoint 2022-05-05 14:26:24 -04:00
Richard Ramos 3a0fc81889
chore: add docs. pt - 1 (#230) 2022-05-04 17:08:24 -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 b294ee6f6f
fix: port on discv5 (#224) 2022-03-31 21:20:10 -04:00
Richard Ramos a20a128fb7
fix: discv5 ip advertising (#223) 2022-03-29 20:02:33 -04:00
Richard Ramos 15f3abec3a
fix: envelope hash should match messageIdFn hash (#220) 2022-03-23 09:16:11 -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 e85d112828
feat: store timestamp validity checks (#215) 2022-03-22 08:34:45 -04:00
Richard Ramos df235db6b7
feat: c-bindings for waku relay (#212) 2022-03-21 19:15:53 -04:00
Nicholas Molnar 21b2e1d97c
Create pluggable store (#210)
* Add store factory
* Add to test
2022-03-18 15:56:34 -04:00
Richard Ramos af6f36ec54
fix: flaky test (#211) 2022-03-18 15:50:10 -04:00
Richard Ramos e7098efcff
chore: nim-waku interop test (#207) 2022-03-10 18:14:50 -04:00
Richard Ramos 61cda61c3d
fix: flag conn error as failure (#209) 2022-03-09 19:15:04 -04:00
Richard Ramos cf6c4ae8fe
fix: extract multiaddress from enode key if available (#199) 2022-03-08 08:58:32 -04:00
Richard Ramos f4f307db87
fix: connect before opening a stream 2022-03-03 12:04:03 -04:00
Richard Ramos b820d797c8
feat: add pubsub topic to Index pb (#200)
* feat: add pubsub topic to Index pb
* fix: flaky test
2022-03-02 12:02:13 -04:00
Richard Ramos 2817d71fea
feat: use `d5waku` as ProtocolID for DiscV5 (#196) 2022-02-28 14:28:09 -04:00
Richard Ramos cdc0c9c69d
fix: remove unused vars 2022-02-24 09:40:18 -04:00
Richard Ramos d1931a6c69
fix: remove print 2022-02-24 09:37:10 -04:00
Richard Ramos df66ef5bb5
fix: race condition in unsubscribe (#197) 2022-02-23 11:08:27 -04:00
Richard Ramos 8d155fb51e
fix: protocol name 2022-02-23 11:06:47 -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 e9dafb6038
fix: remove public key (#193) 2022-02-21 15:21:31 -04:00
Richard Ramos 0db40c7de5
fix: broadcaster blocked after publishing 1024 messages (#188) 2022-02-18 13:49:11 -04:00
Richard Ramos 11d1f8fb0d
feat: result aggregation in resume and enforce max page size (#183)
* feat: result aggregation in resume and enforce max page size
* feat: add WithLogger option to wakunode (#184)
* fix: rebase issues
2022-01-18 14:17:06 -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
Anthony Laibe 12593bb503 feat: private get messages 2021-12-10 15:51:40 +01:00
Richard Ramos 1b0e03c07b
feat: add support for RFC31 ENR (#180) 2021-12-10 10:26:38 -04:00
Richard Ramos 0de19253da
refactor: maintenaibility fixes (#167) 2021-12-08 10:21:30 -04:00
Anthony Laibe d0d3271433 feat: private rpc encrypt message 2021-12-08 14:07:57 +01:00