mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-03 10:46:58 +01:00
common/features: add option_support_large_channel.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
ca512e3cb2
commit
79f2d2bd25
2 changed files with 6 additions and 0 deletions
|
@ -52,6 +52,10 @@ static const struct feature_style feature_styles[] = {
|
||||||
.copy_style = { [INIT_FEATURE] = FEATURE_REPRESENT,
|
.copy_style = { [INIT_FEATURE] = FEATURE_REPRESENT,
|
||||||
[NODE_ANNOUNCE_FEATURE] = FEATURE_REPRESENT,
|
[NODE_ANNOUNCE_FEATURE] = FEATURE_REPRESENT,
|
||||||
[BOLT11_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)
|
static enum feature_copy_style feature_copy_style(u32 f, enum feature_place p)
|
||||||
|
|
|
@ -92,8 +92,10 @@ u8 *featurebits_or(const tal_t *ctx, const u8 *f1 TAKES, const u8 *f2 TAKES);
|
||||||
*
|
*
|
||||||
* | 14/15 | `payment_secret` |... IN9 ...
|
* | 14/15 | `payment_secret` |... IN9 ...
|
||||||
* | 16/17 | `basic_mpp` |... IN9 ...
|
* | 16/17 | `basic_mpp` |... IN9 ...
|
||||||
|
* | 18/19 | `option_support_large_channel` |... INC+ ...
|
||||||
*/
|
*/
|
||||||
#define OPT_PAYMENT_SECRET 14
|
#define OPT_PAYMENT_SECRET 14
|
||||||
#define OPT_BASIC_MPP 16
|
#define OPT_BASIC_MPP 16
|
||||||
|
#define OPT_LARGE_CHANNELS 18
|
||||||
|
|
||||||
#endif /* LIGHTNING_COMMON_FEATURES_H */
|
#endif /* LIGHTNING_COMMON_FEATURES_H */
|
||||||
|
|
Loading…
Add table
Reference in a new issue