Aaryamann Challani
2336522d7f
fix(rln-relay): feature guard ( #1373 )
...
* fix(rln-relay): feature guard
* Revert "fix(rln-relay): feature guard"
This reverts commit 9344f41a34
.
* fix(rln-relay): surgically fix imports
* fix(rln-relay): indents
* fix(rln-relay): more usages of rln types
2022-11-14 19:29:34 +05:30
G
63137f3e2a
refactor(rln): remove kilic lib ( #1365 )
...
* refactor(rln): remove kilic lib
* chore(rln): address reviewerS
2022-11-09 19:45:04 +01:00
Lorenzo Delgado
b07cdb1841
refactor(store): decouple waku store public api types from rpc types
2022-11-09 18:50:18 +01:00
Alvaro Revuelta
054dc61763
refactor: continue pubsub/content types started in #1352 ( #1362 )
...
* refactor: continue gossip/content topic refactor started in #1352
* refactor: enforce using pubsubTopic instead of topic
2022-11-09 15:00:11 +01:00
Lorenzo Delgado
4acc611e47
refactor: unify pubsub topic type and default value
2022-11-09 09:55:47 +01:00
Lorenzo Delgado
c4f9813ab3
refactor(queue_store): rename queue_store module and simplify api
2022-11-08 16:10:23 +01:00
Lorenzo Delgado
bcc6c32287
chore: rename protocols rpc_codec procs from init to decode
2022-11-07 16:24:16 +01:00
Lorenzo Delgado
4509f4f361
refactor(message_store): move message_store to node module
2022-11-04 19:48:22 +01:00
Lorenzo Delgado
7ef4eaf46d
chore: update push raises pragma according to nim 1.6
2022-11-04 10:52:27 +01:00
Lorenzo Delgado
cb1f4d46f4
chore: remove unused imports
2022-11-04 10:52:08 +01:00
Lorenzo Delgado
0569beadbe
refactor(peer_manager): move peer_store under peer_manager module
2022-11-04 09:40:13 +01:00
Lorenzo Delgado
27a7040f8e
chore(migrations): move migration scripts to project root
2022-11-03 17:58:05 +01:00
Lorenzo Delgado
5c4f1ce43f
chore: make log topics consistent with nim-chronicles style
2022-11-03 16:36:24 +01:00
Lorenzo Delgado
83ae6987b8
fix: replace TaintedString type deprecated in nim 1.5
2022-11-02 14:55:48 +01:00
Lorenzo Delgado
8fee1b9bed
feat(filter): split waku filter protocol into server and client
2022-11-02 11:59:58 +01:00
Lorenzo Delgado
1c46b61402
refactor(peer-exchange): move peer management to waku_node module
2022-11-02 09:45:21 +01:00
Lorenzo Delgado
0de5a122ef
chore(common): move sqlite module to common module
2022-10-28 20:13:41 +02:00
Lorenzo Delgado
ee86d190d6
refactor(node): use store client in waku_node
2022-10-28 20:11:28 +02:00
Lorenzo Delgado
2c1ad9f760
refactor(node): use lightpush client in waku_node
2022-10-28 16:30:01 +02:00
Alvaro Revuelta
d479aacec5
feat(wakunode2): add nwaku agent-string to switch ( #1302 )
2022-10-28 15:12:06 +02:00
Hanno Cornelius
16c85db43c
chore: update submodules and bump Nim to 1.6.6 ( #1307 )
...
* chore: update submodules
* fix: libp2p now provides callback to update peer addrs
* fix: breaking change in EthereumNode constructor
* fix: contentType type has changed (again)
* fix: explicit future type
* fix: nim 1.6.6 error handling requirements
* fix: missed a spot - peer info addrs in sim2
* fix: help compiler a bit here
2022-10-28 12:51:46 +03:00
Lorenzo Delgado
62328f0abd
feat(wakunode2): simplify wakunode2 config and decouple peer persistence
2022-10-28 00:05:02 +02:00
Lorenzo Delgado
0725da0b66
chore(node): waku node code reorganization
2022-10-27 17:29:09 +02:00
Lorenzo Delgado
7e7bba4a98
feat(lightpush): add waku lightpush protocol client
2022-10-25 14:55:31 +02:00
Aaryamann Challani
bdb120d842
feat(chat2): metrics server + metrics logging ( #1279 )
...
* feat(rln-relay): periodically log metrics
* fix(chat2): enable metrics by default in chat2 config
* test(chat2): metrics, gc compilation error
* chore(metrics): make metrics a util, and import into wakunode2 apps dir
* fix(metrics): raise error
* fix(metrics): gc error
* fix(wakunode2): remove setup_metrics
* chore(metrics): waku utils metrics
* fix(metrics): create waku_metrics in node dir
* fix(metrics): log scope
* fix(chat2): disable metrics server by default
* fix(utils): collectorAsF64 proc def
* fix(metrics): store metrics path
2022-10-21 14:03:36 +05:30
Hanno Cornelius
a12a359b79
fix: store cursors should be exclusive and match a DB item ( #1263 )
...
* fix(store): use exclusive cursor
* fix(store): read correct column length
Co-authored-by: Lorenzo Delgado <lorenzo@status.im>
2022-10-20 13:24:40 +03:00
Lorenzo Delgado
757804c9ee
chore(wakunode2): move wakunode2 to apps directory
2022-10-18 12:35:26 -05:00
Lorenzo Delgado
5046a4b3da
refactor(node): split wakunode into waku_node and wakunode2
2022-10-18 09:05:53 -05:00
Lorenzo Delgado
b139692b05
refactor(wakunode2): move config random private key generation to a procedure ( #1273 )
2022-10-18 07:06:54 -05:00
Aaryamann Challani
9a6a7334ef
feat(rln-relay): periodically log metrics ( #1262 )
...
* feat(rln-relay): periodically log metrics
* chore(rln-relay): log rln metrics immediately
* fix(metrics): calculation etc
* chore(metrics): parseAndAccumulate into collector utils
* fix(metrics): use standard logging interval
2022-10-18 17:07:44 +05:30
Lorenzo Delgado
5fbc537cbf
chore: move apps and tools to their own directory
2022-10-12 14:41:25 -05:00
Hanno Cornelius
8a184e208c
chore: publish nwaku version to metric ( #1234 )
2022-10-06 13:06:54 +01:00
Lorenzo Delgado
14abdef796
chore(store): improve database migrations logging
2022-10-05 11:45:44 +02:00
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