Skip to content

Commit 53a144f

Browse files
committed
splice: Remove experiemental splicing feature
1 parent 7620c47 commit 53a144f

25 files changed

+36
-156
lines changed

.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

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: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -11384,7 +11384,6 @@
1138411384
"added": "v24.11",
1138511385
"rpc": "dev-splice",
1138611386
"title": "Command to initiate a channel to a peer",
11387-
"warning": "experimental-splicing only",
1138811387
"description": [
1138911388
"`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."
1139011389
],
@@ -19273,29 +19272,6 @@
1927319272
}
1927419273
}
1927519274
},
19276-
"experimental-splicing": {
19277-
"added": "v23.08",
19278-
"type": "object",
19279-
"additionalProperties": false,
19280-
"required": [
19281-
"set",
19282-
"source"
19283-
],
19284-
"properties": {
19285-
"set": {
19286-
"type": "boolean",
19287-
"description": [
19288-
"`true` if set in config or cmdline."
19289-
]
19290-
},
19291-
"source": {
19292-
"type": "string",
19293-
"description": [
19294-
"Source of configuration setting."
19295-
]
19296-
}
19297-
}
19298-
},
1929919275
"experimental-onion-messages": {
1930019276
"deprecated": [
1930119277
"v24.08",
@@ -20770,10 +20746,6 @@
2077020746
"set": false,
2077120747
"source": "default"
2077220748
},
20773-
"experimental-splicing": {
20774-
"set": false,
20775-
"source": "default"
20776-
},
2077720749
"exposesecret-passphrase": {
2077820750
"value_str": "...",
2077920751
"source": "default",
@@ -33929,7 +33901,6 @@
3392933901
"added": "v23.08",
3393033902
"rpc": "splice_init",
3393133903
"title": "Command to initiate a channel to a peer",
33932-
"warning": "experimental-splicing only",
3393333904
"description": [
3393433905
"`splice_init` is a low level RPC command which initiates a channel splice for a given channel specified by `channel_id`."
3393533906
],
@@ -34072,7 +34043,6 @@
3407234043
"added": "v23.08",
3407334044
"rpc": "splice_signed",
3407434045
"title": "Command to initiate a channel to a peer",
34075-
"warning": "experimental-splicing only",
3407634046
"description": [
3407734047
"`splice_signed` is a low level RPC command which finishes the active channel splice associated with `channel_id`.",
3407834048
"",
@@ -34240,7 +34210,6 @@
3424034210
"added": "v23.08",
3424134211
"rpc": "splice_update",
3424234212
"title": "Command to initiate a channel to a peer",
34243-
"warning": "experimental-splicing only",
3424434213
"description": [
3424534214
"`splice_update` is a low level RPC command which updates the active channel splice associated with `channel_id`.",
3424634215
"",
@@ -34407,7 +34376,6 @@
3440734376
"added": "v26.04",
3440834377
"rpc": "splicein",
3440934378
"title": "Command to splice funds into a channel",
34410-
"warning": "experimental-splicing only",
3441134379
"description": [
3441234380
"`splicein` is the command to move funds into a channel."
3441334381
],
@@ -34474,7 +34442,6 @@
3447434442
"added": "v26.04",
3447534443
"rpc": "spliceout",
3447634444
"title": "Command to splice funds out of a channel",
34477-
"warning": "experimental-splicing only",
3447834445
"description": [
3447934446
"`spliceout` is the command to move funds into a channel."
3448034447
],

contrib/pyln-testing/pyln/testing/grpc2py.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2420,13 +2420,6 @@ def listconfigs_configs_experimental_shutdown_wrong_funding2py(m):
24202420
})
24212421

24222422

2423-
def listconfigs_configs_experimental_splicing2py(m):
2424-
return remove_default({
2425-
"set": m.set, # PrimitiveField in generate_composite
2426-
"source": m.source, # PrimitiveField in generate_composite
2427-
})
2428-
2429-
24302423
def listconfigs_configs_fee_base2py(m):
24312424
return remove_default({
24322425
"source": m.source, # PrimitiveField in generate_composite

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/schemas/dev-splice.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"added": "v24.11",
66
"rpc": "dev-splice",
77
"title": "Command to initiate a channel to a peer",
8-
"warning": "experimental-splicing only",
98
"description": [
109
"`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."
1110
],

doc/schemas/listconfigs.json

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -528,29 +528,6 @@
528528
}
529529
}
530530
},
531-
"experimental-splicing": {
532-
"added": "v23.08",
533-
"type": "object",
534-
"additionalProperties": false,
535-
"required": [
536-
"set",
537-
"source"
538-
],
539-
"properties": {
540-
"set": {
541-
"type": "boolean",
542-
"description": [
543-
"`true` if set in config or cmdline."
544-
]
545-
},
546-
"source": {
547-
"type": "string",
548-
"description": [
549-
"Source of configuration setting."
550-
]
551-
}
552-
}
553-
},
554531
"experimental-onion-messages": {
555532
"deprecated": [
556533
"v24.08",
@@ -2025,10 +2002,6 @@
20252002
"set": false,
20262003
"source": "default"
20272004
},
2028-
"experimental-splicing": {
2029-
"set": false,
2030-
"source": "default"
2031-
},
20322005
"exposesecret-passphrase": {
20332006
"value_str": "...",
20342007
"source": "default",

0 commit comments

Comments
 (0)