mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
splicing: Remove dependency on experimental_dual_fund
Splicing should work automatically on v1 or v2 channels so this requirement isn’t needed. Changelog-None [ Squashed fixup into a single commit --RR ]
This commit is contained in:
1
.github/workflows/ci.yaml
vendored
1
.github/workflows/ci.yaml
vendored
@@ -270,7 +270,6 @@ jobs:
|
|||||||
COMPILER: gcc
|
COMPILER: gcc
|
||||||
TEST_NETWORK: regtest
|
TEST_NETWORK: regtest
|
||||||
DEVELOPER: 1
|
DEVELOPER: 1
|
||||||
EXPERIMENTAL_DUAL_FUND: 1
|
|
||||||
EXPERIMENTAL_SPLICING: 1
|
EXPERIMENTAL_SPLICING: 1
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|||||||
@@ -1197,8 +1197,6 @@ static char *opt_set_splicing(struct lightningd *ld)
|
|||||||
feature_set_or(ld->our_features,
|
feature_set_or(ld->our_features,
|
||||||
take(feature_set_for_feature(NULL,
|
take(feature_set_for_feature(NULL,
|
||||||
OPTIONAL_FEATURE(OPT_SPLICE))));
|
OPTIONAL_FEATURE(OPT_SPLICE))));
|
||||||
/* Splicing requires dual-fund to be enabled */
|
|
||||||
opt_set_dual_fund(ld);
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -43,7 +43,6 @@ def expected_peer_features(wumbo_channels=False, extra=[]):
|
|||||||
# option_dual_fund
|
# option_dual_fund
|
||||||
features += [29]
|
features += [29]
|
||||||
if EXPERIMENTAL_SPLICING:
|
if EXPERIMENTAL_SPLICING:
|
||||||
features += [29] # option_dual_fund
|
|
||||||
features += [35] # option_quiesce
|
features += [35] # option_quiesce
|
||||||
features += [63] # option_splice
|
features += [63] # option_splice
|
||||||
return hex_bits(features + extra)
|
return hex_bits(features + extra)
|
||||||
@@ -60,7 +59,6 @@ def expected_node_features(wumbo_channels=False, extra=[]):
|
|||||||
# option_dual_fund
|
# option_dual_fund
|
||||||
features += [29]
|
features += [29]
|
||||||
if EXPERIMENTAL_SPLICING:
|
if EXPERIMENTAL_SPLICING:
|
||||||
features += [29] # option_dual_fund
|
|
||||||
features += [35] # option_quiesce
|
features += [35] # option_quiesce
|
||||||
features += [63] # option_splice
|
features += [63] # option_splice
|
||||||
return hex_bits(features + extra)
|
return hex_bits(features + extra)
|
||||||
|
|||||||
Reference in New Issue
Block a user