Vaclav Pavlin
8bacfd0ba4
feat(wakunode2): enable libp2p rendezvous protocol by default ( #1770 )
2023-06-01 21:43:10 +02:00
Alvaro Revuelta
55ff040585
feat(networking): prune peers from same ip beyond colocation limit ( #1765 )
2023-05-31 09:47:56 +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
Alvaro Revuelta
d4f80d2739
chore(networking): set and use target outbound connections + prune ( #1739 )
2023-05-18 09:40:14 +02:00
Ivan Folgueira Bande
2f1eb2c0ca
feat(cbindings): first commit - waku relay ( #1632 ) ( #1714 )
...
* feat(cbindings): first commit - waku relay (#1632 )
* test_app.nim: fix compilation issue. App.init(..) -> App.new(..)
* Simplifying library name (libwaku) and standardizing function names (waku_*)
* Proper wrapper of the waku_node API and creation of the libwaku.a
* Rolling back changes that are not needed
* Rolling back changes that are out of the scope of this task
* wakunode.nim: Removing unnecessary import
* Aplying PR suggestions
* Renaming 'waku.h' -> 'libwaku.h'
* Use of 'isNil' instead of '== nil'
* libwaku.nim: explicitly setting waku_poll() as gcsafe
2023-05-12 18:08:41 +02:00
Alvaro Revuelta
df8ca7878d
fix: streams was used instead of connections ( #1722 )
2023-05-10 15:28:00 +02:00
Lorenzo Delgado
3db31473dd
refactor(wakunode2): flatten and simplify app setup ( #1705 )
2023-04-26 19:25:18 +02:00
Vaclav Pavlin
a4d22fadc3
refactor:optimize getting number of connections and streams ( #1673 )
2023-04-26 10:47:46 +02:00
Alvaro Revuelta
bcdb7e9cfb
chore: add payload bytes to trace log ( #1703 )
2023-04-25 09:50:43 +02:00
Lorenzo Delgado
59cbcf9dd0
chore(core): move peers utils module to waku_core
2023-04-24 16:37:54 +02:00
Alvaro Revuelta
686b5ee09a
feat: add metrics with msg size histogram ( #1697 )
2023-04-20 13:45:29 +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
44b1f3bfe5
fix(rest): change rest server result error type to string
2023-04-19 14:55:39 +02:00
Lorenzo Delgado
bf1ff25a47
chore: add deprecation notice to utils module. move heartbeat to common
2023-04-19 14:27:16 +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
Alvaro Revuelta
ae98f49eff
fix(logs): fix log reporting wrong ok connected peers ( #1675 )
2023-04-17 11:46:15 +02:00
Vaclav Pavlin
9c97073b20
bug: move canBeConnected to PeerManager and check for potential overflow ( #1670 )
2023-04-14 15:12:22 +02:00
Alvaro Revuelta
46faf099cb
chore(networking): get relay number of connections from protocol conns/streams ( #1609 )
2023-04-12 13:05:34 +02:00
Ivan Folgueira Bande
cef5f89cf3
Adding parsePeerInfo and deprecating 'parseRemotePeerInfo' ( #1658 )
2023-04-12 11:29:11 +02:00
Hanno Cornelius
10028a4df9
feat: integrate new filter protocol, other improvements ( #1637 )
2023-04-11 10:12:54 +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
7834ca839c
refactor(node): remove deprecated constructor and extend testlib with builder
2023-04-05 16:01:51 +02:00
Alvaro Revuelta
1088c5f063
chore: do not mount relay more than once ( #1650 )
2023-04-05 15:12:49 +02:00
Lorenzo Delgado
97f3b7be4e
feat(node): added waku node builder type
2023-04-05 14:27:11 +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
884b2fc9ac
chore: remove deprecated enr record init method
2023-04-04 15:35:15 +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
f07287e015
chore: remove waku swap protocol
2023-03-31 17:21:40 +02:00
Alvaro Revuelta
4e006e5ca1
bug: connect instead dial relay peers ( #1622 )
2023-03-28 13:29:48 +02:00
Alvaro Revuelta
bdf5cd1c54
bug: fix hash size greater than 32 ( #1621 )
2023-03-24 13:06:27 +01:00
Alvaro Revuelta
ba027aa21c
refactor(networking): unify peer data models, remove StoredInfo ( #1597 )
2023-03-09 11:05:50 -07: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
c9e0ef1170
fix: clean and normalize module imports
2023-03-06 17:19:06 +01:00
Lorenzo Delgado
6ffc95a2ec
chore: move discovery protocols under protocol module
2023-03-06 17:18:41 +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
Hanno Cornelius
1a968e21ff
chore: log node peer ID with relay trace logging ( #1574 )
...
* chore: log node peer ID with relay trace logging
* feat: add peerId accessor
2023-02-27 17:36:24 +02:00
Lorenzo Delgado
83a1c0ba29
fix(jsonrpc): use padded-base64 for payload encoding
2023-02-23 09:31:06 +01:00
Alvaro Revuelta
878a05edbf
fix(networking): fix wrong peer connected state ( #1560 )
2023-02-14 15:38:32 +01:00
Hanno Cornelius
f0eddc61d8
chore: lower per-message log level to trace ( #1561 )
2023-02-14 15:07:26 +02:00
Lorenzo Delgado
3627556c67
fix(jsonrpc): encode waku messages payload in base64 ( #1139 )
2023-02-14 09:19:06 +01:00
Aaryamann Challani
d4302fd826
fix(discv5): add multiaddrs only if len > 0 ( #1559 )
2023-02-14 13:41:48 +05:30
Alvaro Revuelta
2ca2b3fc8a
fix(networking): fix flaky peerstore test ( #1554 )
2023-02-13 18:10:20 +01:00
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
1ea771fb2f
fix(node): remove subscription to waku default network topic ( #1545 )
2023-02-10 17:55:47 +01:00