EXPERIMENTAL_FEATURES: enable option_anchor_outputs.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2020-08-14 11:00:42 +09:30
parent 591e8f9663
commit cbd0be5c0e
6 changed files with 62 additions and 9 deletions

View File

@@ -23,6 +23,8 @@ def expected_peer_features(wumbo_channels=False, extra=[]):
if EXPERIMENTAL_FEATURES:
# OPT_ONION_MESSAGES
features += [103]
# option_anchor_outputs
features += [21]
if wumbo_channels:
features += [19]
return hex_bits(features + extra)
@@ -36,6 +38,8 @@ def expected_node_features(wumbo_channels=False, extra=[]):
if EXPERIMENTAL_FEATURES:
# OPT_ONION_MESSAGES
features += [103]
# option_anchor_outputs
features += [21]
if wumbo_channels:
features += [19]
return hex_bits(features + extra)
@@ -105,7 +109,7 @@ def first_channel_id(n1, n2):
def basic_fee(feerate):
if False: # FIXME-anchor
if EXPERIMENTAL_FEATURES:
# option_anchor_outputs
weight = 1124
else: