lightningdevkit / rust-lightning

A highly modular Bitcoin Lightning library written in Rust. It's rust-lightning, not Rusty's Lightning!
Other
1.11k stars 342 forks source link

add peer_(dis)connected to custom message handler #3105

Closed johncantrell97 closed 3 weeks ago

johncantrell97 commented 3 weeks ago

Protocols utilizing the custom message handler might need to know about peer connection and disconnection. At a minimum LSPS5 requires this functionality.

codecov-commenter commented 3 weeks ago

Codecov Report

Attention: Patch coverage is 80.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 89.83%. Comparing base (2701bc5) to head (602921c).

Files Patch % Lines
lightning/src/ln/peer_handler.rs 80.00% 2 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #3105 +/- ## ========================================== - Coverage 89.88% 89.83% -0.06% ========================================== Files 119 119 Lines 97551 97561 +10 Branches 97551 97561 +10 ========================================== - Hits 87681 87640 -41 - Misses 7304 7343 +39 - Partials 2566 2578 +12 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.