Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multi+refactor: persistent peer manager #5700

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
252c36a
peer+server: move persistentPeers to PersistentPeerManager
ellemouton May 11, 2022
8e772db
server+peer: move persistentPeerAddrs to PersistentPeerManager
ellemouton May 11, 2022
082bc98
peer+server: move persistentConnReqs to PersistentPeerManager
ellemouton May 11, 2022
1f6da30
peer+server: move persistentPeersBackoff to PersistentPeerManager
ellemouton May 23, 2022
417991c
peer+server: move persistentRetryCancels to PersistentPeerManager
ellemouton May 23, 2022
5221aaf
peer+server: move ConnectPeer logic to PersistentPeerManager
ellemouton May 23, 2022
a5f03dc
peer+server: move all connMgr Connect calls to PersistentPeerManager
ellemouton May 24, 2022
6756734
peer+server: move cancelConnReqs to PersistentPeerManager
ellemouton May 24, 2022
194de63
peer+server: deleting the peer should always cancel conn reqs
ellemouton May 24, 2022
73c105d
peer+server: move node addr update logic to PersistentPeerManager
ellemouton May 24, 2022
b7e26cf
peer+server: add addrs on persistent peer creation
ellemouton May 24, 2022
cdcdfb6
peer+server: only add supported addresses
ellemouton May 24, 2022
e226516
peer+server: allow PersistentPeerMgr to fetch advertised addrs
ellemouton May 24, 2022
a41637e
peer+server: let PersistentPeerManager do addr conversions
ellemouton May 24, 2022
71b397d
server: remove redundant address lookups
ellemouton May 24, 2022
c11367e
peer+server: Connect with backoff to PersistentPeerManager
ellemouton May 24, 2022
b7bd6f9
peer: always cancel any previous retry cancellers
ellemouton May 24, 2022
077d9ca
docs/release-notes: update with entry for 5700
ellemouton May 24, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/release-notes/release-notes-0.15.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,9 @@ gRPC performance metrics (latency to process `GetInfo`, etc)](https://github.com
* [The channel-commit-interval is now clamped to a reasonable timeframe of 1h.](https://github.com/lightningnetwork/lnd/pull/6220)

* [A function in the gossiper `processNetworkAnnouncements` has been refactored for readability and for future deduplication efforts.](https://github.com/lightningnetwork/lnd/pull/6278)

* [Refactor of all persistent peer related management to the new
PersistentPeerManager](https://github.com/lightningnetwork/lnd/pull/5700).

# Contributors (Alphabetical Order)

Expand Down
Loading