mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 07:34:24 +01:00
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:
committed by
Rusty Russell
parent
5f8b77480c
commit
c50e93d9fb
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user