Skip to content

Commit 3a17da6

Browse files
daywalker90rustyrussell
authored andcommitted
splice: Remove experiemental splicing feature
1 parent 9b51d66 commit 3a17da6

29 files changed

Lines changed: 67 additions & 94 deletions

.github/workflows/ci.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,6 @@ jobs:
500500
env:
501501
COMPILER: ${{ matrix.COMPILER }}
502502
EXPERIMENTAL_DUAL_FUND: ${{ matrix.EXPERIMENTAL_DUAL_FUND }}
503-
EXPERIMENTAL_SPLICING: ${{ matrix.EXPERIMENTAL_SPLICING }}
504503
COMPAT: 1
505504
SLOW_MACHINE: 1
506505
TEST_DEBUG: 1
@@ -553,13 +552,6 @@ jobs:
553552
COMPILER: gcc
554553
TEST_NETWORK: regtest
555554
EXPERIMENTAL_DUAL_FUND: 1
556-
# And splicing!
557-
- NAME: splicing
558-
CFG: compile-gcc-O3
559-
TEST_DB_PROVIDER: sqlite3
560-
COMPILER: gcc
561-
TEST_NETWORK: regtest
562-
EXPERIMENTAL_SPLICING: 1
563555
steps:
564556
- name: Checkout
565557
uses: actions/checkout@v4
@@ -606,7 +598,6 @@ jobs:
606598
env:
607599
COMPILER: ${{ matrix.COMPILER }}
608600
EXPERIMENTAL_DUAL_FUND: ${{ matrix.EXPERIMENTAL_DUAL_FUND }}
609-
EXPERIMENTAL_SPLICING: ${{ matrix.EXPERIMENTAL_SPLICING }}
610601
COMPAT: 1
611602
SLOW_MACHINE: 1
612603
TEST_DEBUG: 1

.msggen.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9785,7 +9785,7 @@
97859785
},
97869786
"ListConfigs.configs.experimental-splicing": {
97879787
"added": "v23.08",
9788-
"deprecated": null
9788+
"deprecated": "v26.04"
97899789
},
97909790
"ListConfigs.configs.experimental-splicing.set": {
97919791
"added": "pre-v0.10.1",

cln-rpc/src/model.rs

Lines changed: 10 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

common/features.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,6 @@ static const struct feature_style feature_styles[] = {
140140
.copy_style = { [INIT_FEATURE] = FEATURE_REPRESENT,
141141
[NODE_ANNOUNCE_FEATURE] = FEATURE_REPRESENT,
142142
[CHANNEL_FEATURE] = FEATURE_DONT_REPRESENT} },
143-
{ OPT_EXPERIMENTAL_SPLICE,
144-
.copy_style = { [INIT_FEATURE] = FEATURE_REPRESENT,
145-
[NODE_ANNOUNCE_FEATURE] = FEATURE_REPRESENT,
146-
[CHANNEL_FEATURE] = FEATURE_DONT_REPRESENT} },
147143
};
148144

149145
struct dependency {

common/features.h

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ struct feature_set *feature_set_dup(const tal_t *ctx,
122122
* | 46/47 | `option_scid_alias` | ... IN ...
123123
* | 48/49 | `option_payment_metadata` |... 9 ...
124124
* | 50/51 | `option_zeroconf` | ... IN ...
125+
* | 60/61 | `option_simple_close` |... IN ...
126+
* | 62/63 | `option_splice` |... IN ...
125127
*/
126128
#define OPT_DATA_LOSS_PROTECT 0
127129
#define OPT_UPFRONT_SHUTDOWN_SCRIPT 4
@@ -144,17 +146,12 @@ struct feature_set *feature_set_dup(const tal_t *ctx,
144146
#define OPT_SCID_ALIAS 46
145147
#define OPT_PAYMENT_METADATA 48
146148
#define OPT_ZEROCONF 50
149+
#define OPT_SPLICE 62
147150

148151
/* The old pre-zero-fee-anchors were deprecated, and we never supported them
149152
* outside experimental options */
150153
#define OPT_ANCHOR_OUTPUTS_DEPRECATED 20
151154

152-
/* BOLT-splice #9:
153-
* | 62/63 | `option_splice` | ... IN ...
154-
*/
155-
#define OPT_SPLICE 62
156-
#define OPT_EXPERIMENTAL_SPLICE 162
157-
158155
#define OPT_SHUTDOWN_WRONG_FUNDING 104
159156

160157
#endif /* LIGHTNING_COMMON_FEATURES_H */

contrib/msggen/msggen/schema.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11409,7 +11409,6 @@
1140911409
"added": "v24.11",
1141011410
"rpc": "dev-splice",
1141111411
"title": "Command to initiate a channel to a peer",
11412-
"warning": "experimental-splicing only",
1141311412
"description": [
1141411413
"`splice` is the command to move funds into or out of a channel. Multiple actions can be combined together resulting in a single onchain transaction. Funds may be moved out of a channel and into another in a single batch enabling cross-channel movement."
1141511414
],
@@ -19300,6 +19299,10 @@
1930019299
},
1930119300
"experimental-splicing": {
1930219301
"added": "v23.08",
19302+
"deprecated": [
19303+
"v26.04",
19304+
"v27.04"
19305+
],
1930319306
"type": "object",
1930419307
"additionalProperties": false,
1930519308
"required": [
@@ -33954,7 +33957,6 @@
3395433957
"added": "v23.08",
3395533958
"rpc": "splice_init",
3395633959
"title": "Command to initiate a channel to a peer",
33957-
"warning": "experimental-splicing only",
3395833960
"description": [
3395933961
"`splice_init` is a low level RPC command which initiates a channel splice for a given channel specified by `channel_id`."
3396033962
],
@@ -34097,7 +34099,6 @@
3409734099
"added": "v23.08",
3409834100
"rpc": "splice_signed",
3409934101
"title": "Command to initiate a channel to a peer",
34100-
"warning": "experimental-splicing only",
3410134102
"description": [
3410234103
"`splice_signed` is a low level RPC command which finishes the active channel splice associated with `channel_id`.",
3410334104
"",
@@ -34265,7 +34266,6 @@
3426534266
"added": "v23.08",
3426634267
"rpc": "splice_update",
3426734268
"title": "Command to initiate a channel to a peer",
34268-
"warning": "experimental-splicing only",
3426934269
"description": [
3427034270
"`splice_update` is a low level RPC command which updates the active channel splice associated with `channel_id`.",
3427134271
"",
@@ -34432,7 +34432,6 @@
3443234432
"added": "v26.04",
3443334433
"rpc": "splicein",
3443434434
"title": "Command to splice funds into a channel",
34435-
"warning": "experimental-splicing only",
3443634435
"description": [
3443734436
"`splicein` is the command to move funds into a channel."
3443834437
],
@@ -34499,7 +34498,6 @@
3449934498
"added": "v26.04",
3450034499
"rpc": "spliceout",
3450134500
"title": "Command to splice funds out of a channel",
34502-
"warning": "experimental-splicing only",
3450334501
"description": [
3450434502
"`spliceout` is the command to move funds into a channel."
3450534503
],

contrib/pyln-testing/pyln/testing/utils.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ def env(name, default=None):
8282
DEPRECATED_APIS = env("DEPRECATED_APIS", "0") == "1"
8383
TIMEOUT = int(env("TIMEOUT", 180 if SLOW_MACHINE else 60))
8484
EXPERIMENTAL_DUAL_FUND = env("EXPERIMENTAL_DUAL_FUND", "0") == "1"
85-
EXPERIMENTAL_SPLICING = env("EXPERIMENTAL_SPLICING", "0") == "1"
8685
GENERATE_EXAMPLES = env("GENERATE_EXAMPLES", "0") == "1"
8786
RUST = env("RUST", "0") == "1"
8887

@@ -963,8 +962,6 @@ def __init__(self, node_id, lightning_dir, bitcoind, executor, may_fail=False,
963962
self.daemon.opts["dev-no-reconnect"] = None
964963
if EXPERIMENTAL_DUAL_FUND:
965964
self.daemon.opts["experimental-dual-fund"] = None
966-
if EXPERIMENTAL_SPLICING:
967-
self.daemon.opts["experimental-splicing"] = None
968965
# Avoid test flakes cause by this option unless explicitly set.
969966
if self.cln_version >= "v24.11":
970967
self.daemon.opts.update({"autoconnect-seeker-peers": 0})

contrib/startup_regtest.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,6 @@ start_nodes() {
199199
dev-fast-gossip
200200
dev-bitcoind-poll=5
201201
experimental-dual-fund
202-
experimental-splicing
203202
funder-policy=match
204203
funder-policy-mod=100
205204
funder-min-their-funding=10000

doc/contribute-to-core-lightning/testing.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ Our Github Actions instance (see `.github/workflows/*.yml`) runs all these for e
6363

6464
```text
6565
EXPERIMENTAL_DUAL_FUND=[0|1] - Enable dual-funding tests.
66-
EXPERIMENTAL_SPLICING=[0|1] - Enable splicing tests.
6766
TEST_CHECK_DBSTMTS=[0|1] - When running blackbox tests, this will
6867
load a plugin that logs all compiled
6968
and expanded database statements.

doc/developers-guide/deprecated-features.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ privacy:
2323
| newaddr.addresstype.defaultbech32 | Parameter | v25.12 | v26.12 | Use `p2tr` in the response (present since v23.08 if `addresstype` is `p2tr`, and always present since v24.12). |
2424
| channel_state_changed.null_message | Notification Field | v25.12 | v26.12 | In channel_state_changed notification, `message` will be missing instead of `null` |
2525
| hsmtool.getcodexsecret | Command | v25.12.1 | v26.12 | Doesn't work on nodes using mnemonic secrets (v25.12 or later). Use `getsecret` instead. |
26+
| experimental_splicing | Config | v26.04 | v27.04 | Splicing is now enabled by default |
2627
Inevitably there are features which need to change: either to be generalized, or removed when they can no longer be supported.
2728

2829
Types of deprecation:

0 commit comments

Comments
 (0)