developer: add --dev-force-privkey to allow setting a specific node key.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2019-07-17 07:10:14 +09:30
committed by neil saitug
parent fb6870c139
commit 07adb7efd6
6 changed files with 48 additions and 2 deletions

View File

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