cln/openingd
Rusty Russell 9b68ba0903 openingd: test that channel open seems possible before bothering peer.
Fixes: https://github.com/ElementsProject/lightning/issues/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!
2025-08-18 16:19:22 +09:30
..
common.c openingd: don't cast existing_htlc array to simple_htlc array. 2025-05-06 12:27:53 +09:30
common.h channeld: BOLT update, no longer allow creation of old (experimental-only!) non-zero-fee anchor channels. 2024-06-19 15:54:24 +09:30
dualopend.c lightningd: add channel_type to openchannel & openchannel2 hooks. 2025-08-15 11:11:39 +09:30
dualopend_wire.csv lightningd: add channel_type to openchannel & openchannel2 hooks. 2025-08-15 11:11:39 +09:30
Makefile gossipd: delete empty gossipd_peerd_wire.csv 2024-07-10 12:21:19 +09:30
openingd.c openingd: test that channel open seems possible before bothering peer. 2025-08-18 16:19:22 +09:30
openingd_wire.csv lightningd: add channel_type to openchannel & openchannel2 hooks. 2025-08-15 11:11:39 +09:30