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
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
2818c3d394
refactor: add libp2p metrics, and make each protocol responsable for defining its own metrics
2023-08-18 13:56:43 -04:00
Prem Chaitanya Prathi
9f45d271ac
feat: support serviceslots in peermanager ( #631 )
...
* feat: support peermanager serviceslots and update store protocol to use serviceslots
* fix: lint errors in test code
* fix: error in nix build due to vendor sha change
* fix: set host in peermanager even if relay is disabled
* chore: fix codeclimate issues
* chore: using common filterPeer function to avoid duplication
* feat:use service slots in other service protocols
* chore: fix codeclimate issues
* chore: move AddPeer to peermanager
* Apply suggestions from code review
Co-authored-by: richΛrd <info@richardramos.me>
* chore:address review comments
* feat: implement RemovePeer #638
* chore: fix test failure
* Support for multiple slots for service peers
Adding discovered peers also moved to peer manager
---------
Co-authored-by: richΛrd <info@richardramos.me>
2023-08-10 18:28:22 +05:30
Prem Chaitanya Prathi
34de2941c7
Feat/peer manager ( #596 )
...
* chore: refactor existing code into peer maanger package
* feat: move peer connection related code into peer manager
* feat: in relay peer connection pruning
* feat: add max-connections CLI flag and limit outRelayPeers based on max-connections #621
* tested both in and out relay connection limits
Co-authored-by: richΛrd <info@richardramos.me>
* Review comment, use context to pause connectivity loop during node shutdown.
Co-authored-by: richΛrd <info@richardramos.me>
* address review comments
---------
Co-authored-by: richΛrd <info@richardramos.me>
2023-08-03 21:51:15 +05:30
Prem Chaitanya Prathi
e6aaf9c852
chore: fix comment on test
2023-08-02 11:24:50 +05:30
Richard Ramos
a422add209
chore: add missing comments to functions
2023-07-23 07:01:42 -04:00
Richard Ramos
1c75c89790
refactor: remove unneeded `Connect` as dns4 addresses are being resolved now
2023-06-01 14:02:08 -04:00
harsh-98
31c8035589
feat: safe broadcaster
2023-05-08 08:31:19 -04:00
Richard Ramos
9ed8f16a0a
feat: add metrics to archive protocol and discv5
2023-04-20 10:04:20 -04:00
Richard Ramos
68b615a87e
feat: improve metrics for filter, lightpush, dns discovery and store protocols
2023-04-20 08:57:22 -04:00
Richard Ramos
2c3566377a
refactor: inject host on node start
2023-04-17 11:09:05 -04:00
Richard Ramos
fbd58df2e8
refactor: initialize broadcaster on Start
2023-04-17 10:19:08 -04:00
Richard Ramos
3bba1a86f1
feat(message): added waku message deterministic hashing
2023-03-08 09:08:08 -04:00
Richard Ramos
f0eaa84aad
chore: upgrade dependencies
2023-02-16 12:22:47 -04:00
Richard Ramos
156db781f6
chore: switch to Google's Protobuf library
2023-02-16 11:37:59 -04:00
Richard Ramos
607bf07198
refactor: remove some duplication and unneeded code
2023-01-08 14:35:32 -04:00
Richard Ramos
40675ff204
refactor: service interface
2023-01-07 11:25:32 -04:00
Richard Ramos
84c7022e2d
feat: add ntp timesource
2022-12-09 10:20:16 -04:00
Richard Ramos
3620a6b222
feat: allow specifying list of peerIDs to chose when doing a request
2022-11-25 17:37:54 -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
df38038bc0
feat: allow lightpush to be used as client always
2022-10-20 09:56:47 -04:00
Richard Ramos
57a525f71e
chore: upgrade libp2p
2022-10-19 15:54:02 -04:00
Richard Ramos
39f70f71a9
feat: use generic flags and convert values to specific data types
2022-08-15 15:22:13 -04:00
Richard Ramos
e2b04570c1
chore: improve docs
2022-07-25 11:28:17 -04:00
Richard Ramos
3c0c3c4eeb
fix: js-waku / nwaku interop ( #252 )
2022-06-13 14:30:35 -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
Martin Kobetic
0c989d3d8c
feat: structured logging ( #242 )
2022-05-27 09:25:06 -04:00
Richard Ramos
7b3c853c15
refactor: use diff logger for waku
2022-05-06 15:29:31 -04:00
Richard Ramos
3a0fc81889
chore: add docs. pt - 1 ( #230 )
2022-05-04 17:08:24 -04:00
Richard Ramos
f4f307db87
fix: connect before opening a stream
2022-03-03 12:04:03 -04:00
Richard Ramos
58f739765e
refactor: use int64 timestamps ( #189 )
...
* refactor: use int64 timestamps
* fix: changed PB Timestamp index to 10
2022-02-23 11:01:53 -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
23cbb24a94
fix: use max Int32 instead of 64 due to compile issue on android ( #170 )
2021-11-25 10:18:33 -04:00
Richard Ramos
a3125c7b61
fix: increase response read limit ( #169 )
2021-11-25 09:46:04 -04:00
Richard Ramos
78a0d4d74d
fix: replace WIthTopic to ToTopic
2021-11-19 20:04:38 -04:00
Richard Ramos
00ee0b7511
refactor: create separate functions for subscriptions and publishing
2021-11-19 20:04:38 -04:00
Richard Ramos
56ef99e11f
refactor: remove topic type
2021-11-19 20:04:38 -04:00
Anthony Laibe
9f504b1150
test: extend coverage with missing test
2021-11-10 14:55:23 +01:00
Richard Ramos
0c873e3c2d
feat: select peer with lowest ping time and test peer functions ( #143 )
...
* feat: select peer with lowest ping time and test peer functions
* fix: do not self-ping
2021-11-09 19:34:04 -04:00
Anthony Laibe
a1cb371d5a
refactor: lightpush options and be more explicit about
...
the relay node being present or not
2021-11-07 16:15:07 +01:00
Richard Ramos
a7c76d2af1
fix: typo
2021-11-06 12:57:01 -04:00
Richard Ramos
c98769b7f2
refactor: use envelopes in the store
...
Also do some linting and add documentation for some functions
2021-11-06 09:06:53 -04:00
Richard Ramos
b789d9900e
refactor: relay ( #119 )
2021-11-01 10:42:55 -04:00
Richard Ramos
c0ba800af7
refactor: store and lightpush ( #118 )
2021-11-01 08:38:03 -04:00
Richard Ramos
d150123f21
fix: store and lightpush metrics ( #114 )
2021-10-30 19:19:03 -04:00
Richard Ramos
d94802f739
chose node type when starting filter and make relay optional ( #113 )
2021-10-30 10:29:34 -04:00