Richard Ramos
ac75160817
fix: use 5s timeout in discv5 iterator
2023-05-08 12:29:18 -04:00
Richard Ramos
9b7ad40b06
feat: ext-ip
2023-05-08 11:59:46 -04:00
harsh-98
38741caca0
fix: constrainted env add wait to TestRelaySubscription
2023-05-08 08:31:19 -04:00
harsh-98
bf8c856bc3
fix: use buffered channel as needed by legacy_filter, filter
2023-05-08 08:31:19 -04:00
harsh-98
128999b763
fix: make test work without buffered channel from relay.Subcribe
2023-05-08 08:31:19 -04:00
harsh-98
60edf95c48
fix: broadcaster shouldn't block if channels are not listened to
2023-05-08 08:31:19 -04:00
harsh-98
210597f7e0
fix: to test for new Broadcaster
2023-05-08 08:31:19 -04:00
harsh-98
31c8035589
feat: safe broadcaster
2023-05-08 08:31:19 -04:00
harsh-98
02fdf916d8
refactor: sync.atomic has Boolean type
2023-05-08 08:27:44 -04:00
harsh-98
e391fe6a2f
refactor(discv5): lock-free via atomics
2023-05-08 08:27:44 -04:00
Richard Ramos
46500b0de9
fix: handle duplicate filter id removal
2023-05-05 13:52:58 -04:00
Richard Ramos
231469b441
feat: validate message timestamp in signed topic validator
2023-05-05 13:52:51 -04:00
Jakub Sokołowski
8fafc367eb
ci: cleanup Ganache container after tests finish
...
We've had too many leftover containers conflicting with new ones.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-05-05 18:24:06 +02:00
harsh-98
f94b071a84
nit: remove redundant field
2023-05-05 11:41:10 -04:00
harsh-98
e6d9f6b1d8
nit: change to simpleLRU
2023-05-05 11:41:10 -04:00
harsh-98
c890b1fee8
refactor(peerExchange): use lru for storing peers
2023-05-05 11:41:10 -04:00
Richard Ramos
c15f4ada56
feat: add message size and published/received time to debug log
2023-05-04 16:22:11 -04:00
harsh-98
58ebf09ef9
docs: add waku specs, devp2p tool for enr/enrtree
2023-05-04 13:28:18 -04:00
harsh-98
caeba39b21
fix: only last discoveryUrl set discoveredNodes
2023-05-04 13:27:54 -04:00
Richard Ramos
8711a08df6
fix: code review
2023-05-04 13:25:45 -04:00
Richard Ramos
f11b82d94a
fix: use deterministic signatures RFC6979
2023-05-04 13:25:45 -04:00
Richard Ramos
837a0f2708
chore: add unit test for signed validator and --protected-topic-flag
2023-05-04 13:25:45 -04:00
Jakub Sokołowski
f2d2e8127a
nix: upgrade nixpkgs to include xcodeWrapper fixes
...
Fixes:
- https://github.com/NixOS/nixpkgs/pull/204278
- https://github.com/NixOS/nixpkgs/pull/228696
Other notable upgrades:
- Bash from `5.1` to `5.2`
- Binutils from `2.39` to `2.40`
- GnuAWK from `5.1.1` to `5.2.1`
- GCC from `11.3.0` to `12.2.0`
- GNU Make from `4.3` to `4.4.1`
- Go from `1.19.6` to `1.19.8`
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-05-04 15:23:52 +02:00
Richard Ramos
88ecf728a3
fix: rename `gowaku_` metrics to `waku_`
2023-04-27 09:58:06 -04:00
Richard Ramos
21a28e9b53
feat: record message size
2023-04-27 09:58:06 -04:00
Richard Ramos
fad1a98f77
chore: run onchain tests
2023-04-26 12:40:15 -04:00
Richard Ramos
360a44830a
fix(rln): onchain tests
2023-04-26 12:12:10 -04:00
Richard Ramos
c479daa926
chore: rename/reorder legacy filter flags
2023-04-26 11:57:25 -04:00
Richard Ramos
7f276d572f
fix: retrieve membership fee from contract
2023-04-26 11:56:56 -04:00
Richard Ramos
24587e57aa
refactor: handle max records exceeded
2023-04-25 10:55:11 -04:00
Richard Ramos
966cbba4c4
feat: utils for handling shards in enr
2023-04-25 10:54:59 -04:00
Richard Ramos
c23eac64fb
feat(filterv2): ignore messages received from peers not subscribed to
2023-04-25 10:46:50 -04:00
Richard Ramos
9ed8f16a0a
feat: add metrics to archive protocol and discv5
2023-04-20 10:04:20 -04:00
kalloc
f399fe00f4
fix: fix links to examples and waku v2 spec
2023-04-20 08:58:10 -04:00
Richard Ramos
68b615a87e
feat: improve metrics for filter, lightpush, dns discovery and store protocols
2023-04-20 08:57:22 -04:00
Jakub Sokołowski
6550565afc
ci: adjust Docker Jenkinsfile for releases
...
Changes:
* Rename `BRANCH` to `GIT_REF` to indicate tags can be used.
* Default to `stable` for `IMAGE_TAG` on release builds.
* Use `GIT_REF` for specific Docker image tag instead of commit.
* Adjust some comments and descriptions.
Resolves:
https://github.com/waku-org/go-waku/issues/516
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-04-18 20:43:48 +02:00
Richard Ramos
2c3566377a
refactor: inject host on node start
2023-04-17 11:09:05 -04:00
Richard Ramos
fbd58df2e8
refactor: initialize broadcaster on Start
2023-04-17 10:19:08 -04:00
Richard Ramos
c559932931
chore: update flags
2023-04-17 10:07:15 -04:00
Richard Ramos
0b01e4bb16
refactor: rename filter to legacy filter and set filterv2 as filter
2023-04-17 10:07:15 -04:00
Richard Ramos
c3ef173b2c
feat: handle chain forks
2023-04-17 10:02:09 -04:00
Richard Ramos
5de3d9f619
feat(rest): store
2023-04-17 10:01:32 -04:00
Richard Ramos
bbb558e685
feat(c-bindings): list pubsub topics
2023-04-17 09:56:22 -04:00
Richard Ramos
c690b6c050
feat: dos protected topic relay msgs based on meta field
2023-04-17 09:56:13 -04:00
Richard Ramos
e74f60f173
feat: enable webstransport
2023-04-14 12:34:47 -04:00
Richard Ramos
8af789bb63
chore: automate cc-test-reporter install
2023-04-14 12:08:48 -04:00
Jakub Sokołowski
fd5865b1dc
ci: fix GOPATH, PATH, disable GOCCHE
...
Using `$HOME/go` is bad and you should feel bad.
Also, adding `/usr/loca/go/bin` is a terrible idea.
And `GOCACHE` is poisoning stuff for linter.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-04-14 17:54:18 +02:00
Jakub Sokołowski
234c2b0400
nix: install golangci-lint in devel shell
...
This way we don't need to depend on `make deps`.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-04-14 15:28:42 +02:00
Richard Ramos
801ec92c11
refactor: loading credentials and chat2
2023-04-11 10:39:07 -04:00
Richard Ramos
42c0e123d9
refactor: credentials
2023-04-11 10:39:07 -04:00