Prem Chaitanya Prathi
bad57fcb0c
fix: get peers api to not include own node ID as peer ( #974 )
2024-01-03 08:05:04 +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
richΛrd
c00b218215
chore: add retry mechanism for rpc calls and rename db function ( #966 )
2024-01-02 12:35:58 -04:00
Prem Chaitanya Prathi
02e2c5926e
fix: return appropriate error code for filter subscribe ping ( #975 )
2024-01-02 19:41:55 +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
richΛrd
0ba1b63066
chore: remove bridging topics feature ( #949 )
2023-12-09 13:59:35 -04:00
richΛrd
f0ed5e32d5
fix(store): set pagesize behavior match nwaku ( #944 )
2023-12-06 09:02:05 -04:00
Prem Chaitanya Prathi
5a5ee51f4b
feat: include pubsubTopics supported by peer in getPeers REST API ( #943 )
2023-12-06 07:17:59 +05:30
richΛrd
251188d217
fix(rest-filter): requestID is a `string` and refactor routes ( #932 )
2023-11-29 09:31:23 -04:00
Prem Chaitanya Prathi
d7249fc123
fix: rest api errors ( #919 )
...
Co-authored-by: richΛrd <info@richardramos.me>
2023-11-24 10:26:06 +05:30
Prem Chaitanya Prathi
9a30c78e1a
fix: add peer api to consider protocols passed ( #903 )
2023-11-15 20:09:09 +05:30
Prem Chaitanya Prathi
8122cf47a1
fix: rest get messages not returning more than 1 message ( #898 )
2023-11-14 13:24:02 -04:00
Prem Chaitanya Prathi
392558ec8e
fix: panic when discv5 is enabled while running service node ( #897 )
2023-11-14 16:47:49 +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
b6d9e3d4be
fix(rest): use custom struct for messages instead of protobuffer ( #888 )
2023-11-10 14:31:36 -04:00
richΛrd
be9a2cce10
chore: indicate that `--dns-discovery-url` can be repeated ( #891 )
2023-11-10 14:06:26 -04:00
Vitaly Vlasov
684c7a46df
Add messages logging subsystem
2023-11-10 13:54:52 +02:00
richΛrd
ff94b1faf0
chore: remove --store-message-db-vacuum ( #883 )
2023-11-09 16:10:40 -04:00
Prem Chaitanya Prathi
fab51beadf
fix : issues with get messages API ( #878 )
...
* fix issues with get messages API
---------
Co-authored-by: richΛrd <info@richardramos.me>
2023-11-08 18:46:24 +05:30
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
Prem Chaitanya Prathi
2616d43c9d
chore: update relay REST and RPC API's and fix unit tests ( #866 )
...
* update relay REST API's to remove duplicate message cache, fix relay tests and admin test
* chore: enable REST and RPC unit tests
* update lightpush rest api to match yaml
* fix: filter rest unit test failures
* skipping legacy filter tests
* chore: add unit tests for autosharding relay REST API, fix success response (#868 )
2023-11-07 20:26:48 +05:30
Prem Chaitanya Prathi
25eb4d60a3
fix: decode url param in relay rest API ( #862 )
...
* fix: decode url param in relay rest API
* Update cmd/waku/server/rest/relay.go
Co-authored-by: richΛrd <info@richardramos.me>
* chore: reuse common functions
---------
Co-authored-by: richΛrd <info@richardramos.me>
2023-11-06 14:03:00 +05:30
harsh jain
532a04013f
feat(rest-filterv2): get message ( #856 )
...
* feat: add getMessage endpoint
* test: getMessage filter v2
2023-11-04 14:24:20 +07:00
harsh jain
a0bc53c679
fix(subscription-map): uniform operations and encapsulation ( #853 )
...
* fix(subscription-map): uniform operations and encapsulation
* nit: fixes based on comments
2023-11-04 14:16:24 +07:00
richΛrd
d51c207a1f
feat: bridge relay topics ( #854 )
2023-11-03 09:47:15 -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
Prem Chaitanya Prathi
3d69e78cf3
Feat: implement admin rest api ( #827 )
...
* feat: implement Admin rest API to fetch and add peers
2023-10-25 00:55:04 +05:30
harsh jain
9b9fc634cb
Rest light push ( #818 )
...
* feat: add lightPush Rest endpoints
* test: lightPush Rest Service
2023-10-24 06:23:33 +07:00
Prem Chaitanya Prathi
ab65c4869c
Feat : New Relay rest API for autosharding ( #822 )
...
* fix: REST API endpoint for version
* feat: add new autosharding relay REST API support
2023-10-24 04:29:02 +05:30
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
Richard Ramos
4af7e7a500
chore: return custom error code for non recoverable errors
2023-10-19 12:15:34 -04:00
harsh-98
b5802adf5b
fix: use NewQueries from db utils
2023-10-13 10:35:11 +07:00
richΛrd
88d69ebccd
feat: force reachability ( #778 )
2023-09-28 16:08:40 -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
Prem Chaitanya Prathi
3254d28968
Fix /health REST API panic ( #763 )
...
* fix: panic in REST health endpoint to running node without RLN
* chore: change title of each API file
2023-09-21 18:40:07 +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
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
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
cc28267951
feat: append RLN proofs when posting messages in REST/RPC
2023-09-08 14:42:33 -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
Prem Chaitanya Prathi
d13b1f0aa3
autosharding content-topic config ( #696 )
...
* chore: add shard choice simulation test
* feat: add new flags for pubsub and contentTopics and deprecate topic flag
* chore: remove store-resume-peer config and comment out functionality until redesign of store is done
* chore: fix code to use contentTopics value
* fix: use default waku topic only if no other topics are provided in the config
2023-09-06 10:07:21 +05:30
Richard Ramos
5fcfbb9897
feat: use rln registry contract
2023-09-04 10:02:14 -04:00
Richard Ramos
30422114f6
refactor: use a map to store credentials instead of an array
2023-09-04 10:02:14 -04:00