mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-28 18:24:20 +01:00
build: remove --enable-experimental-features / EXPERIMENTAL_FEATURES
Changelog-EXPERIMENTAL: Build: all experimental features are now runtime-enabled; no more ./configure --enable-experimental-features Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -862,10 +862,6 @@ static struct feature_set *default_features(const tal_t *ctx)
|
||||
OPTIONAL_FEATURE(OPT_ZEROCONF),
|
||||
OPTIONAL_FEATURE(OPT_CHANNEL_TYPE),
|
||||
OPTIONAL_FEATURE(OPT_ROUTE_BLINDING),
|
||||
#if EXPERIMENTAL_FEATURES
|
||||
OPTIONAL_FEATURE(OPT_ANCHOR_OUTPUTS),
|
||||
OPTIONAL_FEATURE(OPT_ONION_MESSAGES),
|
||||
#endif
|
||||
};
|
||||
|
||||
for (size_t i = 0; i < ARRAY_SIZE(features); i++) {
|
||||
|
||||
@@ -864,7 +864,7 @@ static const struct config testnet_config = {
|
||||
/* 1 minute should be enough for anyone! */
|
||||
.connection_timeout_secs = 60,
|
||||
|
||||
.exp_offers = IFEXPERIMENTAL(true, false),
|
||||
.exp_offers = false,
|
||||
|
||||
.allowdustreserve = false,
|
||||
|
||||
@@ -938,7 +938,7 @@ static const struct config mainnet_config = {
|
||||
/* 1 minute should be enough for anyone! */
|
||||
.connection_timeout_secs = 60,
|
||||
|
||||
.exp_offers = IFEXPERIMENTAL(true, false),
|
||||
.exp_offers = false,
|
||||
|
||||
.allowdustreserve = false,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user