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

Manual watching of peer-connection actor #1567

Merged
merged 2 commits into from
Oct 15, 2020
Merged

Manual watching of peer-connection actor #1567

merged 2 commits into from
Oct 15, 2020

Conversation

pm47
Copy link
Member

@pm47 pm47 commented Oct 15, 2020

Instead of Peer watching PeerConnection, we have PeerConnection
notify Peer when it dies. Not relying on a watch allows for harder
security settings when enabling akka cluster.

@pm47 pm47 requested a review from t-bast October 15, 2020 13:54
Instead of `Peer` watching `PeerConnection`, we have `PeerConnection`
notify `Peer` when it dies. Not relying on a watch allows for harder
security settings when enabling akka cluster.
@codecov-io
Copy link

Codecov Report

Merging #1567 into master will increase coverage by 0.16%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1567      +/-   ##
==========================================
+ Coverage   87.17%   87.33%   +0.16%     
==========================================
  Files         139      139              
  Lines       10924    10924              
  Branches      464      442      -22     
==========================================
+ Hits         9523     9541      +18     
+ Misses       1401     1383      -18     
Impacted Files Coverage Δ
...in/scala/fr/acinq/eclair/io/ReconnectionTask.scala 93.02% <ø> (ø)
...-core/src/main/scala/fr/acinq/eclair/io/Peer.scala 88.64% <100.00%> (-0.07%) ⬇️
...main/scala/fr/acinq/eclair/io/PeerConnection.scala 81.70% <100.00%> (-0.35%) ⬇️
...c/main/scala/fr/acinq/eclair/channel/Channel.scala 85.86% <0.00%> (ø)
...main/scala/fr/acinq/eclair/router/Validation.scala 95.14% <0.00%> (+3.73%) ⬆️
...q/eclair/blockchain/electrum/ElectrumWatcher.scala 78.57% <0.00%> (+3.96%) ⬆️
...clair/blockchain/electrum/ElectrumClientPool.scala 78.49% <0.00%> (+4.30%) ⬆️

@pm47 pm47 merged commit 9c16bb7 into master Oct 15, 2020
@pm47 pm47 deleted the peer-conn-watch branch October 15, 2020 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants