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

@@ -65,6 +65,13 @@ enum jsonrpc_errcode {
FUNDING_STATE_INVALID = 312,
FUND_CANNOT_AFFORD_WITH_EMERGENCY = 313,
/* Splice errors */
SPLICE_BROADCAST_FAIL = 350,
SPLICE_WRONG_OWNER = 351,
SPLICE_UNKNOWN_CHANNEL = 352,
SPLICE_INVALID_CHANNEL_STATE = 353,
SPLICE_NOT_SUPPORTED = 354,
/* `connect` errors */
CONNECT_NO_KNOWN_ADDRESS = 400,
CONNECT_ALL_ADDRESSES_FAILED = 401,