richΛrd
48acff4a5c
feat: add warning about bootnodes not supporting shards ( #848 )
2023-10-30 19:20:13 -04:00
Richard Ramos
cf82f66d12
revert( #820 ): msg digest matches msg hash
2023-10-30 16:25:21 -04:00
richΛrd
4584bb4324
refactor: validate protobuffer for store ( #841 )
2023-10-30 12:55:36 -04:00
richΛrd
38202e7a2e
refactor: publish API for relay and lightpush ( #845 )
2023-10-30 12:30:25 -04:00
harsh jain
ddf188bbf8
feat: remove named topic ( #844 )
...
* feat: remove named topic
* fix: update examples
* Update library/mobile/api.go
2023-10-30 21:56:26 +07:00
richΛrd
279752344f
chore: print a message periodically indicating that VACUUM is still being executed ( #838 )
2023-10-30 09:22:50 -04:00
richΛrd
db222a24ef
fix(c-bindings): userdata ( #785 )
2023-10-28 19:37:53 -04:00
Roman Zajic
fc3b2f76d5
chore(filter v2): test updates ( #811 )
...
---------
Co-authored-by: Richard Ramos <info@richardramos.me>
Co-authored-by: Prem Chaitanya Prathi <chaitanyaprem@gmail.com>
2023-10-28 19:27:01 -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
c58d0f51e4
fix: race condition in peer connector / manager interaction ( #837 )
2023-10-25 21:25:56 -04:00
harsh jain
0ba8b2caeb
fix(filter-subscribe): params.selectedPeer not set ( #836 )
...
* fix(filter-subscribe): params.selectedPeer not set
2023-10-26 05:06:44 +07:00
richΛrd
2701a38b2a
refactor: validate protobuffer for filter ( #833 )
2023-10-25 08:49:25 -04:00
Prem Chaitanya Prathi
18c16de94e
fix: modify store test to not depend on order of msgs ( #832 )
...
* fix: modify store test to not depend on order of msgs
Co-authored-by: richΛrd <info@richardramos.me>
---------
Co-authored-by: richΛrd <info@richardramos.me>
2023-10-25 03:41:00 +05:30
richΛrd
94f18c537c
refactor: validate protobuffers for lightpush and relay ( #824 )
2023-10-24 17:48:22 -04:00
Richard Ramos
fa51d10b4b
fix: stream close/reset ( #823 )
2023-10-24 17:48:22 -04:00
Prem Chaitanya Prathi
a3c3aab44e
fix: propagate relay subscribe opt properly ( #829 )
2023-10-25 02:11:42 +05:30
richΛrd
077df2fbb6
fix: do not disconnect peers in TestWakuMetadataRequest
( #826 )
2023-10-24 16:01:11 -04:00
Richard Ramos
9161c4f7fe
fix: stream closing/reset
2023-10-20 20:30:23 -04:00
Richard Ramos
519fa2977a
refactor: rename connOpt
to stream
2023-10-20 20:30:23 -04:00
Richard Ramos
19ba25ffcb
feat: metadata protocol
2023-10-20 20:30:23 -04:00
richΛrd
4181655b7a
fix: msg digest matches msg hash ( #820 )
2023-10-20 16:25:54 -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
Prem Chaitanya Prathi
ac9d826b03
fix: handle empty content topics in filter subcribe and unsubscribe ( #812 )
...
* fix: handle empty content topics in filter subcribe and unsubscribe
2023-10-18 01:23:40 +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
harsh-98
2ef7e732dd
nit: remove testing var
2023-10-13 10:35:11 +07:00
harsh-98
b5802adf5b
fix: use NewQueries from db utils
2023-10-13 10:35:11 +07:00
harsh-98
5d0692b339
test(store): add fixture for sqlite and postgres
2023-10-13 10:35:11 +07:00
harsh-98
d268b2e403
fix: limit can't be negative for postgres
2023-10-13 10:35:11 +07:00
harsh-98
2f9f304762
test: for postgres and jenkins postgres setup
2023-10-13 10:35:11 +07:00
Richard Ramos
7826e31f14
fix(store): query time comparison and max rows per page
2023-10-12 10:58:55 -04:00
richΛrd
3aa477cbc6
fix: return errors in FilterSubscribeOption ( #794 )
2023-10-07 16:19:53 -04:00
richΛrd
dcc828749f
fix: use https for cloning submodules instead of ssh ( #780 )
...
* fix: use https for cloning submodules instead of ssh
* chore: move to libs/
This simplifies the checkout process for github actions
2023-09-30 13:57:49 -04:00
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
d324234c81
fix(filter2): add requestID to pings and remove unneeded log ( #776 )
2023-09-26 12:27:29 -04:00
Vitaliy Vlasov
16ec22596e
feat: change UnsubscribeWithSubscription so that it's single sub-specific
...
Also merge FilterSubscribe and FilterUnsubscribe options/params
2023-09-22 17:53:33 +03:00
Vitaliy Vlasov
e0ba66791d
fix: only allow adding unique topics
2023-09-22 16:47:36 +03:00
Prem Chaitanya Prathi
9f4754dcae
fix: panic during removePubSubTopic ( #765 )
2023-09-22 17:36:45 +05:30
richΛrd
d317b294a0
fix: panic when removing pubsub topic ( #759 )
2023-09-21 15:03:19 +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
054bdae1de
Feat/autoshard filter ( #723 )
...
* feat: update filter client to support autosharding
* chore: add filter tests for autoshard
* chore:update filter API docs for autosharding
* chore: docs changes to indicate sharding impact on pubSubTopic
* fix: handle partial errors during subscribe and return failed content-topic details
2023-09-20 11:26:55 +05:30
Vitaliy Vlasov
81638fe111
Use PubsubTopic naming; enforce unique ContentTopics ( #750 )
2023-09-19 18:22:11 +05:30
harsh jain
3d8d435502
test(store): make queries ( #752 )
...
* test(store): make queries
* test: most recent timestamp and count of msg
* nit: add comment for pageSize+1
2023-09-19 13:28:11 +07:00
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