splicing: Add channel state AWAITING_SPLICE

Update gossip routiens and various other hecks on the channel state to consider AWAITING_SPLICE to be routable and treated similar to CHANNELD_NORMAL.

Small updates to psbt interface

Changelog-None
This commit is contained in:
Dusty Daemon
2023-07-27 13:17:33 -07:00
committed by Rusty Russell
parent 108658a539
commit 50fe819f47
17 changed files with 74 additions and 22 deletions

View File

@@ -3291,7 +3291,8 @@ static struct command_result *direct_pay_listpeerchannels(struct command *cmd,
if (!chan->connected)
continue;
if (!streq(chan->state, "CHANNELD_NORMAL"))
if (!streq(chan->state, "CHANNELD_NORMAL")
&& !streq(chan->state, "CHANNELD_AWAITING_SPLICE"))
continue;
/* Must have either a local alias for zeroconf