frank
8b0e03113d
feat: log error and stacktrace when panic in goroutine ( #1225 )
2024-09-25 17:15:20 +08:00
Prem Chaitanya Prathi
faf046e059
chore: bumped libp2p and pubsub to 0.32.2 and 0.10 respectively ( #987 )
...
Co-authored-by: Richard Ramos <info@richardramos.me>
2024-01-12 13:40:27 -04:00
richΛrd
846183d515
chore: use nwaku's db format ( #965 )
2024-01-03 12:49:54 -04:00
Prem Chaitanya Prathi
a5ce5dfaa4
feat: update store client Query API for autosharding ( #885 )
2023-11-14 04:22:46 +05:30
richΛrd
ff94b1faf0
chore: remove --store-message-db-vacuum ( #883 )
2023-11-09 16:10:40 -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
richΛrd
36beb9de75
refactor: fix nomenclature for shards ( #849 )
2023-10-31 06:50:13 -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
harsh jain
a650469fae
feat: use CommonService in peerConnector ( #737 )
...
* feat(CommonService): add channel and use commonService in discv5
* fix: add mutex to PushToChan
* fix: remove generic functionality
* feat: use CommonService in peerConnector
* fix: remove generic functionality
* nit: add error log
2023-09-19 07:39:39 +07:00
harsh jain
a5f9ee5ad8
feat(CommonService): add channel and use commonService in discv5 ( #735 )
...
* feat(CommonService): add channel and use commonService in discv5
* fix: add mutex to PushToChan
* fix: remove generic functionality
2023-09-18 16:41:40 +07: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
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
e0e4a2fa87
refactor: remove unused function and simplify code related to creating db and migrations
2023-08-10 10:37:22 -04:00
Richard Ramos
ee2af4646c
feat: sqlite vacuum and optional migrations
2023-08-10 10:29:40 -04:00
Prem Chaitanya Prathi
42b2c0bc6d
fix: race condition in rendezvous test code
2023-08-04 16:37:45 +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
Richard Ramos
8b3f42310d
fix: code review
2023-08-01 09:17:11 -04:00
Richard Ramos
76961f2bd8
fix: code review
2023-08-01 09:17:11 -04:00
Richard Ramos
1abd476d3e
refactor: use backoff strategy to connect to random rendezvous points
2023-08-01 09:17:11 -04:00
Richard Ramos
b26859fc6a
refactor: make discovery connector subscribe to discovery services
2023-07-07 09:47:46 -04:00
Richard Ramos
cd358c7bd6
refactor: rendezvous
2023-06-28 09:01:41 -04:00
Richard Ramos
76186e5477
refactor: store ENR
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
Richard Ramos
f18f219086
fix(rendezvous) - interop with nwaku
2023-06-01 13:31:21 -04:00
Richard Ramos
fa61e58d3b
fix: do not block ctx.Done() on peer discovery
2023-05-10 08:09:44 -04:00
Richard Ramos
2c3566377a
refactor: inject host on node start
2023-04-17 11:09:05 -04:00
Richard Ramos
ca20eb4a79
feat: connect to discovered peers
2023-03-29 08:59:36 -04:00
Richard Ramos
2b30726c14
feat: rendezvous client
2023-03-29 08:59:36 -04:00
RichΛrd
8826e2df66
feat: rendezvous server
2023-03-09 11:48:25 -04:00