channeld: use explicit --experimental-upgrade flag, not #ifdef EXPERIMENTAL_FEATURES

And no longer insist on opt_quiesce.

Changelog-EXPERIMENTAL: Config: `--experimental-upgrade-protocol` enables simple channel upgrades.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2023-05-22 10:21:44 +09:30
parent 6c23349c72
commit ccf084156d
13 changed files with 115 additions and 177 deletions

View File

@@ -360,6 +360,9 @@ struct lightningd {
/* EXPERIMENTAL: websocket port if non-zero */
u16 websocket_port;
/* --experimental-upgrade-protocol */
bool experimental_upgrade_protocol;
};
/* Turning this on allows a tal allocation to return NULL, rather than aborting.