mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-23 15:04:19 +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:
@@ -714,10 +714,8 @@ char *process_interactivetx_updates(const tal_t *ctx,
|
||||
case WIRE_PING:
|
||||
case WIRE_PONG:
|
||||
case WIRE_STFU:
|
||||
#if EXPERIMENTAL_FEATURES
|
||||
case WIRE_SPLICE:
|
||||
case WIRE_SPLICE_ACK:
|
||||
#endif
|
||||
return tal_fmt(ctx, "Unexpected wire message %s",
|
||||
tal_hex(ctx, msg));
|
||||
}
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
COMMON_TEST_SRC := $(wildcard common/test/run-*.c)
|
||||
|
||||
ifeq ($(EXPERIMENTAL_FEATURES),1)
|
||||
COMMON_TEST_SRC += $(wildcard common/test/exp-run-*.c)
|
||||
endif
|
||||
|
||||
COMMON_TEST_OBJS := $(COMMON_TEST_SRC:.c=.o)
|
||||
COMMON_TEST_PROGRAMS := $(COMMON_TEST_OBJS:.o=)
|
||||
|
||||
|
||||
@@ -153,13 +153,6 @@ STRUCTEQ_DEF(ripemd160, 0, u);
|
||||
#define IFDEV(dev, nondev) (nondev)
|
||||
#endif
|
||||
|
||||
#if EXPERIMENTAL_FEATURES
|
||||
/* Make sure that nondev is evaluated, and valid, but is a constant */
|
||||
#define IFEXPERIMENTAL(exp, nonexp) (0 ? (nonexp) : (exp))
|
||||
#else
|
||||
#define IFEXPERIMENTAL(exp, nonexp) (nonexp)
|
||||
#endif
|
||||
|
||||
/* Context which all wally allocations use (see common/setup.c) */
|
||||
extern const tal_t *wally_tal_ctx;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user