richΛrd
d65a836bb6
chore: drop legacy filter support ( #1037 )
2024-02-20 08:47:37 -04:00
Prem Chaitanya Prathi
4f232c40ca
feat: topic health reporting ( #1027 )
...
Co-authored-by: richΛrd <info@richardramos.me>
2024-02-08 15:24:58 +05:30
Prem Chaitanya Prathi
5fdd0da9ee
chore: set log level for all loggers based on logger passed ( #1011 )
2024-01-25 19:39:49 +05:30
Roman Zajic
190d8e8e08
chore: RLN tests coverage improvement for node gm ( #1009 )
2024-01-21 11:55:27 +08:00
Prem Chaitanya Prathi
faf046e059
chore: bumped libp2p and pubsub to 0.32.2 and 0.10 respectively ( #987 )
...
Co-authored-by: Richard Ramos <info@richardramos.me>
2024-01-12 13:40:27 -04:00
richΛrd
82fc800b08
feat: parameterizable number of connections per IP ( #994 )
2024-01-08 15:05:21 -04:00
Prem Chaitanya Prathi
369a025b7c
fix: use both filter and legacyFilter flags to determine if filter is enabled and set Waku2 ENR field ( #996 )
2024-01-08 21:26:16 +05:30
Prem Chaitanya Prathi
71aec6d37b
feat: metrics dashboard ( #980 )
2024-01-03 11:11:11 +05:30
Prem Chaitanya Prathi
b5068b4357
feat: relay msg size ( #963 )
...
Co-authored-by: richΛrd <info@richardramos.me>
2024-01-03 07:06:41 +05:30
Prem Chaitanya Prathi
4ef0c75ded
fix: use node's clusterId when adding peer from admin REST API & don't subscribe to default pubsub topic for non-zero clusterID ( #973 )
2024-01-02 18:04:43 +05:30
kaichao
b4ba7b75d4
chore: stop light filter node by default ( #964 )
2023-12-21 08:44:51 +08:00
Prem Chaitanya Prathi
5a5ee51f4b
feat: include pubsubTopics supported by peer in getPeers REST API ( #943 )
2023-12-06 07:17:59 +05:30
Prem Chaitanya Prathi
a5ce5dfaa4
feat: update store client Query API for autosharding ( #885 )
2023-11-14 04:22:46 +05:30
harsh jain
73bcb2e78a
feat: add dns discovery in lib ( #884 )
2023-11-13 19:17:43 +07:00
richΛrd
ff94b1faf0
chore: remove --store-message-db-vacuum ( #883 )
2023-11-09 16:10:40 -04:00
richΛrd
150ade6f33
chore: use waku-org/waku-proto repository for protobuffer definitions ( #828 )
2023-11-07 15:48:43 -04:00
Prem Chaitanya Prathi
3226def4cf
feat: On Demand Peer Discovery based on shard and service ( #834 )
...
* refactor discovery and common service to separate package to remove package inter-dependencies
* relay on-demand discovery ,use proto to enr field mapping
* chore: no need to dial discovered peers as peermanager already does that
* on demand discovery for service peers during peer selection
* identify supported protocols for discovered peers and add to service slots
* fix: tests to use proper static sharding topics
* fix: random selection with default pubsubTopic
---------
Co-authored-by: richΛrd <info@richardramos.me>
2023-11-07 22:43:19 +05:30
richΛrd
36beb9de75
refactor: fix nomenclature for shards ( #849 )
2023-10-31 06:50:13 -04:00
richΛrd
38202e7a2e
refactor: publish API for relay and lightpush ( #845 )
2023-10-30 12:30:25 -04:00
harsh jain
0868f5d4dd
feat: add filter v2 rpc ( #798 )
...
* feat: add filter v2 rpc
ping, subscribe/unsubscribe and unsubscribeAll.
* test(filterRest): pingFailure, subscribe-ping, unsubscribe and unsubscribeAll
2023-10-27 06:21:50 +07:00
richΛrd
94f18c537c
refactor: validate protobuffers for lightpush and relay ( #824 )
2023-10-24 17:48:22 -04:00
Richard Ramos
19ba25ffcb
feat: metadata protocol
2023-10-20 20:30:23 -04:00
Prem Chaitanya Prathi
b5be83a02e
feat : autoshard relay api ( #807 )
...
* fix: using relay without bcaster should consume and drop messages
* update relay api usage
* move subscription to broadcaster
* move filter logic under subscription
* Support more than 1 relay subscription for a pubSubTopic
* modify relay Publish API to derive pubSubTopic based on autosharding
* implement relay RPC methods for autosharding
* remove relay msgChannel and relay on pubsub buffersize for subscription
Co-authored-by: richΛrd <info@richardramos.me>
* handle relay subscribe with noConsumer and address issue reported in code review
* chore: reorg relay code
---------
Co-authored-by: richΛrd <info@richardramos.me>
2023-10-21 01:26:18 +05:30
richΛrd
bfee9964f6
fix: setFallbackIP with reported libp2p addr ( #808 )
2023-10-17 10:33:50 -04:00
Richard Ramos
d4abe15634
fix: addr update
2023-10-17 09:00:30 -04:00
Richard Ramos
ee94581d0a
feat: prefer circuit relay addr over ws, and update cache with enrs with newer seq number
2023-10-17 08:29:24 -04:00
Richard Ramos
9a0cf85ae1
fix: add ws to enr
2023-10-17 08:29:24 -04:00
Prem Chaitanya Prathi
6955d01498
Update peer selection options for light protocols ( #787 )
...
* Update peer selection options for lightPush
* Update peer selection options for filter
* migrate peer selection functionality from peer manager
Co-authored-by: richΛrd <info@richardramos.me>
---------
Co-authored-by: richΛrd <info@richardramos.me>
2023-10-16 22:12:01 +05:30
Prem Chaitanya Prathi
47c961dcbb
feat: update lightpush API for autosharding ( #774 )
...
* feat: update lightpush API to make pubSubTopic optional as per autosharding
* Extract contentFilter and subscriptions out of filter to reuse in relay (#779 )
* chore: extract contentFilter outside filter package
* chore: move subscription outside of filter so that it can be modified and reused for relay
* Feat: filter select peer for sharding (#783 )
* update selectPeer to support pubsubTopic based selection
2023-09-29 10:43:25 +05:30
Prem Chaitanya Prathi
dfd104dbac
Chore: test cov improvement ( #784 )
...
* add few tests to increase coverage
* consider other packages coverage while running unit tests
2023-09-29 04:40:43 +05:30
Anton Iakimov
7f466c1d99
update wakuv2 fleet DNS discovery enrtree ( #775 )
...
https://github.com/status-im/infra-misc/issues/171
2023-09-28 08:34:30 -04:00
Prem Chaitanya Prathi
388f56b43f
feat: Sharded peer management - Relay ( #764 )
...
* feat: connect/disconnect to peers based on node topic sub/unsub
* feat: maintain healty relay connections per pubSubTopic
Co-authored-by: richΛrd <info@richardramos.me>
* chore: add config to limit peerstore capacity (#770 )
2023-09-27 12:16:37 +05:30
richΛrd
003c90fba8
feat: force unreachability ( #753 )
...
Co-authored-by: Prem Chaitanya Prathi <chaitanyaprem@gmail.com>
2023-09-20 12:24:16 +05:30
Prem Chaitanya Prathi
9b05d48318
Feat : handle dynamic peer topic sub unsub ( #751 )
...
* feat: handle dynamic peer join and leave a pubSub topic
Co-authored-by: richΛrd <info@richardramos.me>
---------
Co-authored-by: richΛrd <info@richardramos.me>
2023-09-19 11:35:29 +05:30
Richard Ramos
2060c8c837
feat: allow running rln with no credentials
2023-09-15 10:18:44 -04:00
Prem Chaitanya Prathi
bfc3083fb1
feat: update WakuPeerStore to store pubSubTopics for a peer ( #734 )
...
* feat: update peerStore to store pubSubTopics a peer is linked to
* derive pubSubTopics from ENR
* New API to retrieve peers by shard information
2023-09-14 20:30:06 +05:30
Richard Ramos
55bc21c604
feat(rln-relay): isReady
2023-09-14 10:47:27 -04:00
Richard Ramos
7beaa3f029
feat(rln-relay): ensure execution order for pubsub validators
2023-09-14 09:38:28 -04:00
Richard Ramos
ab7e45c735
feat: make RLN available by default
2023-09-14 09:03:18 -04:00
Richard Ramos
dcc87cf24f
chore(lint): adds make lint-full target and fixes some linting errors
2023-09-12 09:54:34 -04:00
Richard Ramos
db3a2d53b3
fix: log enr only after it has been setup
2023-09-08 17:37:23 -04:00
Richard Ramos
cc28267951
feat: append RLN proofs when posting messages in REST/RPC
2023-09-08 14:42:33 -04:00
Richard Ramos
be982d8617
chore: add tls/ws to address factory
2023-09-08 12:25:14 -04:00
Richard Ramos
8783cd2f45
chore(rln-relay): use the only key from keystore if only 1 exists
2023-09-08 12:05:32 -04:00
harsh jain
08cabab41f
fix: and optimising fetching membership events ( #706 )
...
* fix: and optimising fetching membership events
* fix: start from lastProcessedBlock+1
* test: fetching membership logic
* refactor: usage of rlnInstance,rootTracker,groupManager
rlnInstance, rootTrack were previously created while creating rlnRelay
but were assigned to groupManager on Start of rlnRelay. This created
unncessary dependency of passing them to static and dynamic group
manager.
Web3Config uses interface EthClientI for client, so that we can pass
mock client for testing MembershipFetcher.
* fix: failing test
* fix: lint error
* fix: account for PR suggestions
* fix: failing race test
* fix: dont' increase fromBlock on error
* nit: fix naming and add comments
2023-09-07 23:23:48 +07:00
Richard Ramos
84fa332e1c
fix: allow mixing named and static shards
2023-09-04 10:10:49 -04:00
Richard Ramos
e8bd38a023
fix: add back to peerstore dns4 addresses removed by go-libp2p identify
2023-09-01 16:53:07 -04:00
Richard Ramos
9c0bebc859
refactor: use a map to store credentials instead of an array
2023-08-31 15:42:45 -04:00
Richard Ramos
0854edaf3d
refactor: keystore as a data type
2023-08-31 15:42:45 -04:00
harsh jain
229fb7a970
refactor: peerManager test ( #683 )
...
* refactor: peerManager test
* fix: break down and fix peerManager test
* refactor: codeClimate linting for peerManager/ConnectionGater
2023-08-30 21:33:57 +07:00