Fix crash with dual opening when we cannot estimate fees#8864
Fix crash with dual opening when we cannot estimate fees#8864enaples wants to merge 7 commits intoElementsProject:masterfrom
Conversation
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.
See comment above
|
Waiting on @enaples confirmation to merge this for the 26.04 release |
5e3b7c6 to
74511a0
Compare
3e7934f to
1516f6b
Compare
[ 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>
9528372 to
a2f520d
Compare
|
Hey @enaples, we try to avoid doing merge commits on our branches and stick to rebasing to keep our git history clean. I've rebased your branch against master and enabled auto merge, will rebase again if there's a conflict. |
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: