Prem Chaitanya Prathi
a3c3aab44e
fix: propagate relay subscribe opt properly ( #829 )
2023-10-25 02:11:42 +05:30
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
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
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
Prem Chaitanya Prathi
dd5dc7a9c8
fix: change mutex to rwLock and fix relay unsubscribe ( #749 )
...
* fix: change mutex to rwLock and fix relay unsubscribe
* chore: modify relay test to cover unsubscribe and few more relay functions
2023-09-18 18:48:16 +05:30
Richard Ramos
7beaa3f029
feat(rln-relay): ensure execution order for pubsub validators
2023-09-14 09:38:28 -04:00
harsh jain
4b1c188cf0
feat: add common protocol design ( #724 )
...
* feat: add common protocol design
* fix: remove redundant vars
* fix: use AppDesign's ctx
* refactor: relay, add AppDesign
* feat: changes for suggestions
* test: commonService start/stop execution
* fix: lint error
* nit: add comments
2023-09-13 12:18:44 +07: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
624fe1bb2f
chore(rln): run rln in all relay pubsubtopics + remove cli flags
2023-08-24 10:48:22 -04:00
Richard Ramos
2818c3d394
refactor: add libp2p metrics, and make each protocol responsable for defining its own metrics
2023-08-18 13:56:43 -04:00
Richard Ramos
a422add209
chore: add missing comments to functions
2023-07-23 07:01:42 -04:00
Richard Ramos
6ece3c483b
feat: subscribe to shards with --topic and refactors
...
- Shards in same cluster are advertised on ENR
- Store().Resume() was moved to app layer
- NoDefaultWakuTopic() was removed since it's the app that must determine whether it subscribes to the default waku topic
- Removed `Publish` from WakuNode (not really used and easy to implement in app layer if needed)
2023-07-06 11:18:29 -04:00
Richard Ramos
fb3447f3d8
fix: adding relay protocol to feature check function of gossipsub
2023-06-29 09:29:08 -04:00
Richard Ramos
b8ab99ba08
fix: set wakurelay at index 0 in gossipsub protocol list
2023-06-28 14:06:16 -04:00
Richard Ramos
c380faa6ae
fix: code review and disconnect bad peers
2023-06-09 14:57:43 -04:00
Richard Ramos
875d132c1e
feat: gossipsub scoring
2023-06-09 14:57:43 -04:00
Richard Ramos
52ac8e3740
refactor: various
...
- Limit inbound connections to 10 per IP
- Expose gossipsub parameters on WakuRelay
- New peerstore
2023-06-09 14:57:43 -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
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
Richard Ramos
c15f4ada56
feat: add message size and published/received time to debug log
2023-05-04 16:22:11 -04:00
Richard Ramos
8711a08df6
fix: code review
2023-05-04 13:25:45 -04:00
Richard Ramos
21a28e9b53
feat: record message size
2023-04-27 09:58:06 -04:00
Richard Ramos
2c3566377a
refactor: inject host on node start
2023-04-17 11:09:05 -04:00
Richard Ramos
801ec92c11
refactor: loading credentials and chat2
2023-04-11 10:39:07 -04:00
Richard Ramos
41691a44e5
fix: remove message cache on relay and fix proof validation
2023-04-04 14:20:41 -04:00
Richard Ramos
dd9261c981
fix: simplify code by using mutex instead of channels
2023-03-30 12:00:19 -04:00
Richard Ramos
c5faf8b9e9
fix: race condition deleting items from cache
2023-03-30 12:00:19 -04:00
Richard Ramos
144dfa5b7b
feat: add WakuMessage validation in gossipsub
...
This also stores the waku message in a cache to avoid having to decode it twice
2023-03-30 12:00:19 -04:00
Richard Ramos
3bba1a86f1
feat(message): added waku message deterministic hashing
2023-03-08 09:08:08 -04:00
Richard Ramos
b20bf3dccd
fix: use pool for all sha256 hash operations
2023-03-02 12:00:54 -04:00
Richard Ramos
df2cccec04
fix: use sync.Pool for msgId hasher
2023-03-02 11:10:31 -04:00
Richard Ramos
7426ca5845
fix: noise example
2023-02-20 10:53:30 -04:00
Richard Ramos
156db781f6
chore: switch to Google's Protobuf library
2023-02-16 11:37:59 -04:00
Richard Ramos
40675ff204
refactor: service interface
2023-01-07 11:25:32 -04:00
Richard Ramos
87ce20d38e
feat: add /debug/pprof endpoint when using --pprof flag
2022-12-10 21:55:41 -04:00
Richard Ramos
84c7022e2d
feat: add ntp timesource
2022-12-09 10:20:16 -04:00
Richard Ramos
a247e8346d
chore: add extra logging for message IDs
2022-11-16 10:42:20 -04:00
Richard Ramos
c8fc0404d1
chore: rename status-im/go-waku to waku-org/go-waku
2022-11-09 16:03:40 -04:00
Richard Ramos
57a525f71e
chore: upgrade libp2p
2022-10-19 15:54:02 -04:00
Richard Ramos
e7bc6799ed
refactor: decouple rpc and rest http servers
2022-08-09 11:59:47 -04:00
Richard Ramos
7c0206684f
refactor: use db for serving history queries ( #243 )
2022-05-30 14:48:22 -04:00
Martin Kobetic
7c44369def
feat: structured logging followup ( #248 )
2022-05-30 11:55:30 -04:00
Richard Ramos
3a0fc81889
chore: add docs. pt - 1 ( #230 )
2022-05-04 17:08:24 -04:00
Richard Ramos
bbab0f1714
fix: add topic to broadcast and some comments to functions ( #229 )
2022-04-25 23:31:26 +04:00
Richard Ramos
df66ef5bb5
fix: race condition in unsubscribe ( #197 )
2022-02-23 11:08:27 -04:00
Richard Ramos
11d1f8fb0d
feat: result aggregation in resume and enforce max page size ( #183 )
...
* feat: result aggregation in resume and enforce max page size
* feat: add WithLogger option to wakunode (#184 )
* fix: rebase issues
2022-01-18 14:17:06 -04:00
Anthony Laibe
2b225e90e7
feat: Implement logic for publish from node
2021-12-07 14:32:02 +01:00
Richard Ramos
78a0d4d74d
fix: replace WIthTopic to ToTopic
2021-11-19 20:04:38 -04:00