mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-18 22:54:25 +01:00
common: restore OPT_SPLICE definition for the day it's ratified.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -142,6 +142,10 @@ static const struct feature_style feature_styles[] = {
|
|||||||
{ OPT_PROVIDE_PEER_BACKUP_STORAGE,
|
{ OPT_PROVIDE_PEER_BACKUP_STORAGE,
|
||||||
.copy_style = { [INIT_FEATURE] = FEATURE_REPRESENT,
|
.copy_style = { [INIT_FEATURE] = FEATURE_REPRESENT,
|
||||||
[NODE_ANNOUNCE_FEATURE] = FEATURE_REPRESENT } },
|
[NODE_ANNOUNCE_FEATURE] = FEATURE_REPRESENT } },
|
||||||
|
{ OPT_SPLICE,
|
||||||
|
.copy_style = { [INIT_FEATURE] = FEATURE_REPRESENT,
|
||||||
|
[NODE_ANNOUNCE_FEATURE] = FEATURE_REPRESENT,
|
||||||
|
[CHANNEL_FEATURE] = FEATURE_DONT_REPRESENT} },
|
||||||
{ OPT_EXPERIMENTAL_SPLICE,
|
{ OPT_EXPERIMENTAL_SPLICE,
|
||||||
.copy_style = { [INIT_FEATURE] = FEATURE_REPRESENT,
|
.copy_style = { [INIT_FEATURE] = FEATURE_REPRESENT,
|
||||||
[NODE_ANNOUNCE_FEATURE] = FEATURE_REPRESENT,
|
[NODE_ANNOUNCE_FEATURE] = FEATURE_REPRESENT,
|
||||||
|
|||||||
@@ -140,6 +140,7 @@ struct feature_set *feature_set_dup(const tal_t *ctx,
|
|||||||
/* BOLT-splice #9:
|
/* BOLT-splice #9:
|
||||||
* | 62/63 | `option_splice` | ... IN ...
|
* | 62/63 | `option_splice` | ... IN ...
|
||||||
*/
|
*/
|
||||||
|
#define OPT_SPLICE 62
|
||||||
#define OPT_EXPERIMENTAL_SPLICE 162
|
#define OPT_EXPERIMENTAL_SPLICE 162
|
||||||
|
|
||||||
/* BOLT-f53ca2301232db780843e894f55d95d512f297f9 #9:
|
/* BOLT-f53ca2301232db780843e894f55d95d512f297f9 #9:
|
||||||
|
|||||||
Reference in New Issue
Block a user