-
Notifications
You must be signed in to change notification settings - Fork 406
rustfmt: move channel acceptance tests into own file and format #3797
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
base: main
Are you sure you want to change the base?
Conversation
Useful for the commits that follow where we add more downgrade tests.
To allow testing along the way in this PR, turn on negotiation of zero fee channels. Co-authored-by: Matt Corallo <[email protected]>
Sender: MUST set `feerate_per_kw` to zero Receiver: MUST fail the channel if `feerate_per_kw` != 0 Co-authored-by: Matt Corallo <[email protected]>
Like anchor channels, these channels require that the user reserves a UTXO to bump the channel. If we automatically accept this channel type and the user does not have such reserve available, they are at risk of losing funds because they cannot fee bump the channel.
I've assigned @jkczyz as a reviewer! |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3797 +/- ##
==========================================
+ Coverage 89.81% 90.59% +0.77%
==========================================
Files 159 160 +1
Lines 128672 134636 +5964
Branches 128672 134636 +5964
==========================================
+ Hits 115571 121970 +6399
+ Misses 10428 10073 -355
+ Partials 2673 2593 -80 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Depends on #3792, as requested in review.
Only last 2 commits reviewable in this PR.