Skip to content

Commit c161d7d

Browse files
committed
splice: Remove experiemental splicing feature
1 parent 128203c commit c161d7d

33 files changed

Lines changed: 608 additions & 705 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: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2423,7 +2423,6 @@
24232423
"ListConfigs.configs.experimental-onion-messages": 23,
24242424
"ListConfigs.configs.experimental-peer-storage": 26,
24252425
"ListConfigs.configs.experimental-shutdown-wrong-funding": 25,
2426-
"ListConfigs.configs.experimental-splicing": 22,
24272426
"ListConfigs.configs.fee-base": 39,
24282427
"ListConfigs.configs.fee-per-satoshi": 41,
24292428
"ListConfigs.configs.fetchinvoice-noconnect": 64,
@@ -2612,10 +2611,6 @@
26122611
"ListConfigs.configs.experimental-shutdown-wrong-funding.set": 1,
26132612
"ListConfigs.configs.experimental-shutdown-wrong-funding.source": 2
26142613
},
2615-
"ListconfigsConfigsExperimental-splicing": {
2616-
"ListConfigs.configs.experimental-splicing.set": 1,
2617-
"ListConfigs.configs.experimental-splicing.source": 2
2618-
},
26192614
"ListconfigsConfigsFee-base": {
26202615
"ListConfigs.configs.fee-base.source": 2,
26212616
"ListConfigs.configs.fee-base.value_int": 1
@@ -2819,7 +2814,6 @@
28192814
"ListConfigs.experimental-peer-storage": 22,
28202815
"ListConfigs.experimental-quiesce": 23,
28212816
"ListConfigs.experimental-shutdown-wrong-funding": 21,
2822-
"ListConfigs.experimental-splicing": 18,
28232817
"ListConfigs.experimental-upgrade-protocol": 24,
28242818
"ListConfigs.fee-base": 37,
28252819
"ListConfigs.fee-per-satoshi": 39,
@@ -9783,18 +9777,6 @@
97839777
"added": "pre-v0.10.1",
97849778
"deprecated": null
97859779
},
9786-
"ListConfigs.configs.experimental-splicing": {
9787-
"added": "v23.08",
9788-
"deprecated": null
9789-
},
9790-
"ListConfigs.configs.experimental-splicing.set": {
9791-
"added": "pre-v0.10.1",
9792-
"deprecated": null
9793-
},
9794-
"ListConfigs.configs.experimental-splicing.source": {
9795-
"added": "pre-v0.10.1",
9796-
"deprecated": null
9797-
},
97989780
"ListConfigs.configs.fee-base": {
97999781
"added": "pre-v0.10.1",
98009782
"deprecated": null
@@ -10311,10 +10293,6 @@
1031110293
"added": "pre-v0.10.1",
1031210294
"deprecated": "v23.08"
1031310295
},
10314-
"ListConfigs.experimental-splicing": {
10315-
"added": "pre-v0.10.1",
10316-
"deprecated": "v23.08"
10317-
},
1031810296
"ListConfigs.experimental-upgrade-protocol": {
1031910297
"added": "v23.08",
1032010298
"deprecated": "v23.08"

cln-grpc/proto/node.proto

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

cln-grpc/src/convert.rs

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

cln-rpc/src/model.rs

Lines changed: 0 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-grpc-proto/pyln/grpc/node_pb2.py

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

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

0 commit comments

Comments
 (0)