developer: add --dev-force-channel-secrets.

We don't have this on a per-channel basis (yet), but it's sufficient for testing
now.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2019-07-17 07:15:14 +09:30
committed by neil saitug
parent 5879f6b4e0
commit 1e6eabf018
9 changed files with 153 additions and 44 deletions

View File

@@ -120,6 +120,8 @@ static struct lightningd *new_lightningd(const tal_t *ctx)
ld->dev_gossip_time = 0;
ld->dev_force_privkey = NULL;
ld->dev_force_bip32_seed = NULL;
ld->dev_force_channel_secrets = NULL;
ld->dev_force_channel_secrets_shaseed = NULL;
#endif
/*~ These are CCAN lists: an embedded double-linked list. It's not