features: renumber from 102/103 to 38/39.

100+ is for experimentation, modern spec practice is to assign feature bits
sequentially as PRs get added, to avoid later renumbering.

Still respect the old bit for now.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2021-07-02 09:41:30 +09:30
parent 38fafc7d6d
commit 6336d39a95
5 changed files with 10 additions and 9 deletions

View File

@@ -23,7 +23,7 @@ def expected_peer_features(wumbo_channels=False, extra=[]):
features = [1, 5, 7, 9, 11, 13, 15, 17, 27]
if EXPERIMENTAL_FEATURES:
# OPT_ONION_MESSAGES
features += [103]
features += [39]
# option_anchor_outputs
features += [21]
if wumbo_channels:
@@ -43,7 +43,7 @@ def expected_node_features(wumbo_channels=False, extra=[]):
features = [1, 5, 7, 9, 11, 13, 15, 17, 27, 55]
if EXPERIMENTAL_FEATURES:
# OPT_ONION_MESSAGES
features += [103]
features += [39]
# option_anchor_outputs
features += [21]
if wumbo_channels: