Ivan FB
42ab866f2c
chore: allow multiple rln eth clients ( #3402 )
...
* use of multiple Eth clients instead of just one
* config_chat2 enhance param comment
* group_manager: raise exception if could not connect to any of the eth clients
2025-05-12 10:57:13 +02:00
fryorcraken
cc66c7fe78
chore!: separate internal and CLI configurations ( #3357 )
...
Split `WakuNodeConfig` object for better separation of concerns and to introduce a tree-like structure to configuration.
* fix: ensure twn cluster conf is still applied when clusterId=1
* test: remove usage of `WakuNodeConf`
* Remove macro, split builder files, remove wakunodeconf from tests
* rm network_conf_builder module as it is not used
---------
Co-authored-by: NagyZoltanPeter <113987313+NagyZoltanPeter@users.noreply.github.com>
Co-authored-by: Ivan Folgueira Bande <ivansete@status.im>
2025-05-07 23:05:35 +02:00
gabrielmer
aa9c30655c
chore: adding lint job to the CI ( #2925 )
2024-07-23 13:57:24 +03:00
Aaryamann Challani
6ef45927f1
fix(rln_keystore_generator): improve error handling for unrecoverable failure ( #2881 )
2024-07-10 19:12:49 +02:00
Ivan FB
13316201f7
chore: Bump dependencies for v0.31.0 ( #2885 )
...
* bump_dependencies.md: add nim-results dependency
* change imports stew/results to results
* switching to Nim 2.0.8
* waku.nimble: reflect the requirement nim 1.6.0 to 2.0.8
Adding --mm:refc as nim 2.0 enables a new garbage collector that we're
not yet ready to support
* adapt waku code to Nim 2.0
* gcsafe adaptations because Nim 2.0 is more strict
2024-07-09 13:14:28 +02:00
Darshan K
8da2a9c0a5
chore: refactor relative path to better absolute ( #2861 )
2024-07-06 00:03:38 +02:00
Aaryamann Challani
e093af4c12
chore(rln-relay): add chain-id flag to wakunode and restrict usage if mismatches rpc provider ( #2858 )
2024-06-28 11:19:16 +02:00
Aaryamann Challani
aa16002a4e
feat(rlnv2): clean fork of rlnv2 ( #2828 )
...
* chore(rlnv2): contract interface changes (#2770 )
* fix: tests
* fix: remove stuint[32]
* chore(submodule): update zerokit submodule to v0.5.1 (#2782 )
* fix: remove cond comp for lightpush test
* fix: ci and nonceManager
2024-06-20 14:55:50 +02:00
Aaryamann Challani
7dd7531a4a
chore(rln-relay): resultify rln-relay 1/n ( #2607 )
...
* chore(rln-relay): resultify rln-relay 1/n
* fix: v2 too
* fix: for static group manager
* fix: cleanup, make PR digestable
* fix: remove resultified retry wrapper
* fix: cleanup
* fix: cleanup
2024-04-26 11:53:58 +02:00
Aaryamann Challani
1b65a47685
chore(rln-db-inspector): add more logging to find zero leaf indices ( #2617 )
...
* chore(rln-db-inspector): add more logging to find zero leaf indices
* fix: assumeEmptyAfter var
2024-04-24 17:11:32 +02:00
Ivan FB
cf6298ca1f
Generic re-style with nph 0.5.1 ( #2396 )
2024-03-16 00:08:47 +01:00
Aaryamann Challani
d2f30df8c7
fix(rln-relay): handle empty metadata returned by getMetadata proc ( #2516 )
...
* fix(rln-relay): silence error on startup when metadata is not found
* chore: fix fetching value from option
* fix: clarity of returned opt
2024-03-08 19:36:22 +05:30
Aaryamann Challani
af27c97ddd
chore(rln_db_inspector): include in wakunode2 binary ( #2292 )
2024-03-06 19:38:43 +05:30
gabrielmer
8cf2f78b6c
chore: moving node initialization code to node_factory.nim ( #2479 )
2024-03-02 18:59:53 -06:00
Aaryamann Challani
57220f4606
chore(rln-relay): remove wss support from node config ( #2442 )
...
* chore(rln-relay): remove wss support from node config
* fix: incl regex pattern examples
* docs: update rln docs
2024-02-16 18:36:31 +05:30
Aaryamann Challani
9133a2439c
feat(rln-relay-v2): rln-keystore-generator updates ( #2392 )
...
* chore: init rln-v2 in OnchainGroupManager
* chore: update wrappers
* fix: units for userMessageLimit
* valueOr for error handling
* fix: len usage
2024-02-09 16:31:45 +05:30
Ivan FB
7c692cc313
chore: vendor bump for 0.23.0 ( #2274 )
...
* on_chain/group_manager: use .async: (raises:[Exception]).
* bump nim-dnsdisc
* update nim-chronos to the latest state
* chat2.nim: catch any possible exception when stopping
* chat2bridge.nim: make it to compile after vendor bump
* ValidIpAddress (deprecated) -> IpAddress
* vendor/nim-libp2p additional bump
* libwaku: adapt to vendor bump
* testlib/wakunode.nim: adapt to vendor bump (ValidIpAddress -> IpAddress)
* waku_node: avoid throwing any exception from stop*(node: WakuNode)
* test_confutils_envvar.nim: ValidIpAddress -> IpAddress
* test_jsonrpc_store: capture exception
* test_rln*: handling exceptions
* adaptation to make test_rln_* to work properly
* signature enhancement of group_manager methods
2023-12-14 07:16:39 +01:00
Aaryamann Challani
b349be7ca0
feat: rln-keystore-generator is now a subcommand ( #2189 )
2023-11-09 11:48:39 +02:00
Aaryamann Challani
09ae3506be
chore(rln-relay): updated docs ( #1993 )
2023-09-11 11:10:41 +05:30
Aaryamann Challani
c928ef0e46
fix(rln-db-inspector): use valueOr pattern ( #2012 )
2023-09-08 13:58:27 +05:30
Aaryamann Challani
c9bc6bd28f
feat(rln_db_inspector): create rln_db_inspector tool ( #1999 )
...
* feat(rln_db_inspector): create rln_db_inspector tool
* Apply suggestions from code review
Co-authored-by: Ivan Folgueira Bande <128452529+Ivansete-status@users.noreply.github.com>
---------
Co-authored-by: Ivan Folgueira Bande <128452529+Ivansete-status@users.noreply.github.com>
2023-09-07 18:15:25 +05:30
Aaryamann Challani
7adb50c708
chore(rln-keystore-generator): log out the membership index upon registration ( #1963 )
2023-08-30 11:50:20 +05:30
Aaryamann Challani
eeff44c9f0
fix(rln-relay): modify keystore credentials logic ( #1956 )
...
* fix(rln-relay): modify keystore credentials logic
fix: bump version
* Update waku/waku_rln_relay/group_manager/on_chain/group_manager.nim
Co-authored-by: Ivan Folgueira Bande <128452529+Ivansete-status@users.noreply.github.com>
* Update tests/waku_rln_relay/test_waku_rln_relay.nim
Co-authored-by: Ivan Folgueira Bande <128452529+Ivansete-status@users.noreply.github.com>
* Update waku/waku_keystore/protocol_types.nim
Co-authored-by: Ivan Folgueira Bande <128452529+Ivansete-status@users.noreply.github.com>
* fix: greatly improve error handling
* fix: display proc and appropriate assert
---------
Co-authored-by: Ivan Folgueira Bande <128452529+Ivansete-status@users.noreply.github.com>
2023-08-29 17:46:21 +05:30
Aaryamann Challani
0566d21000
chore(rln-relay): integrate waku rln registry ( #1943 )
2023-08-25 22:48:52 +05:30
Aaryamann Challani
2c0fdf701c
feat(rln_keystore_generator): wired to onchain group manager ( #1931 )
...
* feat(rln_keystore_generator): wired to onchain group manager
* fix(Makefile): rename target to best practice
2023-08-23 18:20:40 +05:30
Aaryamann Challani
4a3b5ca5f2
chore(rln_keystore_generator): generate and persist credentials ( #1928 )
...
* chore(rln_keystore_generator): next iteration
* fix: error accessing
* fix: indentation
2023-08-23 12:51:33 +05:30
Aaryamann Challani
66ab55a8ef
feat(rln): init rln_keystore_generator ( #1925 )
...
* feat(rln): init rln_keystore_generator
* chore: mv to tools
2023-08-22 19:53:05 +05:30
Lorenzo Delgado
6751f4b849
chore: move networkmonitor and wakucanary to apps directory
2023-04-27 16:25:31 +02:00
Lorenzo Delgado
59cbcf9dd0
chore(core): move peers utils module to waku_core
2023-04-24 16:37:54 +02:00
Lorenzo Delgado
1fe3f5b8c8
fix(networkmonitor): break import dependency with wakunode2 app
2023-04-19 21:20:50 +02:00
Lorenzo Delgado
1b1708884b
chore(core): move utils time module to waku_core
2023-04-19 16:39:52 +02:00
Lorenzo Delgado
e2dc11912c
chore(core): rename waku_message module to waku_core
2023-04-19 13:29:23 +02:00
Lorenzo Delgado
cc85f7f213
chore: flatten waku v2 protocols folder
2023-04-18 15:22:10 +02:00
Ivan Folgueira Bande
cef5f89cf3
Adding parsePeerInfo and deprecating 'parseRemotePeerInfo' ( #1658 )
2023-04-12 11:29:11 +02:00
Vaclav Pavlin
c03431dc60
feat(wakucanary):config wakucanary to support websockets ( #1654 )
...
closes #1528
2023-04-11 17:05:12 +02:00
Lorenzo Delgado
97f3b7be4e
feat(node): added waku node builder type
2023-04-05 14:27:11 +02:00
Lorenzo Delgado
5cca16b818
chore: pointed all waku node imports to the barrel import
2023-04-05 11:58:59 +02:00
Lorenzo Delgado
2ed4145069
fix: fixed multiple bare except warnings
2023-04-04 15:34:53 +02:00
Lorenzo Delgado
f5c77ed76f
refactor(enr): node capabilities code clean up and reorganization
2023-03-08 15:44:10 +01:00
Lorenzo Delgado
4ac7af2928
chore(enr): move waku_enr to protocols module
2023-03-07 10:52:12 +01:00
Lorenzo Delgado
6ffc95a2ec
chore: move discovery protocols under protocol module
2023-03-06 17:18:41 +01:00
Lorenzo Delgado
0826bdad99
refactor(utils): moved noise/compat payload encryption code to utils
2023-02-07 10:45:25 +01:00
Aaryamann Challani
fd433ce0e2
fix(rng): create rng only within isMainModule blocks ( #1523 )
...
* fix(rng): create rng only within isMainModule blocks
* fix(rng): wakucanary rng
* fix(rng): address comments
2023-02-06 17:23:05 +05:30
Lorenzo Delgado
0ea7acdd6a
chore(peer_manager): added peer_manager barrel module
2023-02-06 10:03:30 +01:00
Alvaro Revuelta
b324667be2
chore: remove unused imports ( #1448 )
2022-12-14 17:25:02 +01:00
Alvaro Revuelta
f48687fc45
chore(networkmonitor): Add DNS discovery ( #1446 )
...
* chore(networkmonitor): add dns disc to networkmonitor tool
* chore(networkmonitor): decouple ip api calls from main loop
* chore(networkmonitor): add timeout flag
2022-12-05 20:02:21 +01:00
Alvaro Revuelta
8eada1927a
refactor: reuse nim-libp2p peerstore + move peermanager logic ( #1383 )
...
* refactor: reuse nim-libp2p peerstore + move peermanager logic
* refactor: fix comments
* refactor: modify reconnectPeers and unittest
* feat(apps): new flag for peerStoreCapacity
* fix(examples): fix example2 target
* refactor: fix comments
2022-11-24 14:11:23 +01:00
Lorenzo Delgado
c113c59a43
refactor(protocols): decouple protocol rpc types from api types
2022-11-16 20:02:38 +01:00
Alvaro Revuelta
eac7eb65eb
chore(networkmonitor): use nim-presto + add timeout ( #1389 )
2022-11-16 16:38:31 +01:00
7a9d0aef26
tools: move readmes into their respective folders
...
Makes it easier to link to just one folder in the repo for documentation
purposes without having to also link the parent folder.
Also added a meta file linking to the tools.
Not sure what the others ones do.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-11-15 16:21:51 +01:00