Skip to content

Conversation

rustyrussell
Copy link
Contributor

Fixes: #4873

In particular, we used to get upset when a peer accepts our channel, if it was too small! We should do reasonable checks first.

…efully*.

At the moment it fails after the *peer* responds.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
@rustyrussell rustyrussell force-pushed the guilt/minchannel-opening branch from 9876ade to 1a1467b Compare August 18, 2025 04:29
@rustyrussell rustyrussell added this to the v25.09 milestone Aug 18, 2025
Fixes: ElementsProject#4873

In particular, we used to get upset when a peer accepts our channel,
if it was too small!  We should do reasonable checks first.

We no longer try to send requests to delay for 2017 blocks though,
so remove that test.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Fixed: Protocol: trying to create a channel below our own min-capacity-sat will now fail before asking the peer, not with an error blaming the peer when they accept!
@rustyrussell rustyrussell force-pushed the guilt/minchannel-opening branch from 1a1467b to e6fd455 Compare August 18, 2025 04:57
@rustyrussell rustyrussell merged commit 9b68ba0 into ElementsProject:master Aug 18, 2025
40 checks passed
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.

Users allowed to open channels below their own minimum channel value

1 participant