mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
Makefile: update to latest BOLT versions.
The main change which affects us is that 2016 blocks to forget a channel is a fixed number in the spec; we make this clear by renaming the (developer-only) max_funding_unconfirmed to dev_max_funding_unconfirmed and making it compile DEVELOPER only. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -140,6 +140,7 @@ static struct lightningd *new_lightningd(const tal_t *ctx)
|
||||
ld->dev_force_tmp_channel_id = NULL;
|
||||
ld->dev_no_htlc_timeout = false;
|
||||
ld->dev_no_version_checks = false;
|
||||
ld->dev_max_funding_unconfirmed = 2016;
|
||||
#endif
|
||||
|
||||
/*~ These are CCAN lists: an embedded double-linked list. It's not
|
||||
@@ -226,7 +227,6 @@ static struct lightningd *new_lightningd(const tal_t *ctx)
|
||||
ld->use_proxy_always = false;
|
||||
ld->pure_tor_setup = false;
|
||||
ld->tor_service_password = NULL;
|
||||
ld->max_funding_unconfirmed = 2016;
|
||||
|
||||
/*~ This is initialized later, but the plugin loop examines this,
|
||||
* so set it to NULL explicitly now. */
|
||||
|
||||
Reference in New Issue
Block a user