splice: Fixes from splice-out test

Added a test for splicing out that exposed some behavior and code glitches that are addressed in this commit.

Added test for splice gossip.

Also added documentation for how to do a splice out.

ChangeLog-Fixed: Added docs, testing, and some fixes related to splicing out, insufficent balance handling, and restarting during a splice.
This commit is contained in:
Dusty Daemon
2023-09-19 17:35:57 -04:00
committed by Rusty Russell
parent f60882feaf
commit 0a5ef7f2e6
6 changed files with 255 additions and 121 deletions

View File

@@ -73,6 +73,10 @@ enum jsonrpc_errcode {
SPLICE_NOT_SUPPORTED = 354,
SPLICE_BUSY_ERROR = 355,
SPLICE_INPUT_ERROR = 356,
SPLICE_FUNDING_LOW = 357,
SPLICE_STATE_ERROR = 358,
SPLICE_LOW_FEE = 359,
SPLICE_HIGH_FEE = 360,
/* `connect` errors */
CONNECT_NO_KNOWN_ADDRESS = 400,