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
a422add209
chore: add missing comments to functions
2023-07-23 07:01:42 -04:00
Richard Ramos
7781e850d5
feat(c-bindings): websockets support
2023-07-07 11:06:43 -04:00
Richard Ramos
ca297713fa
refactor: move app code to cmd/waku
2023-07-07 10:10:21 -04:00
Prem Chaitanya Prathi
97f02361d4
Persistence: Addressing code-climate issues to increase maintainability score ( #592 )
...
* chore:fix minor issues reported by code-climate
* chore: reduce code duplication
* chore: update vendorSHA for nix build due to recent updates to dependencies
2023-07-07 07:08:23 +05:30
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
0381b92531
feat(c-bindings): filterv2
2023-06-26 11:03:01 -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
f6fe353e2e
feat(c-bindings): update bootnodes
2023-06-09 09:05:55 -04:00
Richard Ramos
25562d6240
feat: add peer connection notif channel and allow dialing peers with the peer.AddrInfo
2023-05-12 09:09:08 -04:00
Richard Ramos
d9a12bf079
fix: gossipsub parameters, and cancel() execution in wakunode2
2023-05-09 16:42:24 -04:00
harsh-98
31c8035589
feat: safe broadcaster
2023-05-08 08:31:19 -04:00
Richard Ramos
0b01e4bb16
refactor: rename filter to legacy filter and set filterv2 as filter
2023-04-17 10:07:15 -04:00
Richard Ramos
bbb558e685
feat(c-bindings): list pubsub topics
2023-04-17 09:56:22 -04:00
Richard Ramos
21ad496d42
feat(c-bindings): seenTTL
2023-03-27 10:48:40 -04:00
RichΛrd
3c4a863cb7
feat(c-bindings): custom gossipsub params ( #489 )
2023-03-10 14:41:19 -04:00
Richard Ramos
aeddc7848a
refactor: namespaced pubsub topics
2023-03-08 09:10:14 -04:00
RichΛrd
a1edf45fad
fix: protocolID must be a string in the mobile API ( #466 )
2023-02-20 17:50:36 -04:00
Richard Ramos
08bd3a6304
fix(c-bindings): check if ENR is nil
2023-02-20 10:42:35 -04:00
Richard Ramos
4804588197
fix(c-bindings): relayTopics should trigger signal handler
2023-02-17 13:32:37 -04:00
RichΛrd
f08d8f293b
fix: always return peerID and addresses when marshalling DnsDiscoveryItem
2023-02-17 11:05:28 -04:00
Richard Ramos
abcadd1bcf
feat(c-bindings): expose enrs via dns discovery
2023-02-17 11:05:28 -04:00
Richard Ramos
2c9df85c51
refactor(c-bindings): store waku state in single variable
2023-02-17 11:05:28 -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
11161b8919
feat(c-bindings): expose store protocol
2023-02-12 11:01:25 -04:00
Richard Ramos
6c989fb178
refactor(c-bindings): do not subscribe automatically to default waku topic
2023-01-25 17:46:32 -04:00
Richard Ramos
e0ccdbe966
refactor: peer discovery management for discv5 and peer exchange
2023-01-17 17:40:48 -04:00
Richard Ramos
6e7c3b6183
feat: update localnode ENR without having to restart discv5
2023-01-14 10:35:24 -04:00
Richard Ramos
40675ff204
refactor: service interface
2023-01-07 11:25:32 -04:00
Richard Ramos
2c9c763c30
fix(c-bindings): simplify discv5 API
2023-01-04 14:58:12 -04:00
Richard Ramos
d4e0a70233
fix(c-bindings): stop discv5
2022-12-21 15:37:02 -04:00
Richard Ramos
2c6d5cd7bd
feat: add discV5 to c-bindings
2022-12-19 19:28:44 -04:00
Richard Ramos
5740a6d571
refactor: move payload handling to its own package
2022-12-15 21:55:14 -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
448781687e
feat: output logs to file
2022-11-03 07:06:16 +01:00
Richard Ramos
e7ffcdbbb7
feat: expose dns discovery thru c-bindings
2022-10-23 09:27:39 -04:00
Richard Ramos
a231a043b6
feat: set log level
2022-10-21 11:29:49 -04:00
Richard Ramos
57a525f71e
chore: upgrade libp2p
2022-10-19 15:54:02 -04:00
Richard Ramos
3a7f2608b3
fix(library): signature and pubkey empty string
2022-10-14 10:46:13 -05:00
RichΛrd
caf6d01333
fix(library): symmetric encoding ( #332 )
2022-10-14 16:19:17 +02:00
Richard Ramos
0cf0446881
fix(library): fix inconsistencies in comments/code
2022-10-10 10:04:07 -04:00
Daniel Sanchez
2881d0cd5e
chore: separate error and success responses as per the specification, for mobile api ( #324 )
2022-09-30 12:04:22 -04:00
Richard Ramos
8d42febe18
fix: make 0x prefix optional ( #306 )
2022-09-14 15:19:04 -04:00
Richard Ramos
205270924a
fix: c bindings docs
2022-08-18 15:27:22 -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
f8d7572548
fix: store content filters
2022-08-09 14:26:57 -04:00
Richard Ramos
2b4a2d72d3
feat: add filter bindings and improve docs ( #284 )
2022-08-09 09:48:23 -04:00
Richard Ramos
f5936783c0
feat(library): add storeQuery and isStarted functions ( #272 )
2022-07-26 14:23:26 -04:00
Richard Ramos
e2b04570c1
chore: improve docs
2022-07-25 11:28:17 -04:00