splice: Move splice to experimental feature bit

This was recommended by @t-bast: if the final spec commits to something
compatible, we can simply advertize and accept both features, but if it
does change in incompatible ways we won't cause problems for nodes
who implement the official spec.

(I split this, so first, we remove the OPT_SPLICE entirely, to make
sure we caught them all. --RR)

Suggested-by: @t-bast
Changelog-None
This commit is contained in:
Dusty Daemon
2023-08-10 09:50:29 +09:30
committed by Rusty Russell
parent 5f8b77480c
commit c50e93d9fb
7 changed files with 48 additions and 8 deletions

View File

@@ -44,7 +44,7 @@ def expected_peer_features(wumbo_channels=False, extra=[]):
features += [29]
if EXPERIMENTAL_SPLICING:
features += [35] # option_quiesce
features += [63] # option_splice
features += [163] # option_experimental_splice
return hex_bits(features + extra)
@@ -60,7 +60,7 @@ def expected_node_features(wumbo_channels=False, extra=[]):
features += [29]
if EXPERIMENTAL_SPLICING:
features += [35] # option_quiesce
features += [63] # option_splice
features += [163] # option_experimental_splice
return hex_bits(features + extra)