Skip to content

Commit 2d1a68b

Browse files
committed
splice: Update messages to spec
This commit being pushed means interop was successful. Changelog-Added: Splicing interop achieved — splicing between implementation now possible!
1 parent 0d3d17e commit 2d1a68b

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

lightningd/hsm_control.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ struct ext_key *hsm_init(struct lightningd *ld)
177177
}
178178

179179
if (feature_offered(ld->our_features->bits[INIT_FEATURE],
180-
OPT_EXPERIMENTAL_SPLICE)
180+
OPT_SPLICE)
181181
&& !hsm_capable(ld, WIRE_HSMD_SIGN_SPLICE_TX)) {
182182
fatal("--experimental-splicing needs HSM capable of signing splices!");
183183
}

lightningd/options.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1266,7 +1266,7 @@ static char *opt_set_splicing(struct lightningd *ld)
12661266
OPTIONAL_FEATURE(OPT_QUIESCE))));
12671267
feature_set_or(ld->our_features,
12681268
take(feature_set_for_feature(NULL,
1269-
OPTIONAL_FEATURE(OPT_EXPERIMENTAL_SPLICE))));
1269+
OPTIONAL_FEATURE(OPT_SPLICE))));
12701270
return NULL;
12711271
}
12721272

@@ -2058,7 +2058,7 @@ void add_config_deprecated(struct lightningd *ld,
20582058
json_add_bool(response, name0,
20592059
feature_offered(ld->our_features
20602060
->bits[INIT_FEATURE],
2061-
OPT_EXPERIMENTAL_SPLICE));
2061+
OPT_SPLICE));
20622062
} else if (opt->cb == (void *)opt_set_onion_messages) {
20632063
json_add_bool(response, name0,
20642064
feature_offered(ld->our_features

wire/peer_wire.csv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,13 +211,13 @@ subtypedata,lease_rates,channel_fee_max_base_msat,tu32,
211211
msgtype,stfu,2
212212
msgdata,stfu,channel_id,channel_id,
213213
msgdata,stfu,initiator,u8,
214-
msgtype,splice,75
214+
msgtype,splice,80
215215
msgdata,splice,channel_id,channel_id,
216216
msgdata,splice,relative_satoshis,s64,
217217
msgdata,splice,funding_feerate_perkw,u32,
218218
msgdata,splice,locktime,u32,
219219
msgdata,splice,funding_pubkey,point,
220-
msgtype,splice_ack,76
220+
msgtype,splice_ack,81
221221
msgdata,splice_ack,channel_id,channel_id,
222222
msgdata,splice_ack,relative_satoshis,s64,
223223
msgdata,splice_ack,funding_pubkey,point,

0 commit comments

Comments
 (0)