-
Notifications
You must be signed in to change notification settings - Fork 974
Fix crash with dual opening when we cannot estimate fees #8864
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: master
Are you sure you want to change the base?
Fix crash with dual opening when we cannot estimate fees #8864
Conversation
[ Neated and added xfail -- RR ]
…ates. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
…imates. This seems a sensible precaution anyway. Changelog-Changed: lightningd: we don't allow new incoming channels if we cannot estimate fees (rather than assuming minfee). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
…estimate fees. Fixes: ElementsProject#8847 Reported-by: https://github.com/mdance Changelog-EXPERIMENTAL: fixed crash with dual funding if we cannot estimate fees.
We don't allow this for now (by spec!), but in case we ever did we should not try to enforce it here! Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
b529034 to
c6528da
Compare
|
This is awesome! I cleaned up the test a little, and proceeded with the fix. Please review! |
a8fc1ee to
c6528da
Compare
|
Since there is the general case Just to make sure, the channel opening should be successful if every node is able to autonomously compute fees, is it correct? If a node specify the feerate but the other one is not able to compute the fees, the If we specify the feerate on |
enaples
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comment above
Important
26.04 FREEZE March 11th: Non-bugfix PRs not ready by this date will wait for 26.06.
RC1 is scheduled on March 23rd
The final release is scheduled for April 15th.
Checklist
Before submitting the PR, ensure the following tasks are completed. If an item is not applicable to your PR, please mark it as checked:
tools/lightning-downgradeAdditional info
Test to reproduce #8847
uv run python -m pytest -vvvv tests/test_opening.py::test_opening_dualfund_with_unknown_feeratesUnfortunately I cannot continue the test after BROKEN message. I was able to reproduce the issue on signet and I can can confirm that the error message after crash are the same pointed out in the issue.
I report logs for completeness:
From
crash.logI get: