diff --git a/common/features.c b/common/features.c index 8a24fb6d4..58a101904 100644 --- a/common/features.c +++ b/common/features.c @@ -52,6 +52,10 @@ static const struct feature_style feature_styles[] = { .copy_style = { [INIT_FEATURE] = FEATURE_REPRESENT, [NODE_ANNOUNCE_FEATURE] = FEATURE_REPRESENT, [BOLT11_FEATURE] = FEATURE_REPRESENT } }, + { OPT_LARGE_CHANNELS, + .copy_style = { [INIT_FEATURE] = FEATURE_REPRESENT, + [NODE_ANNOUNCE_FEATURE] = FEATURE_REPRESENT, + [CHANNEL_FEATURE] = FEATURE_REPRESENT_AS_OPTIONAL } }, }; static enum feature_copy_style feature_copy_style(u32 f, enum feature_place p) diff --git a/common/features.h b/common/features.h index cfdcdfb2c..40b681f5d 100644 --- a/common/features.h +++ b/common/features.h @@ -92,8 +92,10 @@ u8 *featurebits_or(const tal_t *ctx, const u8 *f1 TAKES, const u8 *f2 TAKES); * * | 14/15 | `payment_secret` |... IN9 ... * | 16/17 | `basic_mpp` |... IN9 ... + * | 18/19 | `option_support_large_channel` |... INC+ ... */ #define OPT_PAYMENT_SECRET 14 #define OPT_BASIC_MPP 16 +#define OPT_LARGE_CHANNELS 18 #endif /* LIGHTNING_COMMON_FEATURES_H */