Vaclav Pavlin
8bacfd0ba4
feat(wakunode2): enable libp2p rendezvous protocol by default ( #1770 )
2023-06-01 21:43:10 +02:00
Ivan Folgueira Bande
7c52ba44a4
feat(postgresql): 1st commit to async sql (waku_archive/driver...) ( #1755 )
2023-05-25 17:34:34 +02:00
Aaryamann Challani
3cb03c9341
fix(rln-relay): keystore usage ( #1750 )
...
* fix(rln-relay): keystore usage
* docs(rln-relay): explicit keystore usage
2023-05-22 22:06:55 +05:30
Aaryamann Challani
af9e6bb757
chore(rln-relay): docs and config update for testnet 3 ( #1738 )
...
* chore(rln-relay): docs and config update for testnet 3
* chore(rln-relay): update more docs
2023-05-19 18:22:01 +05:30
Ivan Folgueira Bande
b9ea435acc
refactor: proper use of setupNat ( #1740 )
...
Notice that I had to adapt to use 'rlpx_connected_peers' instead
of 'connected_peers' in 'wakunode1.nim' because due to the update
of the 'vendor/nim-eth', which adds the dependency-break with
'confutils' but also includes another changes.
Aside note: we cannot have 'confutils' dependency in 'nim-eth' because
that will prevent the generation of any waku dynamic library.
2023-05-17 18:32:53 +02:00
Ivan Folgueira Bande
581e94dc66
fix: wakunode2 config. adding new 'topic' config parameter. ( #1727 )
...
* wakunode2 config. adding new 'topic' config parameter.
This new parameter can be repeated and we are starting to deprecate the
parameter 'topics', that expected to receive a space-separated list of
pubsubtopic to subscribe to.
* Appying PR suggestions
2023-05-12 13:37:54 +02:00
Alvaro Revuelta
5a8fcffa41
chore: add timestamp and ephemeral for opt-in dos validator ( #1713 )
2023-05-05 10:12:49 +02:00
Alvaro Revuelta
8951ec6119
chore: add test vectors dos protection validator ( #1711 )
2023-05-04 15:38:52 +02:00
Alvaro Revuelta
9941565236
chore: add validator for dos protec metrics and move to app ( #1704 )
2023-05-02 16:20:38 +02:00
Alvaro Revuelta
294a41d33c
feat: configure protected topics via cli ( #1696 )
2023-05-02 11:45:50 +02:00
Lorenzo Delgado
6751f4b849
chore: move networkmonitor and wakucanary to apps directory
2023-04-27 16:25:31 +02:00
Lorenzo Delgado
3db31473dd
refactor(wakunode2): flatten and simplify app setup ( #1705 )
2023-04-26 19:25:18 +02:00
Lorenzo Delgado
1c665742be
refactor(wakunode2): split setup logic into app module
2023-04-25 15:34:57 +02:00
Lorenzo Delgado
59cbcf9dd0
chore(core): move peers utils module to waku_core
2023-04-24 16:37:54 +02:00
Lorenzo Delgado
1b1708884b
chore(core): move utils time module to waku_core
2023-04-19 16:39:52 +02:00
Alvaro Revuelta
5598ab64e1
feat: curate peers shared over px protocol ( #1671 )
2023-04-19 16:12:00 +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
Ivan Folgueira Bande
90bef27f45
chore: allow to call store api endpoints without a storenode ( #1575 ) ( #1647 )
...
* test_jsonrpc_store: testing when there is no peer-store-node available
2023-04-12 09:26:26 +02:00
Lorenzo Delgado
7f93b17cc9
fix(wakunode2): made setup nat return errors
2023-04-06 13:41:05 +02:00
Ivansete-status
3b26a3e65f
feat(rest-api-store): new rest api to retrieve store waku messages ( #1611 ) ( #1630 )
...
* feat: new rest api based on the current store json-rpc api and
following the same structure as the current relay rest api.
* feat: the store api attend GET requests to retrieve historical messages
* feat: unit tests.
* feat: allow return message to rest-client in case error (4XX or 5XX)
* chore: always allow to call the store api endpoints (only rest) without explicit storenode (#1575 )
* feat: always mounting the current node as storenode client
2023-04-06 11:43:19 +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
e3cba65827
refactor(node): added waku_node barrel import and split config module
2023-04-05 09:46:13 +02:00
Lorenzo Delgado
2ed4145069
fix: fixed multiple bare except warnings
2023-04-04 15:34:53 +02:00
Alvaro Revuelta
0fe18e2842
feat: dos protected topic relay msgs based on meta field ( #1614 )
2023-04-04 10:58:45 +02:00
Lorenzo Delgado
2c67a900d3
fix(wakunode2): fix main warnings and drop swap support
2023-03-29 12:47:48 +02:00
Lorenzo Delgado
f5c77ed76f
refactor(enr): node capabilities code clean up and reorganization
2023-03-08 15:44:10 +01:00
Lorenzo Delgado
753bfc1e73
feat(message): differentiate content and pubsub topic namespacing
2023-03-07 11:10:36 +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
0892d4b2dc
refactor(message): move namespacing utils to waku message module
2023-03-03 10:07:25 +01:00
Aaryamann Challani
7c9339b2e5
feat(rln-relay): group manager integration ( #1496 )
...
* feat(rln-relay): init group manager integration
fix(rln-relay): integrate group manager. todo spam and reg handlers
fix(rln-relay): decouple waku-relay and waku-rln-relay
fix(rln-relay): compiles now
fix(chat2): compilation
fix(rln-relay): wip segfault
fix(rln-relay): segfault
fix(chat2|wakunode2): use optional field
fix(rln-relay): wakunode test
fix(rln-relay): uncomment fields in proto decode
fix(rln-relay): used pragma on tests
fix(rln-relay): include cred processing
fix(rln-relay): add reg callback
fix(rln-relay): args to mount
fix(rln-relay): add timeout to waitForExit
fix(rln-relay): use osproc term instead of posix kill
fix(rln-relay): use poParentStream to prevent deadlock
fix(rln-relay): remove poParentStream, remove ganache log output
* fix(rln-relay): abstract tuple into own type
2023-02-28 19:08:30 +05:30
Alvaro Revuelta
68acf82c95
refactor(networking): peermanager refactor and cleanups ( #1539 )
...
* refactor(networking): use addServicePeer where needed + add metrics
2023-02-27 10:24:31 -07:00
Aaryamann Challani
577cdf030b
chore(rln-relay): bump zerokit and update ffi ( #1571 )
...
fix(chat2): compilation
2023-02-22 19:47:12 +05:30
Lorenzo Delgado
789ffae14b
refactor(rest): deep code and tests reorganization
2023-02-13 15:22:24 +01:00
Lorenzo Delgado
91ac615efa
fix: remove unused imports
2023-02-13 15:02:34 +01:00
Lorenzo Delgado
b6c2c71aa6
refactor(jsonrpc): deep code and tests reorganization
2023-02-10 10:43:16 +01:00
Lorenzo Delgado
317fa6df18
refactor(wakubridge): split message compatibility from wakubridge
2023-02-10 09:54:47 +01:00
Alvaro Revuelta
a74eaf1c10
refactor(px): refactor peer exchange + tests ( #1527 )
2023-02-09 16:59:29 +01:00
Aaryamann Challani
13b7153aad
feat(discv5): advertise custom multiaddresses ( #1512 )
...
* feat(discv5): allow custom multiaddr advertisement in discv5
feat(discv5): allow custom multiaddr advertisement in discv5
feat(discv5): move discv5 setup from wakunode2 to waku_node
fix(waku_node): def param
test(discv5): test for ext multiaddr
fix(discv5): address comments
fix(discv5): address comments
fix(wakunode2): discoveryconfig in var before init
fix(discv5): pass multiaddr to discv5 directly
fix(discv5): make multiaddrs optional
fix(test): discv5 init
fix(discv5): split discv5 mounting from waku_node
chore(discv5): s/WakuAddressMetadata/WakuNodeAddrMeta/g
* fix(waku_node): 1.25 max conns
* fix(discv5): s/WakuNodeAddrMeta/NetConfig/g
* fix(discv5): address reviews
* fix(discv5): smaller try-catches
* fix(discv5): missing arg
* fix: compile error
2023-02-07 18:36:50 +05:30
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
1a425b0bf6
fix: add safe default values for peer-store-capacity ( #1525 )
2023-01-31 17:26:22 +01:00
Aaryamann Challani
bf532eea8b
feat(wakunode): advertise custom multiaddresses ( #1509 )
...
* feat(wakunode2): ability to advertise custom multiaddresses
* test(wakunode): test the feature
* fix(wakunode): remove rln diff
* revert(rln-relay): change that creeped into the diff
* fix(wakunode): move extMultiaddrs closer to nat
* fix(waku_node): idiomatic default arg
* fix(config): shortened validation
* fix(wakunode): discoverable via discv5 and dnsdisc
2023-01-26 15:48:30 +05:30
Alvaro Revuelta
f3ee7af3aa
feat(networking): add service slots to peer manager ( #1473 )
2023-01-26 10:20:20 +01:00
Aaryamann Challani
c6ab90ad9b
fix(chat2): warn when rln relay is enabled but not compiled ( #1494 )
2023-01-16 13:59:45 +05:30
Hanno Cornelius
9aa5be8b0e
chore: update submodules ( #1480 )
...
* chore: switch to nim-eth master branch
* chore: updated submodules
* fix: submodule without error handling
* fix: autonat client
2023-01-11 08:06:30 +02:00