Ivan Folgueira Bande
a44d4bfbcd
refactor(databases): Creation of the databases folder to keep the logic for sqlite and postgres ( #1811 )
...
* Refactoring in sqlite and postgres. Creation of the databases folder.
2023-06-22 11:27:40 +02:00
Alvaro Revuelta
34a9263191
feat(networking): integrate gossipsub scoring ( #1769 )
2023-06-06 19:28:47 +02:00
Alvaro Revuelta
047d1cf095
feat(networking): prune peers from same ip beyond colocation limit ( #1765 )
2023-05-31 09:47:56 +02:00
Alvaro Revuelta
87f694a8b6
chore(networking): set and use target outbound connections + prune ( #1739 )
2023-05-18 09:40:14 +02:00
Alvaro Revuelta
b9e0763e6b
fix: streams was used instead of connections ( #1722 )
2023-05-10 15:28:00 +02:00
Vaclav Pavlin
b397ed6cbd
refactor:optimize getting number of connections and streams ( #1673 )
2023-04-26 10:47:46 +02:00
Lorenzo Delgado
e041e04342
chore(core): move peers utils module to waku_core
2023-04-24 16:37:54 +02:00
Alvaro Revuelta
14305c610a
feat: curate peers shared over px protocol ( #1671 )
2023-04-19 16:12:00 +02:00
Lorenzo Delgado
e8dceb2aa6
chore: add deprecation notice to utils module. move heartbeat to common
2023-04-19 14:27:16 +02:00
Lorenzo Delgado
d7b72ac736
chore: flatten waku v2 protocols folder
2023-04-18 15:22:10 +02:00
Alvaro Revuelta
1a885b963b
fix(logs): fix log reporting wrong ok connected peers ( #1675 )
2023-04-17 11:46:15 +02:00
Vaclav Pavlin
d5c2770c54
bug: move canBeConnected to PeerManager and check for potential overflow ( #1670 )
2023-04-14 15:12:22 +02:00
Alvaro Revuelta
73cbafa658
chore(networking): get relay number of connections from protocol conns/streams ( #1609 )
2023-04-12 13:05:34 +02:00
Ivan Folgueira Bande
b2dcb07751
Adding parsePeerInfo and deprecating 'parseRemotePeerInfo' ( #1658 )
2023-04-12 11:29:11 +02:00
Alvaro Revuelta
85f33a8efd
bug: connect instead dial relay peers ( #1622 )
2023-03-28 13:29:48 +02:00
Alvaro Revuelta
622ec27fcd
refactor(networking): unify peer data models, remove StoredInfo ( #1597 )
2023-03-09 11:05:50 -07:00
Lorenzo Delgado
0bf8d573a7
fix: clean and normalize module imports
2023-03-06 17:19:06 +01:00
Alvaro Revuelta
700dbbb7fd
refactor(networking): peermanager refactor and cleanups ( #1539 )
...
* refactor(networking): use addServicePeer where needed + add metrics
2023-02-27 10:24:31 -07:00
Alvaro Revuelta
edce01cd6a
fix(networking): fix wrong peer connected state ( #1560 )
2023-02-14 15:38:32 +01:00
Alvaro Revuelta
28e5bcf8b5
fix(networking): fix flaky peerstore test ( #1554 )
2023-02-13 18:10:20 +01:00
Lorenzo Delgado
9a40ad6400
fix: remove unused imports
2023-02-13 15:02:34 +01:00
Alvaro Revuelta
9c3e5f5bc5
refactor(px): refactor peer exchange + tests ( #1527 )
2023-02-09 16:59:29 +01:00
Alvaro Revuelta
da7592bcc7
feat(networking): prune peers from peerstore exceeding capacity ( #1513 )
...
* feat(networking): prune peers from peerstore
* chore: add comments
* feat(networking): fix comments
* Add tests
2023-01-31 13:24:49 +01:00
Alvaro Revuelta
ea4703e9a2
feat(networking): add service slots to peer manager ( #1473 )
2023-01-26 10:20:20 +01:00
Alvaro Revuelta
028efc8547
feat(networking): add backoff period after failed dial ( #1462 )
...
* feat(networking): add exponential backoff when dialing relay peers
* feat(networking): fix tests
* revert withTimeout
* feat(networking): refactor tests
* feat(networking): improve logs + ping using switch
* feat(networking): fix backoff bug + fix tests
* feat(networking): fix comments
2023-01-23 21:24:46 +01:00
Alvaro Revuelta
fd1ec4a74a
feat(networking): add relay connectivity loop ( #1482 )
...
* feat(networking): add relay connectivity loop
* Add unit tests
* feat(networking): fix comments
* Fix lnsd comments
2023-01-18 15:17:56 +01:00
Alvaro Revuelta
4eb9375b62
refactor(networking): wait for all futures together in connectToNodes ( #1471 )
...
* refactor(networking): wait for all futures together in connectToNodes
* refactor(networking): await fix style
2023-01-09 21:45:50 +01:00
Alvaro Revuelta
5042b06215
chore(p2p): unify dialpeer functions ( #1458 )
2022-12-14 16:04:11 +01:00
Lorenzo Delgado
e4c10ed661
feat(wakunode2): support log format format selection
2022-12-07 12:30:32 +01:00
Alvaro Revuelta
8cce06b8a2
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
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
7ef4eaf46d
chore: update push raises pragma according to nim 1.6
2022-11-04 10:52:27 +01:00
Lorenzo Delgado
0569beadbe
refactor(peer_manager): move peer_store under peer_manager module
2022-11-04 09:40:13 +01:00
Lorenzo Delgado
5c4f1ce43f
chore: make log topics consistent with nim-chronicles style
2022-11-03 16:36:24 +01:00
kaiserd
371016b04f
feat: waku peer exchange (RFC34) ( #1152 )
2022-09-20 13:03:34 +02:00
Hanno Cornelius
caa47896c1
fix: peer manager dial logic when dialing an existing peer ( #1090 )
2022-08-26 11:20:55 +02:00
Hanno Cornelius
0847eec6e0
chore: reduce unnecessary logging ( #991 )
2022-06-08 11:20:18 +02:00
Hanno Cornelius
d5a04a2719
chore: update submodules ( #987 )
2022-06-01 11:49:41 +02:00
Hanno Cornelius
50189a21a9
Update submodules: differentiate between local and remote `PeerInfo` ( #730 )
...
* Update submodules
* Remove PeerInfo where necessary
2021-10-06 14:29:08 +02:00
Hanno Cornelius
6b1e0c3079
Patch v0.5.1 - fix multiple protocol IDs in persistent storage ( #687 )
2021-07-27 08:48:56 +02:00
Hanno Cornelius
13cf7380bb
General refactoring: `nim-waku` ( #671 )
...
* General Track 1 refactoring
2021-07-16 17:13:36 +02:00
Hanno Cornelius
92f2d5a7f5
Refactor wakunode2.nim ( #664 )
...
* Refactor wakunode2.nim
* Remove empty raises
* Some formatting improvements
2021-07-14 19:58:46 +02:00
Hanno Cornelius
a044c6a82c
Add ping protocol support and use for keep-alive ( #621 )
...
* Add ping protocol support and use for keep-alive
* Separate WakuPeerStore from libp2p PeerStore
* Revert silly test timeout
2021-06-15 10:55:47 +02:00
Hanno Cornelius
9e0b73bd18
Update submodules ( #594 )
2021-06-09 16:37:08 +02:00
Hanno Cornelius
2b571e205b
Fix keepalive for connected peers ( #588 )
...
* Fix keepalive for connected peers
* Remove comment
2021-06-02 09:53:34 +02:00
Hanno Cornelius
f0eadfec13
Add persistent backoff for peers ( #497 )
2021-04-21 11:36:56 +02:00
Hanno Cornelius
192d4dd66b
Add backoff period before subscribing to persistent peers ( #491 )
2021-04-16 11:57:45 +02:00
Hanno Cornelius
5102576234
Integrate persistent peer storage ( #437 )
...
* Integrate persistent peer storage
2021-03-26 10:49:51 +02:00