Commit Graph

791 Commits

Author SHA1 Message Date
Prem Chaitanya Prathi 3066ff10b1
fix: use correct ticker for all peers ping (#1214) 2024-09-04 19:14:17 +05:30
kaichao 99d2477035
fix: check subscription when relay publish message (#1212) 2024-08-31 09:22:59 +08:00
richΛrd 27d640e391
fix: stop creating goroutines if context is already canceled (#1213) 2024-08-30 11:46:19 -04:00
Richard Ramos 69e1b559bc
feat(api): add options to filter manager 2024-08-26 11:34:27 -04:00
Richard Ramos 3b5ec53bab
feat(api): parameterize filter subscriptions 2024-08-26 11:09:15 -04:00
richΛrd 949684092e
fix: criteriaInterest mutex (#1205)
Co-authored-by: Pablo Lopez <p.lopez.lpz@gmail.com>
2024-08-23 10:32:38 -04:00
Igor Sirotin 4c3ec60da5
fix: prevent panics in peermanager and WakuRelay (#1206) 2024-08-23 15:23:07 +01:00
kaichao a4f0cae911
fix: set default store hash query timeout to 30s (#1204) 2024-08-22 22:45:24 +08:00
Igor Sirotin 1472b17d39
fix: flaky panic on relay unsubscribe (#1201) 2024-08-22 10:16:03 +05:30
Prem Chaitanya Prathi 8ff8779bb0
feat: shard aware pruning of peer store (#1193) 2024-08-21 18:08:11 +05:30
Richard Ramos d3b5113059
fix: nil result 2024-08-19 18:17:06 -04:00
Akhil 8ab0764350
feat: e2e reliable chat example POC (#1153) 2024-08-19 13:30:15 +04:00
Prem Chaitanya Prathi bc16c74f2e
feat: shard based filtering in peer exchange (#1194) 2024-08-15 07:27:56 +05:30
Prem Chaitanya Prathi 3b2cde8365
chore: use utc time in logs to avoid user location getting disclosed (#1192) 2024-08-14 06:17:00 +05:30
richΛrd 159635e21b
chore: limit the maximum number of message hashes to request per query (#1190) 2024-08-10 11:13:59 -04:00
kaichao 92d62a7c38
chore: refactor sender api (#1187) 2024-08-10 20:05:51 +08:00
richΛrd 3eab289abb
feat: ping lightpush peers (#1167)
Co-authored-by: Prem Chaitanya Prathi <chaitanyaprem@gmail.com>
2024-08-09 11:51:14 -04:00
kaichao c2e6320953
chore: refactor message sent check method (#1184) 2024-08-07 10:24:08 +08:00
richΛrd 4f1d692413
fix: keep channels open (#1183) 2024-08-06 16:06:53 -04:00
kaichao 240051b8b8
chore: move outgoing message check from status-go to go-waku (#1180) 2024-08-06 21:05:47 +08:00
Prem Chaitanya Prathi 5aa11311f8
fix: use corrected connected peer count and add check to avoid crash (#1182) 2024-08-06 17:51:11 +05:30
Prem Chaitanya Prathi f3560ced3b
chore: move filter manager from status-go to go-waku (#1177) 2024-08-06 13:10:56 +05:30
richΛrd d047df3859
refactor: move missing messages logic from status-go to go-waku (#1174) 2024-08-01 12:00:05 -04:00
richΛrd 0fc5bcc953
refactor: move rate limiter and priority queue from status-go to api package (#1171) 2024-08-01 09:15:05 -04:00
richΛrd 04a9af931f
fix: handle scenario where the node's ENR has no shard (due to shard update) (#1176) 2024-07-31 14:58:21 -04:00
Jakub Sokołowski a4009b70d1 fix: replace references to old statusim.net domain
Use of `statusim.net` domain been deprecated since March:
https://github.com/status-im/infra-shards/commit/7df38c14

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-07-31 13:31:16 +02:00
Prem Chaitanya Prathi e1e136cc68
fix: parallelize filter subs to different peers (#1169) 2024-07-30 18:06:41 +05:30
Prem Chaitanya Prathi 76d8fd687d
fix: use total peers for pubsubTopic as out peers target (#1170) 2024-07-30 11:02:59 +05:30
Prem Chaitanya Prathi a9be17fd48
chore: method to disconnect all peers and not notify (#1168) 2024-07-24 18:17:31 +05:30
Prem Chaitanya Prathi 58d9721026
fix: filter ping timeout and retry in case of failure (#1166) 2024-07-24 07:59:17 +05:30
richΛrd 75047cc9da
chore: disconnect on subsequent ping failures (#1164) 2024-07-21 20:43:22 -04:00
Prem Chaitanya Prathi f3da812b33
fix: record connection failures when stream opening fails for any protocol (#1163) 2024-07-18 21:52:33 -07:00
Prem Chaitanya Prathi 8afeb529df
chore: change log levels (#1165) 2024-07-17 15:32:32 +05:30
Prem Chaitanya Prathi dacff8a6ae
feat: lightclient err handling (#1160) 2024-07-15 19:47:27 +05:30
Prem Chaitanya Prathi 9fbb955b16
chore: allow setting enr shards for lightclient (#1159) 2024-07-15 19:29:31 +05:30
Vaclav Pavlin 2f333c1e1c
chore(wakunode2): add ability to specify PX options in wakunode2 (#1157)
Co-authored-by: Prem Chaitanya Prathi <chaitanyaprem@gmail.com>
2024-07-12 10:09:04 +05:30
Prem Chaitanya Prathi bb74e39ed9
feat: support for lightpush to use more than 1 peer (#1158) 2024-07-12 09:28:23 +05:30
richΛrd 9412af28dd
refactor: ping a subset of connected peers (#1148) 2024-07-11 12:02:52 -04:00
richΛrd 3b0c8e9207
chore: bump go-libp2p (#1155) 2024-07-11 11:26:04 -04:00
Prem Chaitanya Prathi 221cbf6599
fix: for light node do not check for matching shards but only clusterID (#1154) 2024-07-09 18:50:44 +05:30
richΛrd 7c13021a32
feat: use mesh peers instead of all peers for determining topic health (#1150) 2024-07-03 16:35:39 -04:00
Prem Chaitanya Prathi 5b5ea977af
feat: optimize filter subs (#1144)
Co-authored-by: richΛrd <info@richardramos.me>
2024-07-01 19:48:00 +05:30
richΛrd e3d7ab1d58
fix: panic due to enr having more than 300 bytes (#1140) 2024-07-01 09:47:38 -04:00
richΛrd 201d434d50
fix: ignore ws from circuit relay addresses, and allow non multiaddresses in `multiaddrs` ENR key (#1141) 2024-07-01 09:03:34 -04:00
richΛrd 8d7c2f7bfa
feat: filter peers stored in cache by cluster-id in peer-exchange (#1139) 2024-06-27 10:02:01 -04:00
Prem Chaitanya Prathi 19a47a1ac1
feat: modify peer-manager to consider relay target peers (#1135) 2024-06-26 06:18:44 +05:30
richΛrd ee33baa283
feat: online checker (#1125) 2024-06-25 11:28:04 -04:00
richΛrd 8303c592d3
fix: use IP addresses instead of dns to store multiaddresses (#1134)
Co-authored-by: Prem Chaitanya Prathi <chaitanyaprem@gmail.com>
2024-06-20 13:22:43 +05:30
richΛrd 93331b483e
fix: do not write tcp port 0 and remove 100 chars length limit for multiaddresses (#1129) 2024-06-20 12:50:15 +05:30
Prem Chaitanya Prathi 795322a196
fix: filter out peers to be considered for circuit-relay (#1130)
Co-authored-by: Richard Ramos <info@richardramos.me>
2024-06-18 21:19:23 +05:30