880 Commits

Author SHA1 Message Date
Aaryamann Challani
2bece4e7d8 chore(rln-relay): address laundry list for tests (#1452)
* chore(rln-relay): s/var/let

* chore(rln-relay): s/var/let

* chore(rln-relay): s/check/require

* chore(rln-relay): s/check/require

* fix(rln-relay): s/check/require
2022-12-07 22:47:08 +05:30
Lorenzo Delgado
9ca1c5a91c ci: don't build waku v2 simulation binaries 2022-12-07 15:09:59 +01:00
Lorenzo Delgado
6f21b33831 feat(wakunode2): support log format format selection 2022-12-07 12:30:32 +01:00
Lorenzo Delgado
c90a1be7c6 chore(deps): upgrade nim-stew to latest version 2022-12-06 16:38:40 +01:00
Tanguy
ea92b36479 Fix Ctrl-C quitting (#1416) 2022-12-06 12:51:33 +02:00
G
96e5316497 fix(jenkins): fix typo 2022-12-06 01:18:33 +01:00
G
47aadf6dbd feat(rln): use zerokit as static lib (#1385) 2022-12-06 00:33:03 +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
Aaryamann Challani
f55915e350 chore(rln-relay): re-enable root validation (#1445)
* fix(rln-relay): enable root validation

* fix(rln-relay): unused import
2022-12-05 23:52:54 +05:30
Alvaro Revuelta
0308e9f899 chore(docs): add docker-compose instructions (#1444)
* chore(docs): add docker-compose instructions

* Update docs/operators/quickstart.md

Co-authored-by: Hanno Cornelius <68783915+jm-clius@users.noreply.github.com>

* Update docs/operators/quickstart.md

Co-authored-by: Hanno Cornelius <68783915+jm-clius@users.noreply.github.com>

Co-authored-by: Hanno Cornelius <68783915+jm-clius@users.noreply.github.com>
2022-12-05 16:25:37 +01:00
Lorenzo Delgado
3f9522b497 ci: merge test1 and tes2 github workflows 2022-12-01 14:33:59 +01:00
Lorenzo Delgado
239ce4ffb6 ci(jenkins): split dockerfile into production and experimental stages 2022-12-01 12:45:06 +01:00
Lorenzo Delgado
4ed47c532b ci(jenkins): support experimental flag in the pr and release pipelines 2022-12-01 11:28:09 +01:00
Lorenzo Delgado
e53067f8c2 chore(build): simplify project makefile and update dockerfile 2022-11-30 21:02:39 +01:00
Alvaro Revuelta
6b5fe34b15 chore: print getBacktrace() after sigsegv (#1440) 2022-11-30 19:41:19 +01:00
Lorenzo Delgado
f5f1f639da chore(deps): upgrade nim-eth to latest version 2022-11-30 16:12:58 +01:00
Lorenzo Delgado
6ff7193dd4 chore(deps): rebase nim-eth discv5 protocol id override branch 2022-11-30 09:03:32 +01:00
Tanguy
b49d860571 Decouple waku v2 from waku v1 (#1421)
Co-authored-by: Hanno Cornelius <68783915+jm-clius@users.noreply.github.com>
Co-authored-by: Lorenzo Delgado <lorenzo@status.im>
2022-11-29 20:15:07 +01:00
Alvaro Revuelta
7c54074b32 feat(peerstore): store peer direction (#1424)
* feat(peerstore): store peer direction

* feat(peerstore): add getPeersByDirection function + tests

* feat(peerstore): set out own MaxConnectionsPerPeer to 1

* feat(peermanager): add metric for inbound/outbound peers
2022-11-29 17:35:25 +01:00
Alvaro Revuelta
88dffc73d4 chore(metrics): add plot with traffic + update to latest grafana dashboard (#1433) 2022-11-29 16:15:55 +01:00
Alvaro Revuelta
524e30e8f5 chore(wakunode): handle sigsegv signal (#1430) 2022-11-29 16:02:18 +01:00
G
c7cf897f41 fix(noise): T_ss is ss not se (#1432) 2022-11-29 06:22:18 +01:00
Hanno Cornelius
6ae36c1385 fix: waku bridge test timing (#1429)
* fix: waku bridge test timing

* fix: shorten timing more
2022-11-28 22:07:21 +02:00
G
e9d4564943 fix(makefile): fix NIM_PARAMS flag update (#1431) 2022-11-28 20:57:46 +01:00
Hanno Cornelius
d5ef611308 feat: enable AutoNAT and libp2p circuit relay (#1425)
* feat: enable libp2p circuit relay

* feat: enable libp2p autonat
2022-11-28 16:56:01 +02:00
Lorenzo Delgado
93f0732f4d fix(archive): restore query and insert metrics duration precision 2022-11-25 23:20:24 +01:00
kaiserd
d8dd0b4190 fix: start px discv5 loop after discv5 has started (#1407) 2022-11-25 14:15:39 +01:00
Aaryamann Challani
779ec120ea feat(ci): run experimental features in diff ci (#1410)
* feat(ci): run experimental features in diff ci

* chore(ci): add EXPERIMENTAL flag

* chore(makefile): make compilation cleaner

* fix(rln-relay): remove onchain_rln flag

* fix(makefile): remove experimental_rln flag

Co-authored-by: Lorenzo Delgado <lorenzo@status.im>
2022-11-25 16:03:19 +05:30
Lorenzo Delgado
08313ef732 fix(archive): fix message validator error metric labels 2022-11-25 02:06:42 +01:00
Lorenzo Delgado
bc0fab345a fix(archive): fix message validator error metric labels 2022-11-25 01:49:43 +01:00
Lorenzo Delgado
aa851142d8 chore(store): remove obsolete metrics and error labels 2022-11-24 19:42:19 +01:00
Lorenzo Delgado
6da187fc66 fix(archive): patch the sqlite driver to solve results inconsistencies 2022-11-24 18:59:25 +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
aeda7d5ff6 test(archive): randomize archive driver query test suites' fixtures 2022-11-24 00:58:17 +01:00
Lorenzo Delgado
a9a3e77685 feat(archive): add waku archive implementation 2022-11-23 10:08:00 +01:00
Lorenzo Delgado
71cb709a23 feat(archive): add waku archive implementation 2022-11-22 19:40:24 +01:00
Lorenzo Delgado
1237698484 refactor(rln): decouple rln types from waku message type 2022-11-22 18:29:43 +01:00
Alvaro Revuelta
5ccbbf1316 fix(tests): add missing import for tests (#1375) 2022-11-22 08:13:51 +01:00
Aaryamann Challani
d8c01b7fe7 chore(rln-relay): barrel imports (#1386)
Co-authored-by: s1fr0 <28568419+s1fr0@users.noreply.github.com>
Co-authored-by: Lorenzo Delgado <lorenzo@status.im>
2022-11-21 15:15:03 +01:00
Lorenzo Delgado
8eff17e3cc feat(store): add support for history query handler 2022-11-21 11:16:57 +01:00
Alvaro Revuelta
6bc5aa81a5 chore(dashboard): Add network-monitor dashboard (#1401) 2022-11-21 10:07:43 +01:00
Lorenzo Delgado
aba02d10d3 chore(store): remove waku swap integration from store protocol 2022-11-21 09:36:41 +01:00
Lorenzo Delgado
b5e5b8f90b chore: add editorconfig file 2022-11-21 09:31:03 +01:00
Lorenzo Delgado
3a564bfefd fix(lightpush): waku lightpush rpc codec support optional fields 2022-11-18 20:01:01 +01:00
Lorenzo Delgado
6de4f3bc3a fix(filter): waku filter rpc codec support optional fields 2022-11-18 18:37:08 +01:00
Lorenzo Delgado
9522deb26f refactor(relay): collocate relay protocol initialization logic 2022-11-18 14:50:56 +01:00
alrevuelta
80eca40bc3 chore: add version to logs at startup 2022-11-18 11:59:35 +01:00
Lorenzo Delgado
52bf63a657 fix(store): waku store rpc codec support optional fields 2022-11-17 20:40:08 +01:00
Lorenzo Delgado
c113c59a43 refactor(protocols): decouple protocol rpc types from api types 2022-11-16 20:02:38 +01:00
Lorenzo Delgado
24f7834b40 chore: move protobuf module from utils to common 2022-11-16 20:02:14 +01:00