Sanaz Taheri Boshrooyeh
fe3a3136a3
feat(rln-relay): adds rln identifier to the RateLimitProof ( #1219 )
...
* adds rln identifier to the RateLimitProof
* enables rln-relay compilation for wakunode2
* unifies the two RateLimitProof types
* a minor update
Co-authored-by: G <28568419+s1fr0@users.noreply.github.com>
2022-10-04 13:20:44 -07:00
Hanno Cornelius
ad628b5b52
fix: store config without db-path leads SIGSEGV ( #1218 )
2022-10-04 14:34:05 +01:00
Aaryamann Challani
787464487b
chore(rln-relay): namespaced flags ( #1204 )
...
* chore(rln-relay): namespaced flags
* chore(rln-relay): shorten flag size
* fix(rln-relay): consistent config naming
* chore(rln-relay): consistency with address configs
* fix(rln-relay): config
2022-10-03 13:25:56 -07:00
Lorenzo Delgado
fa6a44eb3c
fix(store): Move page info logic to waku store protocol
2022-10-03 17:36:17 +02:00
Lorenzo Delgado
adf1dab34f
fix(store): update sqlite db table primary key and decouple queries module from pagination types
2022-10-03 15:23:39 +02:00
Lorenzo Delgado
c61e88b352
refactor(store): simplify store queue query implementation
2022-10-03 08:40:01 +02:00
Lorenzo Delgado
612023fab0
chore(store): collocate pagination and message store types
2022-09-28 13:36:05 +02:00
Lorenzo Delgado
5ee4a00765
refactor(store): decouple message store queue from pagination index type ( #1187 )
2022-09-27 21:10:11 +02:00
Lorenzo Delgado
d7d51dc4c1
fix(store): rename store timestamp sqlite column
2022-09-27 11:47:25 +02:00
Lorenzo Delgado
1b4a9e5dfd
fix(store): move insert criteria logic to waku store protocol module
2022-09-26 11:50:15 +02:00
Sanaz Taheri Boshrooyeh
489ca1b01e
chore(rln-relay): specifies the address type for the eth-client-address config parameter ( #1176 )
2022-09-23 21:57:28 -07:00
Hanno Cornelius
6b86c4a22a
fix: fail to start switch with ext ip ( #1181 )
2022-09-23 15:27:15 +01:00
Lorenzo Delgado
aebda46a53
chore(store): move constants to retention policies modules
2022-09-22 11:17:38 +02:00
Lorenzo Delgado
5e3a75c56e
refactor(wakunode): remove deprecated non-async methods
2022-09-21 18:27:40 +02:00
Lorenzo Delgado
11832411a0
feat(store): execute retention policies periodically ( #1155 )
2022-09-21 11:32:59 +02:00
Hanno Cornelius
efe82eade2
fix: no need to start protocols twice ( #1162 )
...
* fix: no need to start protocols twice
* fix: relay should still be explicitly started
Co-authored-by: Lorenzo Delgado <lorenzo@status.im>
2022-09-20 21:02:20 +01:00
kaiserd
371016b04f
feat: waku peer exchange (RFC34) ( #1152 )
2022-09-20 13:03:34 +02:00
Lorenzo Delgado
4a9f6f3c5e
refactor(store): protocol code refactoring and api reorganization
2022-09-20 11:39:52 +02:00
Hanno Cornelius
9be3d296be
fix: nodes in AddressBook are not necessarily connected ( #1161 )
2022-09-20 10:00:40 +01:00
Lorenzo Delgado
f73477be6e
refactor(store): invert retention policies dependency on message store interface
2022-09-16 12:55:22 +02:00
Lorenzo Delgado
706c355b18
refactor(store): extend message store interface with store manipulation methods
2022-09-15 21:12:13 +02:00
Lorenzo Delgado
70fdd85066
refactor(store): don't cache the message count in sqlite message store
2022-09-15 18:13:30 +02:00
Lorenzo Delgado
87479a603b
feat(store): run sqlite database vacuum at node start
2022-09-14 21:40:17 +02:00
Lorenzo Delgado
f7b4e8f57d
refactor(wakunode): remove waku rln relay export from wakunode
2022-09-14 12:25:05 +02:00
Lorenzo Delgado
ddbc57bc88
refactor(wakunode): remove waku message export from wakunode
2022-09-14 12:25:05 +02:00
Lorenzo Delgado
c2c2d30cdf
refactor(wakunode): remove libp2p builders export from wakunode
2022-09-14 12:25:05 +02:00
Lorenzo Delgado
2912a45433
refactor(wakunode): remove waku relay export from wakunode
2022-09-14 12:25:05 +02:00
Lorenzo Delgado
fdd57c7bce
refactor(wakunode): remove waku swap export from wakunode
2022-09-14 12:25:05 +02:00
Lorenzo Delgado
9561f12172
feat(store): add support for getting stored messages count
2022-09-13 19:36:11 +02:00
Lorenzo Delgado
d49cd1348d
refactor(store): remove deprecated waku message store type
2022-09-13 13:36:04 +02:00
Lorenzo Delgado
051f5db9af
refactor(store): rename to sqlite store and introduce retention policies interface
2022-09-12 16:49:01 +02:00
G
01cd201f58
PoC implementation of Waku Pairing and Secure Transfer ( #1117 )
...
* feat(noise): add PoC implementation for WakuPairing and Secure Transfer
2022-09-12 02:23:14 +02:00
Lorenzo Delgado
30f0e19d79
fix(store): add a table index to improve message insertion time
2022-09-09 15:04:48 +02:00
Hanno Cornelius
f4e9d39524
chore: always include node ENR in response to info requests ( #1128 )
2022-09-08 14:25:02 +01:00
Lorenzo Delgado
d857c4a421
chore(wakunode): collocate wakuswitch file to the depending modules
2022-09-08 11:02:50 +02:00
Hanno Cornelius
7f23bdf29f
chore: update nwaku submodules ( #1123 )
...
* chore: update submodules
* fix: SIGTERM ambiguity
* fix: ambiguous RNGs
* fix: ContentType is no longer a string
* fix: more fixes related to ambiguous RNGs
* fix: start all protocols
* chore: also update nim-eth
* chore: important new fixes in nim-libp2p
* fix: more changes related to RNG. Some reversion to reflect nim-eth update
* fix: breaking changes in nim-eth submodule
* fix: start protocols in tests
* fix: chat2bridge protocols async mounting
* fix: v1 test compilation
* fix: rln test compilation
* fix: remove confusing keys qualifier for the same HmacDrbgContext
2022-09-07 16:31:27 +01:00
Lorenzo Delgado
3f7aa8c6e4
fix(waku-store): added an index to improve messages query time
2022-09-05 15:18:47 +02:00
Lorenzo Delgado
21e9f25276
refactor(wakunode2): deprecate non-async protocol api methods
2022-09-02 10:17:14 +02:00
Lorenzo Delgado
982fb08c77
refactor(wakunode2): add convenience methods for adding protocol peers
2022-09-01 17:02:58 +02:00
Bulat-Ziganshin
80aeebc61c
Fixed handling of bindParam(uint32) in sqlite.nim ( #1014 )
2022-08-31 14:50:05 +02:00
Lorenzo Delgado
6d0168bff2
feat(rest): add waku filter openapi rest api specification file
2022-08-31 13:24:35 +02:00
Aaryamann Challani
ed53bcdec6
chore(logging): Periodic logging for additional metrics ( #1094 )
...
* chore: enable metrics logging by default
* feat(logging): add additional logging metrics, change period to 30 seconds
* chore(logging): s/var/let
* chore(logging): import filter directly
* chore(logging): add store/lightpush peer count, fix style
2022-08-31 15:23:28 +05:30
Sanaz Taheri Boshrooyeh
0deedf0d7a
fix|feat(rln-relay|rln-chat2): Handling on-chain transactions errors and informing chat2 users ( #1093 )
...
If any error occurs during the on-chain registration, it will be handled; the chat2 users will get informed about the cause and the installation of rln-relay gets discarded and the chat program continues with no crashing.
2022-08-30 10:59:02 -07:00
Lorenzo Delgado
ecf4ba1167
feat(message-cache): make the topic cache generic
2022-08-30 15:57:45 +02:00
Lorenzo Delgado
791ce6d222
fix(rest): encode waku message payload in base64
2022-08-30 14:53:04 +02:00
Lorenzo Delgado
842cfb3476
refactor(waku-filter): remove wakunode2 waku_filter exports
2022-08-29 10:14:35 +02:00
Lorenzo Delgado
c964aea885
refactor(waku-filter): waku filter protocol code reorganisation
2022-08-26 22:17:56 +02:00
Hanno Cornelius
caa47896c1
fix: peer manager dial logic when dialing an existing peer ( #1090 )
2022-08-26 11:20:55 +02:00
Hanno Cornelius
11158c3ea2
fix(setup): do not attempt connecting to empy dynamic bootstrap node list ( #1088 )
2022-08-24 17:44:43 +02:00
Sanaz Taheri Boshrooyeh
8a6b1cfba6
feat(Rln-Relay): Consolidates the input paths of rln credential, chat2 reads rln credential from file only ( #1080 )
...
* Consolidates the input paths of rln credential, accepts credential file only
* fixes a typo
2022-08-18 10:35:02 -07:00