Commit Graph
43 Commits
Author SHA1 Message Date
Aaryamann Challani a8095d871e fix(rln-db-inspector): use valueOr pattern (#2012) 2023-09-08 13:58:27 +05:30
Aaryamann ChallaniandIvan Folgueira Bande ec42e2c758 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 7d53aec164 chore(rln-keystore-generator): log out the membership index upon registration (#1963) 2023-08-30 11:50:20 +05:30
Aaryamann ChallaniandIvan Folgueira Bande e7b2b88f5b 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 cc9f8d4254 chore(rln-relay): integrate waku rln registry (#1943) 2023-08-25 22:48:52 +05:30
Aaryamann Challani c9b48ea1a0 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 07945a37c0 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 3d849541e2 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 209579b0a7 chore: move networkmonitor and wakucanary to apps directory 2023-04-27 16:25:31 +02:00
Lorenzo Delgado e041e04342 chore(core): move peers utils module to waku_core 2023-04-24 16:37:54 +02:00
Lorenzo Delgado 043feacdb2 fix(networkmonitor): break import dependency with wakunode2 app 2023-04-19 21:20:50 +02:00
Lorenzo Delgado 93b0c0713e chore(core): move utils time module to waku_core 2023-04-19 16:39:52 +02:00
Lorenzo Delgado c9b6b2308c chore(core): rename waku_message module to waku_core 2023-04-19 13:29:23 +02:00
Lorenzo Delgado d7b72ac736 chore: flatten waku v2 protocols folder 2023-04-18 15:22:10 +02:00
Ivan Folgueira Bande b2dcb07751 Adding parsePeerInfo and deprecating 'parseRemotePeerInfo' (#1658) 2023-04-12 11:29:11 +02:00
Vaclav Pavlin 7aea0d2a82 feat(wakucanary):config wakucanary to support websockets (#1654)
closes #1528
2023-04-11 17:05:12 +02:00
Lorenzo Delgado e931fa5dc8 feat(node): added waku node builder type 2023-04-05 14:27:11 +02:00
Lorenzo Delgado e8448dfdbe chore: pointed all waku node imports to the barrel import 2023-04-05 11:58:59 +02:00
Lorenzo Delgado caf78249b2 fix: fixed multiple bare except warnings 2023-04-04 15:34:53 +02:00
Lorenzo Delgado 7639d8d273 refactor(enr): node capabilities code clean up and reorganization 2023-03-08 15:44:10 +01:00
Lorenzo Delgado d5f93e385d chore(enr): move waku_enr to protocols module 2023-03-07 10:52:12 +01:00
Lorenzo Delgado 412ac20606 chore: move discovery protocols under protocol module 2023-03-06 17:18:41 +01:00
Lorenzo Delgado 7f2ea1caeb refactor(utils): moved noise/compat payload encryption code to utils 2023-02-07 10:45:25 +01:00
Aaryamann Challani c9bc774895 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 8ba36e2dfa chore(peer_manager): added peer_manager barrel module 2023-02-06 10:03:30 +01:00
Alvaro Revuelta 3347f8030c chore: remove unused imports (#1448) 2022-12-14 17:25:02 +01:00
Alvaro Revuelta a7a87f1f10 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 43fd11b4dc 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 39bf289f43 refactor(protocols): decouple protocol rpc types from api types 2022-11-16 20:02:38 +01:00
Alvaro Revuelta 0bbcc260c9 chore(networkmonitor): use nim-presto + add timeout (#1389) 2022-11-16 16:38:31 +01:00
jakub 36adfa85fc 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
Alvaro Revuelta cff8fb1502 chore(networkmonitor): add metric listing content topics + messages (#1335)
* chore(networkmonitor): add metric listing content topics + messages

* chore(networkmonitor): drop topics after x amount
2022-11-14 08:33:36 +01:00
Alvaro Revuelta 7917e05d9d chore(networkmonitor): tool to discover and provide metrics on peers (#1290)
* chore(networkmonitor): initial prototype

* chore(networkmonitor): add cli, metrics and PoC

* feat(utils): add supportsCapability function + tests

* feat(utils): add supportedCapabilites function

* chore(networkmonitor): add metrics with enr/ip/capabilities

* chore(networkmonitor): refactor + tests

* chore(networkmonitor): add discovered timestamp

* chore(networkmonitor): add metrics on connected nodes

* chore(networkmonitor): new flags + utils file + readme

* chore(networkmonitor): add user-agent metrics

* chore(networkmonitor): connect only to randomly discovered peers

* chore(networkmonitor): get location of peer using ip

* chore(networkmonitor): expose peer metrics with simple rest server

* chore(networkmonitor): update README

* chore(networkmonitor): fix wakunode2 to waku_node

* chore(networkmonitor): fix import order

* chore(networkmonitor): fix comments + refactor + pushraises

* chore(networkmonitor): refactor + handle exceptions

* chore(networkmonitor): fix makefile after rebase

* chore(networkmonitor): address review comments 1

* chore(networkmonitor): add nim.cfg
2022-11-10 10:29:34 +01:00
Lorenzo Delgado b07cdb1841 refactor(store): decouple waku store public api types from rpc types 2022-11-09 18:50:18 +01:00
Lorenzo Delgado 4acc611e47 refactor: unify pubsub topic type and default value 2022-11-09 09:55:47 +01:00
Lorenzo Delgado 2c2ce20c4e chore: build rln dependecies only when building v2 2022-11-07 09:14:21 +01:00
Alvaro Revuelta c3e665cb9d chore(wakucanary): remove port hardcoding + add cli config (#1345) 2022-11-05 12:56:41 +01:00
Lorenzo Delgado 83ae6987b8 fix: replace TaintedString type deprecated in nim 1.5 2022-11-02 14:55:48 +01: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
Alvaro Revuelta d5acb6aab2 chore(wakucanary): resolve dns (#1271) 2022-10-18 10:13:42 -05:00
Lorenzo Delgado 5046a4b3da refactor(node): split wakunode into waku_node and wakunode2 2022-10-18 09:05:53 -05:00
Lorenzo Delgado 5fbc537cbf chore: move apps and tools to their own directory 2022-10-12 14:41:25 -05:00
Alvaro Revuelta a36de4036b chore(wakucanary): add canary tool (#1205)
* chore(wakucanary): create folder structure

* chore(wakucanary): spawn waku node

* chore(wakucanary): get supported protocols from lp2p

* chore(wakucanary): add timeout + refactor

* chore(wakucanary): fix comments v1

* chore(wakucanary): update readme

* chore(wakucanary): static->relay, abbr, logLevel, filter issue, colon

* chore(wakucanary): fix typos
2022-10-11 05:58:44 +02:00